Template:Infobox card: Difference between revisions

From Everafter Falls Wiki

mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 8: Line 8:
|LevelCap=Integer
|LevelCap=Integer
|Effect=Wikitext
|Effect=Wikitext
|Source=Wikitext
|Printable=Boolean
|Printable=Boolean
|Museum=Boolean
|BuyPrice=Wikitext
|Shared=Boolean
}}</noinclude><includeonly><!--
}}</noinclude><includeonly><!--


Line 18: Line 22:
|Name={{{name|{{PAGENAME}}}}}
|Name={{{name|{{PAGENAME}}}}}
|Type={{{type|}}}
|Type={{{type|}}}
|Source={{#if:{{{source|}}}
|{{{source|}}} {{#if:{{{buy|}}}|({{{buy|}}})}}
|{{#if:{{{printable|}}}|Print at [[Print Shop]]}}{{#if:{{{museum|}}}|<br />[[Museum]]}}}}
|LevelCap={{{level|1}}}
|LevelCap={{{level|1}}}
|Effect={{{effect|}}}
|Effect={{{effect|}}}
|Printable={{#if:{{{printable|}}}|1|0}}
|Printable={{#if:{{{printable|}}}|1|0}}
|Museum={{#if:{{{museum|}}}|1|0}}
|BuyPrice={{{buy|0}}}
|Shared={{#if:{{{shared|}}}|1|0}}
}} }}<!--
}} }}<!--


Line 37: Line 47:
     <header>Card information</header>
     <header>Card information</header>
     <data source="type"><label>Type</label><format>{{#switch:{{lc:{{{type|}}}}}
     <data source="type"><label>Type</label><format>{{#switch:{{lc:{{{type|}}}}}
| player | character = {{i|Edible cards{{!}}Character|alt=Card (blue)}}
| player | character = {{i|Edible card{{!}}Character|alt=Card (blue)}}
| pet = {{i|Edible cards{{!}}Pet|alt=Card (red)}}
| pet = {{i|Edible card{{!}}Pet|alt=Card (red)}}
| pet = {{i|Edible cards{{!}}Unique|alt=Card (gold)}}
| unique = {{i|Edible card{{!}}Unique|alt=Card (gold)}}
}}</format></data>
}}</format></data>
     <data source="level"><label>Max eatable</label></data>
     <data source="level"><label>Max eatable</label></data>
     <data source="printable"><label>[[Print Shop|Printable]]</label><format>Yes</format></data>
     <data source="printable"><label>[[Print Shop|Printable]]</label><format>Yes {{#if:{{{type|}}}|{{#switch:{{lc:{{{type|}}}}}
| unique = (5,000{{coin}})
| (1,500{{coin}})}} }}</format></data>
    <data source="museum"><label>[[Museum]]</label><format>Yes (1 Credit)</format></data>
    <data source="source"><label>Source</label></data>
    <data source="buy"><label>Buy price</label></data>
</group>
<group>
    <header>Co-op information</header>
    <data source="shared"><label>[[Co-op|Shared]]</label><format>Yes</format><default>No</default></data>
</group>
</group>
</infobox>[[Category:Edible cards]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|card]]</noinclude>
</infobox>[[Category:Edible cards]]</includeonly><noinclude>{{documentation}}[[Category:Infobox templates|card]]</noinclude>

Latest revision as of 12:18, 26 July 2024

This template defines the table "Cards". View table.

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.