Difference between revisions of "Template:CostumeGear"

From HeRO Wiki
Jump to: navigation, search
m (Remove resize on portrait image.)
m (Removed extra white space from the template.)
 
(10 intermediate revisions by 3 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=915px style=color={{{1|}}}
+
! height=25px colspan=9 style="text-align:center;" |'''{{{name|Costume name}}}'''
! height=18px colspan=9 |'''{{{name| }}}'''
+
 
|-
 
|-
| width=75px rowspan=1 | ID: #{{{id| }}}  
+
| width=9% 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=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|{{{name}}}]]  
| width=665px colspan=7 rowspan=2 | {{{description|[description]}}}<br><br><small>''Copyrights: {{{copyright| }}}''</small>
+
| width=72% colspan=6 rowspan=2 | {{{description|?}}}
 
|-
 
|-
| width=250px colspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}]]
+
| width=28% colspan=3 align='center' | [[Image:{{{portrait|No Image.png}}}|frameless|250px|{{{name}}}]]
|}
+
|}<noinclude>[[category:Template]]
 
+
</center><noinclude>[[category:Template]]
+
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 18: Line 15:
 
|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]
 
|type=
 
|type=

Latest revision as of 23:44, 23 November 2022

Costume name
Id #: Location:
?
{{{name}}}  ?
{{{name}}}

Usage

{{Template:CostumeGear
|name=
|id=itemID
|sprite= The item sprite [file name only]
|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.