Difference between revisions of "Template:CustomGear"

From HeRO Wiki
Jump to: navigation, search
m (Fix to table title no longer being center aligned)
m
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!--{|
+
{| class=table1 width=70% style="margin-right: auto; margin-left: 2.5%; color:{{{1|}}};"
|style="vertical-align:top;"|-->
+
! height=25px colspan=9 style="text-align:center;" |'''{{{name|Gear name}}}'''
{| 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}}}'''
+
 
|-
 
|-
| width=125px rowspan=1 | ID: #{{{id| }}}  
+
| width=14% style="padding:10px;" rowspan=1 | '''Id #:''' <includeonly>{{Template:Ifwp|1={{{id}}}|2=<span class="plainlinks">[https://hero-server-db.herokuapp.com/item-search?id={{{id}}} {{{id}}}]</span>|3=?}}</includeonly>
| width=125px align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px]]  
+
| width=14% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px|{{{name|?}}}]]  
| width=665px colspan=7 rowspan=1  | {{{description|None.}}}<br><small>''Copyrights: {{{copyright| }}}''</small>
+
| width=72% colspan=7 rowspan=1  | {{{description|?}}}
 
|-
 
|-
| 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|center|250px|{{{name}}}]]
| 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]]
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{Template:CustomGear
+
{{CustomGear
 
|name=
 
|name=
 
|id=itemID
 
|id=itemID
 
|sprite= The item sprite [file name only]
 
|sprite= The item sprite [file name only]
|copyright=
 
 
|portrait= Item portrait [file name only]
 
|portrait= Item portrait [file name only]
 
|def=
 
|def=
Line 51: Line 43:
 
|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>

Latest revision as of 03:18, 12 November 2022

Gear name
Id #: ?  ?
{{{name}}}
Def MDef Weight Refinable Level Type Usable Jobs
 ?  ?  ?  ?  ?  ?  ?

None.

Usage

{{CustomGear
|name=
|id=itemID
|sprite= The item sprite [file name only]
|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.