Difference between revisions of "Template:Card"

From HeRO Wiki
Jump to: navigation, search
m (Card image now vertically aligned center)
m (Changed px measurements to % for better view on smaller screen devices (mobile))
Line 1: Line 1:
{| class=table1 style="width:900px; margin-right: auto; margin-left: 40px;"
+
{| class=table1 style="width:70%; margin-right: auto; margin-left: 2.5%;"
 
! style="padding: 10px; text-align:center;" colspan=5 |'''{{{name|{{{name}}}}}}'''
 
! style="padding: 10px; text-align:center;" colspan=5 |'''{{{name|{{{name}}}}}}'''
 
|-  
 
|-  
| style="width:200px; text-align: center; vertical-align: center; padding: 5px;" rowspan="3" | [[Image:{{{image|Placeholder Card.png{{!}}To be added.}}}|frameless|center|200px]]
+
| style="width:22%; text-align: center; vertical-align: center; padding: 5px;" rowspan="3" | [[Image:{{{image|Placeholder Card.png{{!}}To be added.}}}|frameless|center|200px]]
| style="width:100px; padding: 5px; height:35px;" | '''''Item #'''''
+
| style="width:14%; padding: 5px; height:25px;" | '''''Item #'''''
| style="width:250px; padding: 5px; height:35px;" | {{{id}}}
+
| style="width:25%; padding: 5px; height:25px;" | {{{id}}}
| style="width:100px; padding: 5px; height:35px;" | '''''Prefix/Suffix'''''
+
| style="width:14%; padding: 5px; height:25px;" | '''''Prefix/Suffix'''''
| style="width:250px; padding: 5px; height:35px;" | {{{sprite}}}
+
| style="width:25%; padding: 5px; height:25px;" | {{{sprite}}}
 
|-  
 
|-  
| style="width:100px; padding: 5px; height:35px;" | '''''Compound on'''''
+
| style="width:14%; padding: 5px; height:25px;" | '''''Compound on'''''
| style="width:250px; padding: 5px; height:35px;" | {{{slot}}}
+
| style="width:25%; padding: 5px; height:25px;" | {{{slot}}}
| style="width:100px; padding: 5px; height:35px;" | '''''Art by'''''
+
| style="width:14%; padding: 5px; height:25px;" | '''''Art by'''''
| style="width:250px; padding: 5px; height:35px;" | {{{artist|{{{artist}}}}}}
+
| style="width:25%; padding: 5px; height:25px;" | {{{artist|{{{artist}}}}}}
 
|-  
 
|-  
 
| style="padding: 10px; height:100px" colspan=4 |
 
| style="padding: 10px; height:100px" colspan=4 |

Revision as of 15:39, 2 October 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=
}}