Template:TableturfDeck: Difference between revisions

From Inkipedia, the Splatoon wiki
(Added usage example.)
(Made the "name" parameter optional.)
Line 3: Line 3:
Displays a 15-card [[Tableturf Battle]] deck in a 3x5 table.
Displays a 15-card [[Tableturf Battle]] deck in a 3x5 table.


The '''name''' parameter is shown in the header row.
The optional '''name''' parameter is shown in the header row.


Parameters 1–15 are the names of the cards in the deck.
Parameters 1–15 are the names of the cards in the deck.
Line 48: Line 48:


</noinclude><includeonly>{| class="wikitable sitecolor-s3" style="text-align:center"
</noinclude><includeonly>{| class="wikitable sitecolor-s3" style="text-align:center"
! colspan="3" |{{{name|No name}}}
|- {{#if: {{{name|}}} | | style="display:none;"}}
! colspan="3" |{{{name|}}}
|-
|-
| style="width: 33%;" |{{TableturfCardShape|{{{1|}}}}}{{{1|}}}
| style="width: 33%;" |{{TableturfCardShape|{{{1|}}}}}{{{1|}}}

Revision as of 17:41, 14 September 2022


Displays a 15-card Tableturf Battle deck in a 3x5 table.

The optional name parameter is shown in the header row.

Parameters 1–15 are the names of the cards in the deck.

Usage Example

{{User:Gomtuu/Sandbox/Template:TableturfDeck|name=Starter Deck |Splattershot |Blaster |Splat Roller |Splat Charger |Heavy Splatling |Slosher |Splat Dualies |Tri-Stringer |Splatana Wiper |Splat Bomb |Zapfish |Flooder |Chum |SquidForce |Marigold }}

produces:

User:Gomtuu/Sandbox/Template:TableturfDeck