Difference between revisions of "Template:Card"

From HeRO Wiki
Jump to: navigation, search
m (Make it a plain link)
 
(55 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>*'''{{{cardname}}}'''
+
{| class=table1 style="width:70%; margin-right: auto; margin-left: 2.5%;"
{| align="center" border="2" cellpadding="4" cellspacing="0" width="600" style="margin: 1em 1em 1em 0; background: #0000000; border: 2px #a;"
+
! style="padding: 10px; text-align:center;" colspan=7 |'''{{{name|Card name}}}'''
| Width=51 | Item #: {{{itemid}}} || Width=24 | {{{sprite}}}|| width = 700 colspan=7|
+
|-
Art by: {{{artist}}}
+
| style="width:22%; text-align: center; vertical-align: center; padding: 5px;" rowspan="2" | [[Image:{{{image|Placeholder Card.png}}}|frameless|center|200px]]
|-
+
| style="width:8%; padding: 5px; height:25px;" | '''Id #'''
| Width=75 colspan=2 rowspan=7 |
+
| style="width:8%; padding: 5px; height:25px;" | <includeonly>{{Template:Ifwp|1={{{id}}}|2=<span class="plainlinks">[https://hero-server-db.herokuapp.com/item-search?id={{{id}}} {{{id}}}]</span>|3=?}}</includeonly>
[[Image:{{{cardimage}}}|150px]]
+
| style="width:12%; padding: 5px; height:25px;" | '''Prefix/Suffix'''
|-
+
| style="width:24%; padding: 5px; height:25px;" | {{{sprite|?}}}
| Class: Card || Compound on: {{{slot}}} || Weight: {{{weight}}}
+
| style="width:12%; padding: 5px; height:25px;" | '''Compound on'''
|-
+
| style="width:14%; padding: 5px; height:25px;" | {{{slot|?}}}
| colspan=7 rowspan=1 | {{{effect}}}
+
|-  
|-
+
| style="padding: 10px; height:100px" colspan=6 |
 +
{{{effect|?}}}
 
|}
 
|}
<br></includeonly><noinclude>This template is used in the [[cards]] page.
+
<noinclude>This template is used in the [[cards]] page.
  
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{card
 
{{card
|image= The filename (example:Pandaring Card.png)
+
|name=
|id= The item ID
+
|image=
|weight= The weight
+
|id=
|artist=
+
|effect=
+
|slot=
+
 
|sprite=
 
|sprite=
 +
|slot=
 +
|effect=
 
}}
 
}}
</pre></noinclude>
+
</pre>
 +
[[category:template]]</noinclude>

Latest revision as of 03:18, 12 November 2022

Card name
Placeholder Card.png
Id # Prefix/Suffix  ? Compound on  ?

?

This template is used in the cards page.

Usage

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