Template:Card icon: Difference between revisions
From Tears of Themis Wiki
imported>Harmonea m (+padding) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
-->{{#if:{{{text|}}}|<!-- | -->{{#if:{{{text|}}}|<!-- | ||
-->{{#if:{{{inline|}}}||<br/>}}<!-- | -->{{#if:{{{inline|}}}||<br/>}}<!-- | ||
-->{{#if:{{{attribute|}}}|{{Attribute icon|type={{{attribute|}}}|size={{{attributesize|24px}}}}} }}<!-- | -->{{#if:{{{attribute|}}}|{{Attribute icon|type={{{attribute|}}}|size={{{attributesize|24px}}}}} }}<!-- | ||
-->{{#switch:{{{text|}}}<!-- | -->{{#switch:{{{text|}}}<!-- | ||
-->|1=[[{{{1|{{{name|}}}}}}]]<!-- | -->|1=[[{{{1|{{{name|}}}}}}]]<!-- | ||
Line 14: | Line 14: | ||
-->| [[{{{1|{{{name|}}}}}}|{{{text|}}}]] }} <!-- | -->| [[{{{1|{{{name|}}}}}}|{{{text|}}}]] }} <!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | |||
-->{{#if:{{{ml|}}}|<!-- | |||
-->{{#if:{{{inline|}}}||<br/>}}<!-- | |||
-->{{#if:{{{attribute|}}}|{{Attribute icon|type={{{attribute|}}}|size={{{attributesize|24px}}}}} }}<!-- | |||
-->{{#if:{{{nolink|}}}<!-- | |||
-->| <!-- | |||
-->| [[{{{1|{{{name|}}}}}}|{{{ml|}}} {{{rarity|}}}<br/>"{{{cardName|}}}"]] }} <!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{inline|}}}|</div>}}</div></includeonly> | -->{{#if:{{{inline|}}}|</div>}}</div></includeonly> |
Latest revision as of 08:00, 28 September 2023
Description[edit source]
Template for easily making a card icon.
Usage[edit source]
{{Card icon|}}
Example[edit source]
{{Card icon|Artem "Sparks"}}
Customizing Size[edit source]
{{Card icon|Artem "Sparks"|size=200px}}
Adding optional text/attribute[edit source]
{{Card icon|Artem "Sparks"|text=Artem "Sparks"|attribute=Intuition}}
Optional inline display[edit source]
{{Card icon|Artem "Sparks"|text=Artem<br/>"Sparks"|attribute=Intuition|inline=true}}
The above documentation is transcluded from Template:Card icon/doc. (edit | history)