Difference between revisions of "Template:Card"

From HeRO Wiki
Jump to: navigation, search
m
(Non-center, downsize card images to 200px if it goes over cell size, fix hover text showing File:TBA despite card image being added.)
Line 1: Line 1:
<center>
+
{| class=table1 style="width:900px; margin-right: auto; margin-left: 40px;"
{| class=table1 style="width:700px;"
+
! style="padding: 10px; text-align:center;" colspan=5 |'''{{{name|{{{name}}}}}}'''
! style="padding: 10px" colspan=4 |'''{{{name|{{{name}}}}}}'''
+
 
|-  
 
|-  
| style="width:150px; text-align: center; vertical-align: top; padding: 5px;" rowspan="3" | [[Image:{{{image|Placeholder Card.png}}}|File:TBA]]
+
| style="width:200px; text-align: center; vertical-align: top; padding: 5px;" rowspan="3" | [[Image:{{{image|Placeholder Card.png{{!}}To be added.}}}|frameless|200px]]
| style="width:50%; padding: 5px;" | '''''Item #''''': {{{id}}}
+
| style="width:100px; padding: 5px; height:35px;" | '''''Item #'''''
| style="width:50%; padding: 5px;" | '''''Prefix/Suffix''''': {{{sprite}}}
+
| style="width:250px; padding: 5px; height:35px;" | {{{id}}}
 +
| style="width:100px; padding: 5px; height:35px;" | '''''Prefix/Suffix'''''
 +
| style="width:250px; padding: 5px; height:35px;" | {{{sprite}}}
 
|-  
 
|-  
| style="padding: 5px;" | '''''Compound on:''''' {{{slot}}}
+
| style="width:100px; padding: 5px; height:35px;" | '''''Compound on'''''
| style="padding: 5px;" | '''''Art by''''': {{{artist|{{{artist}}}}}}
+
| style="width:250px; padding: 5px; height:35px;" | {{{slot}}}
 +
| style="width:100px; padding: 5px; height:35px;" | '''''Art by'''''
 +
| style="width:250px; padding: 5px; height:35px;" | {{{artist|{{{artist}}}}}}
 
|-  
 
|-  
| style="padding: 5px;" colspan=2 | {{{effect}}}
+
| style="padding: 5px;" colspan=4 | {{{effect}}}
 
|}<br>
 
|}<br>
</center><noinclude>This template is used in the [[cards]] page.
+
<noinclude>This template is used in the [[cards]] page.
  
 
==Usage==
 
==Usage==

Revision as of 15:52, 28 September 2019

{{{name}}}
To be added. Item # {{{id}}} Prefix/Suffix {{{sprite}}}
Compound on {{{slot}}} Art by {{{artist}}}
{{{effect}}}

This template is used in the cards page.

Usage

{{card
|name=
|image=
|id=
|sprite=
|slot=
|artist=
|effect=
}}