Welcome to our new Skyland! Article rewrites are welcome. If you see any missing images, please feel free to add them. Please use the Aboutfile template when uploading and add categories.
We are also aware of some articles being unavailable. Please bear with us while we are working to get them fixed.

Template:Cardbox: Difference between revisions

From Skylanders Wiki
mNo edit summary
Tag: sourceedit
No edit summary
Tag: visualeditor-wikitext
 
Line 1: Line 1:
{{{!}}cellspacing="0" border="0" style="margin:auto;"
{{{!}}cellspacing="0" border="0" style="margin:auto;"
{{!}}-
{{!}}-
{{!}}style="height: 47px; width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{cardname|cardname}}}'''
{{!}}style="height: 47px; width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{cardname|cardname}}}'''
{{#ifexpr: {{{cardcount|}}}+0 > 1 |
{{#ifexpr: {{{cardcount|}}}+0 > 1 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card2name|card2name}}}''' |}}
{{!}}style="width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card2name|card2name}}}''' |}}
{{#ifexpr: {{{cardcount|}}}+0 > 2 |
{{#ifexpr: {{{cardcount|}}}+0 > 2 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card3name|card3name}}}'''
{{!}}style="width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card3name|card3name}}}'''
{{!}}- | {{!}}-}}
{{!}}- | {{!}}-}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{cardname|cardname}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{cardname|cardname}}}card.png|center|206px]]
'''{{{cardrarity|cardrarity}}}'''<br>
'''{{{cardrarity|cardrarity}}}'''<br>
{{{carddesc|carddesc}}}
{{{carddesc|carddesc}}}
{{#ifexpr: {{{cardcount|}}}+0 > 1 |
{{#ifexpr: {{{cardcount|}}}+0 > 1 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card2name|card2name}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card2name|card2name}}}card.png|center|206px]]
'''{{{card2rarity|card2rarity}}}'''<br>
'''{{{card2rarity|card2rarity}}}'''<br>
{{{card2desc|card2desc}}} |}}
{{{card2desc|card2desc}}} |}}
{{#ifexpr: {{{cardcount|}}}+0 > 2 |
{{#ifexpr: {{{cardcount|}}}+0 > 2 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card3name|card3name}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card3name|card3name}}}card.png|center|206px]]
'''{{{card3rarity|card3rarity}}}'''<br>
'''{{{card3rarity|card3rarity}}}'''<br>
{{{card3desc|card3desc}}}
{{{card3desc|card3desc}}}
Line 27: Line 27:
{{{!}}cellspacing="0" border="0" style="margin:auto;"
{{{!}}cellspacing="0" border="0" style="margin:auto;"
{{!}}-
{{!}}-
{{!}}style="height: 47px; width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card4name|card4name}}}'''
{{!}}style="height: 47px; width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card4name|card4name}}}'''
{{#ifexpr: {{{cardcount|}}}+0 > 4 |
{{#ifexpr: {{{cardcount|}}}+0 > 4 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card5name|card5name}}}''' |}}
{{!}}style="width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card5name|card5name}}}''' |}}
{{#ifexpr: {{{cardcount|}}}+0 > 5 |
{{#ifexpr: {{{cardcount|}}}+0 > 5 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card6name|card6name}}}'''
{{!}}style="width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card6name|card6name}}}'''
{{!}}- | {{!}}-}}
{{!}}- | {{!}}-}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card4name|card4name}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card4name|card4name}}}card.png|center|206px]]
'''{{{card4rarity|card4rarity}}}'''<br>
'''{{{card4rarity|card4rarity}}}'''<br>
{{{card4desc|card4desc}}}
{{{card4desc|card4desc}}}
{{#ifexpr: {{{cardcount|}}}+0 > 4 |
{{#ifexpr: {{{cardcount|}}}+0 > 4 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card5name|card5name}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card5name|card5name}}}card.png|center|206px]]
'''{{{card5rarity|card5rarity}}}'''<br>
'''{{{card5rarity|card5rarity}}}'''<br>
{{{card5desc|card5desc}}} |}}
{{{card5desc|card5desc}}} |}}
{{#ifexpr: {{{cardcount|}}}+0 > 5 |
{{#ifexpr: {{{cardcount|}}}+0 > 5 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card6name|card6name}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card6name|card6name}}}card.png|center|206px]]
'''{{{card6rarity|card6rarity}}}'''<br>
'''{{{card6rarity|card6rarity}}}'''<br>
{{{card6desc|card6desc}}}
{{{card6desc|card6desc}}}
Line 53: Line 53:
{{{!}}cellspacing="0" border="0" style="margin:auto;"
{{{!}}cellspacing="0" border="0" style="margin:auto;"
{{!}}-
{{!}}-
{{!}}style="height: 47px; width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card7name|card7name}}}'''
{{!}}style="height: 47px; width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card7name|card7name}}}'''
{{#ifexpr: {{{cardcount|}}}+0 > 7 |
{{#ifexpr: {{{cardcount|}}}+0 > 7 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card8name|card8name}}}''' |}}
{{!}}style="width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card8name|card8name}}}''' |}}
{{#ifexpr: {{{cardcount|}}}+0 > 8 |
{{#ifexpr: {{{cardcount|}}}+0 > 8 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #d04c8e; border-left: 1px solid #B32B61; border-top: 1px solid #B32B61; border-right: 1px solid #B32B61; text-align:center;"{{!}}'''{{{card9name|card9name}}}'''
{{!}}style="width:208px; color:black; background: #d04c8e; text-align:center;"{{!}}'''{{{card9name|card9name}}}'''
{{!}}- | {{!}}-}}
{{!}}- | {{!}}-}}
{{!}} style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card7name|card7name}}}card.png|center|206px]]
{{!}} style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card7name|card7name}}}card.png|center|206px]]
'''{{{card7rarity|card7rarity}}}'''<br>
'''{{{card7rarity|card7rarity}}}'''<br>
{{{card7desc|card7desc}}}
{{{card7desc|card7desc}}}
{{#ifexpr: {{{cardcount|}}}+0 > 7 |
{{#ifexpr: {{{cardcount|}}}+0 > 7 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card8name|card8name}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card8name|card8name}}}card.png|center|206px]]
'''{{{card8rarity|card8rarity}}}'''<br>
'''{{{card8rarity|card8rarity}}}'''<br>
{{{card8desc|card8desc}}} |}}
{{{card8desc|card8desc}}} |}}
{{#ifexpr: {{{cardcount|}}}+0 > 8 |
{{#ifexpr: {{{cardcount|}}}+0 > 8 |
{{!}}style="width:31px;"{{!}}
{{!}}style="width:31px;"{{!}}
{{!}}style="width:208px; background: #{{elementcolor|{{{element|}}}|}}; text-align:center; border: 1px solid #a3b0bf;" valign="top"{{!}}[[File:{{{card9name|card9name}}}card.png|center|206px]]
{{!}}style="width:208px; color:black; background: #{{elementcolor|{{{element|}}}|}}; text-align:center;" valign="top"{{!}}[[File:{{{card9name|card9name}}}card.png|center|206px]]
'''{{{card9rarity|card9rarity}}}'''<br>
'''{{{card9rarity|card9rarity}}}'''<br>
{{{card9desc|card9desc}}}
{{{card9desc|card9desc}}}

Latest revision as of 08:32, November 15, 2021

cardname
File:Cardnamecard.png

cardrarity
carddesc



This template is used to display information about a set of up to 9 Battlecast Cards. For more, use multiple templates.

{{cardbox
|cardcount=number of cards
|element=element of cards

|cardname=name of card (also determines image file name)
|cardrarity=the rarity status that the card comes in
|carddesc=description of card

|card2name=name of card (also determines image file name)
|card2rarity=the rarity status that the card comes in
|card2desc=description of card

|card3name=name of card (also determines image file name)
|card3rarity=the rarity status that the card comes in
|card3desc=description of card

|card4name=name of card (also determines image file name)
|card4rarity=the rarity status that the card comes in
|card4desc=description of card

|card5name=name of card (also determines image file name)
|card5rarity=the rarity status that the card comes in
|card5desc=description of card

|card6name=name of card (also determines image file name)
|card6rarity=the rarity status that the card comes in
|card6desc=description of card

|card7name=name of card (also determines image file name)
|card7rarity=the rarity status that the card comes in
|card7desc=description of card

|card8name=name of card (also determines image file name)
|card8rarity=the rarity status that the card comes in
|card8desc=description of card

|card9name=name of card (also determines image file name)
|card9rarity=the rarity status that the card comes in
|card9desc=description of card
}}