Template:Sigil: Difference between revisions
Named parameters (color, shape) but defaults to unnamed |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:{{{color|{{{1}}}}}}-{{{shape|{{{2}}}}}}-tetromino.png|{{#switch:{{{shape|{{{2}}}}}}|L=9|J=9|O=9|S=15|Z=15|T=14|I=18|10}}px|link={{{link|}}}]] | [[File:{{{color|{{{1}}}}}}-{{{shape|{{{2}}}}}}-tetromino.png|{{#switch:{{{shape|{{{2}}}}}}|L=9|J=9|O=9|S=15|Z=15|T=14|I=18|10}}px|link={{{link|}}}]] | ||
<noinclude>== Usage == | <noinclude>== Usage == | ||
This produces a small | This produces a small tetromino icon. The possible colors are Red, Green, Yellow, and Gray. The possible "shapes" are <code>L</code>, <code>J</code>, <code>O</code>, <code>S</code>, <code>Z</code>, <code>T</code>, and <code>I</code>. A link can optionally be included. | ||
Revision as of 07:21, 19 November 2023
[[File:{{{1}}}-{{{2}}}-tetromino.png|10px|link=]]
Usage
This produces a small tetromino icon. The possible colors are Red, Green, Yellow, and Gray. The possible "shapes" are L
, J
, O
, S
, Z
, T
, and I
. A link can optionally be included.
Example: {{Sigil|color=Green|shape=L}}
or {{Sigil|Green|L}}
produces
.
Example: {{Sigil|Red|Z}}
produces
.
Example with link: {{Sigil|Red|Z|link=Ascension Awaits}}
produces
.