Difference between revisions of "Template:Card"

From HeRO Wiki
Jump to: navigation, search
m (Make it a plain link)
 
(52 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>*'''{{{cardname}}}'''
+
{| class=table1 style="width:70%; margin-right: auto; margin-left: 2.5%;"
<center>
+
! style="padding: 10px; text-align:center;" colspan=7 |'''{{{name|Card name}}}'''
{| align="center" border="2" cellpadding="4" cellspacing="0" width="600" style="margin: 1em 1em 1em 0; background: #0000000; border: 2px #a;"
+
|-
| Width=51 | Item #: {{{id}}} || Width=24 | {{{sprite}}}|| width = 700 colspan=7|
+
| style="width:22%; text-align: center; vertical-align: center; padding: 5px;" rowspan="2" | [[Image:{{{image|Placeholder Card.png}}}|frameless|center|200px]]
Art by: {{{artist}}}
+
| style="width:8%; padding: 5px; height:25px;" | '''Id #'''
|-
+
| 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>
| Width=75 colspan=2 rowspan=7 |
+
| style="width:12%; padding: 5px; height:25px;" | '''Prefix/Suffix'''
[[Image:{{{image}}}|150px]]
+
| style="width:24%; padding: 5px; height:25px;" | {{{sprite|?}}}
|-
+
| style="width:12%; padding: 5px; height:25px;" | '''Compound on'''
| Class: Card || Compound on: {{{slot}}} || Weight: {{{weight}}}
+
| style="width:14%; padding: 5px; height:25px;" | {{{slot|?}}}
|-
+
|-  
| colspan=7 rowspan=1 | {{{effect}}}
+
| style="padding: 10px; height:100px" colspan=6 |
|-
+
{{{effect|?}}}
 
|}
 
|}
<br></center></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>
 
</pre>
 
[[category:template]]</noinclude>
 
[[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=
}}