Template:TableturfCardShape: Difference between revisions
From Inkipedia, the Splatoon wiki
(Are default sizes necessary here?) |
(Added documentation.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: "{{{1|}}}" | <noinclude>Contains the shape of every [[Tableturf Battle]] card and lets you refer to a shape by the name of the card. | ||
* The first parameter is the name of the card. | |||
* You can optionally specify the '''size''' (in pixels) of the squares in the grid. | |||
=== Usage Example === | |||
<div style="white-space: pre; font-family: monospace;"><nowiki>{{User:Gomtuu/Sandbox/Template:TableturfCardShape|Tri-Stringer|size=8}}</nowiki></div> | |||
produces: | |||
{{User:Gomtuu/Sandbox/Template:TableturfCardShape|Tri-Stringer|size=8}} | |||
</noinclude><includeonly>{{#switch: "{{{1|}}}" | |||
|"Hero Shot" = {{TableturfShape|{{{size}}}| | |"Hero Shot" = {{TableturfShape|{{{size}}}| | ||
|0|0|0|0|0|0|0|0 | |0|0|0|0|0|0|0|0 |
Revision as of 16:56, 13 September 2022
Contains the shape of every Tableturf Battle card and lets you refer to a shape by the name of the card.
- The first parameter is the name of the card.
- You can optionally specify the size (in pixels) of the squares in the grid.
Usage Example
{{User:Gomtuu/Sandbox/Template:TableturfCardShape|Tri-Stringer|size=8}}
produces: