Difference between revisions of "Template:CostumeGear"

From HeRO Wiki
Jump to: navigation, search
(copyright now hidden if there's no input)
m (Changed px measurements to % for better view on smaller screen devices (mobile). Fixed heading colour parameter.)
Line 1: Line 1:
{| class=table1 width=915px style="margin-right: auto; margin-left: 40px;" style=color={{{1|}}}
+
{| class=table1 width=70% style="margin-right: auto; margin-left: 2.5%;" style="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=75px rowspan=1 | ID: #{{{id| }}}  
+
| width=9% rowspan=1 | ID: #{{{id| }}}  
| width=100px rowspan=1 | Location:<br><small>{{{type| }}}</small>
+
| width=10% rowspan=1 | Location:<br><small>{{{type| }}}</small>
| width=75px align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px]]  
+
| width=9% align='center' rowspan=1 | [[Image:{{{sprite|No Image.png}}}|30px]]  
| width=665px 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=250px colspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|250px]]
+
| width=28% colspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|250px]]
 
|}
 
|}
  

Revision as of 15:44, 2 October 2019

Item name
ID: # Location:
No Image.png [description]
No Image.png

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.