Difference between revisions of "Template:CustomGear"

From HeRO Wiki
Jump to: navigation, search
(Made table a bit neater and borders less 'flexible'.)
m
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>
+
{| class=table1 width=70% style="margin-right: auto; margin-left: 2.5%; color:{{{1|}}};"
{| class=table1 width=800 style=color={{{1|}}}
+
! height=25px colspan=9 style="text-align:center;" |'''{{{name|Gear name}}}'''
! height=18px colspan=9 |'''{{{name| }}}'''
+
 
|-
 
|-
| Width=125 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=125 align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}]]  
+
| width=14% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px|{{{name|?}}}]]  
| width=650 colspan=7 rowspan=1 | {{{description|None.}}}<br>''Copyrights: {{{copyright|?}}}''
+
| width=72% colspan=7 rowspan=1 | {{{description|?}}}
 
|-
 
|-
| Width=250 colspan=2 rowspan=2 align='center' | [[Image:{{{portrait|No Image.png}}}]]
+
| width=28% colspan=2 rowspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|center|250px|{{{name}}}]]
| Width=91.6 height=80 colspan=1 rowspan=1 | Def: {{{def| }}}
+
| width=9% height=10px align='center' | '''Def'''
| Width=91.6 height=80 colspan=1 rowspan=1 | MDef: {{{mdef| }}}
+
| width=9% height=10px align='center' | '''MDef'''
| Width=91.6 height=80 colspan=1 rowspan=1 | Weight: {{{weight| }}}
+
| width=9% height=10px align='center' | '''Weight'''
| Width=91.6 height=80 colspan=1 rowspan=1 | Refinable: {{{refinable| }}}
+
| width=9% height=10px align='center' | '''Refinable'''
| Width=91.6 height=80 colspan=1 rowspan=1 | Usable Jobs: {{{usablejobs| }}}
+
| width=9% height=10px align='center' | '''Level'''
| Width=91.6 height=80 colspan=1 rowspan=1 | Type: {{{type| }}}
+
| width=13.5% height=10px align='center' | '''Type'''
| Width=91.6 height=80 colspan=1 rowspan=1 | Required Level: {{{reqlvl| }}}
+
| width=13.5% height=10px align='center' | '''Usable Jobs'''
 
|-
 
|-
| colspan=7 width=650|  
+
| width=9% height=25px align='center' | {{{def|?}}}
 +
| width=9% height=25px align='center' | {{{mdef|?}}}
 +
| width=9% height=25px align='center' | {{{weight|?}}}
 +
| width=9% height=25px align='center' | {{{refinable|?}}}
 +
| width=9% height=25px align='center' | {{{reqlvl|?}}}
 +
| width=13.5% height=25px align='center' | {{{type|?}}}
 +
| width=13.5% height=25px align='center' | {{{usablejobs|?}}}
 +
|-
 +
| colspan=7 width=72%|
 
{{{effect|None.}}}
 
{{{effect|None.}}}
 
|}
 
|}
 
+
<noinclude>[[category:Template]]
</center><noinclude>[[category:Template]]
+
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{Template:CustomGear
+
{{CustomGear
 
|name=
 
|name=
|id= the item ID
+
|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 04: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.