Difference between revisions of "Template:CustomGear"

From HeRO Wiki
Jump to: navigation, search
(copyright now hidden if there is no input)
m (Changed px measurements to % for better view on smaller screen devices (mobile). Rearranged cells. Fixed heading colour parameter.)
Line 1: Line 1:
<!--{|
+
{| class=table1 width=70% style="margin-right: auto; margin-left: 40px; color:{{{1|}}};"
|style="vertical-align:top;"|-->
+
{| class=table1 width=915px style="margin-right: auto; margin-left: 40px;" style=color={{{1|}}}
+
 
! height=25px colspan=9 style="text-align:center;" |'''{{{name|Item name}}}'''
 
! height=25px colspan=9 style="text-align:center;" |'''{{{name|Item name}}}'''
 
|-
 
|-
| width=125px rowspan=1 | ID: #{{{id| }}}  
+
| width=14% rowspan=1 | ID: #{{{id| }}}  
| width=125px align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px]]  
+
| width=14% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px]]  
| width=665px colspan=7 rowspan=1  | {{{description|None.}}}<br>{{t|1=<small>''Copyrights: {{{copyright|}}}''</small>|1{{{copyright|}}}=}}
+
| width=72% colspan=7 rowspan=1  | {{{description|None.}}}<br>{{t|1=<small>''Copyrights: {{{copyright|}}}''</small>|1{{{copyright|}}}=}}
 
|-
 
|-
| width=250px colspan=2 rowspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|250px]]
+
| width=28% colspan=2 rowspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|250px]]
| width=95px height=10px align='center' | '''Def'''
+
| width=9% height=10px align='center' | '''Def'''
| width=95px height=10px align='center' | '''MDef'''
+
| width=9% height=10px align='center' | '''MDef'''
| width=95px height=10px align='center' | '''Weight'''
+
| width=9% height=10px align='center' | '''Weight'''
| width=95px height=10px align='center' | '''Refinable'''
+
| width=9% height=10px align='center' | '''Refinable'''
| width=95px height=10px align='center' | '''Usable Jobs'''
+
| width=9% height=10px align='center' | '''Level'''
| width=95px height=10px align='center' | '''Type'''
+
| width=13.5% height=10px align='center' | '''Type'''
| width=95px height=10px align='center' | '''Level'''
+
| width=13.5% height=10px align='center' | '''Usable Jobs'''
 
|-
 
|-
| width=95px height=25px align='center' | {{{def| }}}  
+
| width=9% height=25px align='center' | {{{def| }}}  
| width=95px height=25px align='center' | {{{mdef| }}}
+
| width=9% height=25px align='center' | {{{mdef| }}}
| width=95px height=25px align='center' | {{{weight| }}}
+
| width=9% height=25px align='center' | {{{weight| }}}
| width=95px height=25px align='center' | {{{refinable| }}}
+
| width=9% height=25px align='center' | {{{refinable| }}}
| width=95px height=25px align='center' | {{{usablejobs| }}}  
+
| width=9% height=25px align='center' | {{{reqlvl| }}}
| width=95px height=25px align='center' | {{{type| }}}  
+
| width=13.5% height=25px align='center' | {{{type| }}}  
| width=95px height=25px align='center' | {{{reqlvl| }}}
+
| width=13.5% height=25px align='center' | {{{usablejobs| }}}  
 
|-
 
|-
| colspan=7 width=665|
+
| colspan=7 width=72%|
 
{{{effect|None.}}}
 
{{{effect|None.}}}
 
|}
 
|}
<!--|
 
| width=300px style="vertical-align:top; padding:10px;"|
 
{{{notes| }}}
 
|}-->
 
  
 
<noinclude>[[category:Template]]
 
<noinclude>[[category:Template]]
Line 51: Line 45:
 
|description=  
 
|description=  
 
|effect=
 
|effect=
|notes=
 
 
}}
 
}}
 
You may also change the color of the heading with <nowiki>{{CustomGear|''color''</nowiki> to match colored names better.
 
You may also change the color of the heading with <nowiki>{{CustomGear|''color''</nowiki> to match colored names better.
 
</pre></noinclude>
 
</pre></noinclude>

Revision as of 15:55, 2 October 2019

Item name
ID: # No Image.png None.
No Image.png Def MDef Weight Refinable Level Type Usable Jobs

None.

Usage

{{Template:CustomGear
|name=
|id=itemID
|sprite= The item sprite [file name only]
|copyright=
|portrait= Item portrait [file name only]
|def=
|mdef=
|weight=
|refinable=
|type=
|usablejobs=
|reqlvl=
|description= 
|effect=
}}
You may also change the color of the heading with {{CustomGear|''color'' to match colored names better.