Template:Sigil: Difference between revisions

From The Talos Principle Wiki
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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Colorcolor 1

The color of the icon.

Suggested values
Red Green Yellow Gray
Example
Red
Stringrequired
Shapeshape 2

The shape of the sigil. This must be a capital letter: L, J, S, Z, O (for square), T, or I.

Suggested values
L J S Z O T I
Example
T
Stringrequired
Linklink

The name of another wiki article. If included, the sigil icon will become a link to that page.

Page nameoptional