Difference between revisions of "Template:Card"

From HeRO Wiki
Jump to: navigation, search
m
m (Make it a plain link)
 
(44 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
+
{| class=table1 style="width:70%; margin-right: auto; margin-left: 2.5%;"
<center>
+
! style="padding: 10px; text-align:center;" colspan=7 |'''{{{name|Card name}}}'''
{| class=table1 style="width:700px;"
+
|-  
! colspan=9 |'''{{{name|?}}}'''
+
| 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 #'''
| style="width:100px;" | '''''Item #''''': {{{id}}} || style="width:300px;text-align: center;" colspan="2" | '''''Prefix/Suffix''''':''{{{sprite}}}'' || style="width:300px;" colspan="2" | '''''Art by''''': {{{artist}}}
+
| 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>
|-
+
| style="width:12%; padding: 5px; height:25px;" | '''Prefix/Suffix'''
| style="width:150px;" colspan="2" rowspan="2" |
+
| style="width:24%; padding: 5px; height:25px;" | {{{sprite|?}}}
[[Image:{{{image}}}|150px]]
+
| style="width:12%; padding: 5px; height:25px;" | '''Compound on'''
| style="height:50px;" |'''''Class:''''' Card || style="height:50px;" | '''''Compound on:''''' {{{slot}}} || style="height:50px;" | '''''Weight:''''' {{{weight|1}}}
+
| style="width:14%; padding: 5px; height:25px;" | {{{slot|?}}}
|-
+
|-  
| colspan="3" | {{{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
|name =  
+
|name=
|image= The filename (example:Pandaring Card.png)
+
|image=
|id= The item ID
+
|id=
|weight= The weight
+
|artist=
+
|effect=
+
|slot=
+
 
|sprite=
 
|sprite=
 +
|slot=
 +
|effect=
 
}}
 
}}
 
</pre>
 
</pre>
 
[[category:template]]</noinclude>
 
[[category:template]]</noinclude>

Latest revision as of 04: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=
}}