Difference between revisions of "Template:CustomGear"

From HeRO Wiki
Jump to: navigation, search
(Changed table margin to 2.5% to match Template:CostumeGear)
m
 
(12 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|}}};"
 
{| class=table1 width=70% style="margin-right: auto; margin-left: 2.5%; color:{{{1|}}};"
! height=25px colspan=9 style="text-align:center;" |'''{{{name|Item name}}}'''
+
! height=25px colspan=9 style="text-align:center;" |'''{{{name|Gear name}}}'''
 
|-
 
|-
| width=14% 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=14% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px]]  
+
| width=14% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px|{{{name|?}}}]]  
| width=72% colspan=7 rowspan=1  | {{{description|None.}}}<br>{{t|1=<small>''Copyrights: {{{copyright|}}}''</small>|1{{{copyright|}}}=}}
+
| width=72% colspan=7 rowspan=1  | {{{description|?}}}
 
|-
 
|-
| width=28% 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=9% height=10px align='center' | '''Def'''
 
| width=9% height=10px align='center' | '''Def'''
 
| width=9% height=10px align='center' | '''MDef'''
 
| width=9% height=10px align='center' | '''MDef'''
Line 15: Line 15:
 
| width=13.5% height=10px align='center' | '''Usable Jobs'''
 
| width=13.5% height=10px align='center' | '''Usable Jobs'''
 
|-
 
|-
| width=9% height=25px align='center' | {{{def| }}}  
+
| width=9% height=25px align='center' | {{{def|?}}}  
| width=9% height=25px align='center' | {{{mdef| }}}
+
| width=9% height=25px align='center' | {{{mdef|?}}}
| width=9% height=25px align='center' | {{{weight| }}}
+
| width=9% height=25px align='center' | {{{weight|?}}}
| width=9% height=25px align='center' | {{{refinable| }}}
+
| width=9% height=25px align='center' | {{{refinable|?}}}
| width=9% height=25px align='center' | {{{reqlvl| }}}
+
| width=9% height=25px align='center' | {{{reqlvl|?}}}
| width=13.5% height=25px align='center' | {{{type| }}}  
+
| width=13.5% height=25px align='center' | {{{type|?}}}  
| width=13.5% height=25px align='center' | {{{usablejobs| }}}  
+
| width=13.5% height=25px align='center' | {{{usablejobs|?}}}  
 
|-
 
|-
 
| colspan=7 width=72%|
 
| colspan=7 width=72%|
 
{{{effect|None.}}}
 
{{{effect|None.}}}
 
|}
 
|}
 
 
<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=

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.