Difference between revisions of "Template:CostumeGear"

From HeRO Wiki
Jump to: navigation, search
m (Changed px measurements to % for better view on smaller screen devices (mobile). Fixed heading colour parameter.)
(Added name caption over images, fixed table margin not working.)
Line 1: Line 1:
{| class=table1 width=70% style="margin-right: auto; margin-left: 2.5%;" style="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|Item name}}}'''
 
|-
 
|-
 
| width=9% rowspan=1 | ID: #{{{id| }}}  
 
| width=9% rowspan=1 | ID: #{{{id| }}}  
 
| width=10% rowspan=1 | Location:<br><small>{{{type| }}}</small>
 
| width=10% rowspan=1 | Location:<br><small>{{{type| }}}</small>
| width=9% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px]]  
+
| width=9% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px|{{{name}}}]]  
 
| width=72% colspan=6 rowspan=2 | {{{description|[description]}}}{{t|1=<br><br><small>''Copyrights: {{{copyright|}}}''</small>|1{{{copyright|}}}=}}
 
| width=72% colspan=6 rowspan=2 | {{{description|[description]}}}{{t|1=<br><br><small>''Copyrights: {{{copyright|}}}''</small>|1{{{copyright|}}}=}}
 
|-
 
|-
| width=28% colspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|250px]]
+
| width=28% colspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|250px|{{{name}}}]]
 
|}
 
|}
  

Revision as of 23:38, 7 October 2019

Item name
ID: # Location:
{{{name}}} [description]
{{{name}}}

Usage

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