Difference between revisions of "Template:CustomGear"

From HeRO Wiki
Jump to: navigation, search
(Second test at expanded fields for rollout of better item info and relative content linking)
m
 
(7 intermediate revisions by 2 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|{{{name}}}]]  
+
| 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|{{{name}}}]]
+
| 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.}}}
|-
 
{{t
 
|1={{!}} width=28% colspan=2 align='right' style="padding-right: 5px;" | {{!}} '''Dropped by'''
 
{{!}} width=72% colspan=7 style="padding: 5px;" {{!}} {{{dropby|}}}
 
|1{{{dropby|}}}=}}
 
|-
 
{{t
 
|1={{!}} width=28% colspan=2 align='right' style="padding-right: 5px;" | {{!}} '''Acquired from'''
 
{{!}} width=72% colspan=7 style="padding: 5px;" {{!}} {{{acquire|}}}
 
|1{{{acquire|}}}=}}
 
|-
 
{{t
 
|1={{!}} width=28% colspan=2 align='right' style="padding-right: 5px;" | {{!}} '''Used with'''
 
{{!}} width=72% colspan=7 style="padding: 5px;" {{!}} {{{usewith|}}}
 
|1{{{usewith|}}}=}}
 
 
 
|}
 
|}
 
<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 60: Line 43:
 
|description=  
 
|description=  
 
|effect=
 
|effect=
|dropby=
 
|acquire=
 
|usewith=
 
 
}}
 
}}
 
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.