Template:Sigil: Difference between revisions
Appearance
Display messages for unexpected/omitted colors or shapes |
m auto-category for using this template without a shape |
||
| Line 8: | Line 8: | ||
|T=[[File:{{{color|{{{1}}}}}}-T-tetromino.png|14px|link={{{link|}}}]] | |T=[[File:{{{color|{{{1}}}}}}-T-tetromino.png|14px|link={{{link|}}}]] | ||
|I=[[File:{{{color|{{{1}}}}}}-I-tetromino.png|18px|link={{{link|}}}]] | |I=[[File:{{{color|{{{1}}}}}}-I-tetromino.png|18px|link={{{link|}}}]] | ||
|#default=''[<span style="color:{{lc:{{{color|{{{1}}}}}}}}">{{{color|{{{1}}}}}} sigil</span>]'' | |#default=''[<span style="color:{{lc:{{{color|{{{1}}}}}}}}">{{{color|{{{1}}}}}} sigil</span>]''[[Category:Pages with unspecified sigil shapes]] | ||
}} | }} | ||
|''[Sigil of unrecognized color]'' | |''[Sigil of unrecognized color]'' | ||
Latest revision as of 03:48, 17 June 2024
[Sigil of unrecognized color]
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=Yellow|shape=L}} or {{Sigil|Yellow|L}} produces
.
Example: {{Sigil|Green}} produces [Green sigil].
Example with link: {{Sigil|Red|Z|link=Ascension Awaits}} produces
.
This produces a small tetromino icon.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Color | color 1 | The color of the icon.
| String | required |
| Shape | shape 2 | The shape of the sigil. This must be a capital letter: L, J, S, Z, O (for square), T, or I.
| String | required |
| Link | link | The name of another wiki article. If included, the sigil icon will become a link to that page. | Page name | optional |