Difference between revisions of "Template:Table cross"
GrampaSwood (talk | contribs) (Unnecessary template usage) |
GrampaSwood (talk | contribs) (Added Template:Font colour support. Nameplate doesn't support it and this is kind of a hacky way to get around it but also colour support is just nice) |
||
Line 1: | Line 1: | ||
− | <sup>{{#switch:{{{1}}} | + | <sup>{{Font colour|{{{colour|#222222}}}|{{#switch:{{{1}}} |
| 1 | #default = † | | 1 | #default = † | ||
| 2 = ‡ | | 2 = ‡ | ||
− | }}</sup><noinclude>{{Doc begin}} | + | }}}}</sup><noinclude>{{Doc begin}} |
Template used to insert crosses into templates. | Template used to insert crosses into templates. | ||
== Usage == | == Usage == | ||
Line 9: | Line 9: | ||
; 1 | ; 1 | ||
: Used to indicate which cross to use. Use no input or {{code|1}} for {{sup|†}}, use {{code|2}} for {{sup|‡}} | : Used to indicate which cross to use. Use no input or {{code|1}} for {{sup|†}}, use {{code|2}} for {{sup|‡}} | ||
+ | |||
+ | ; colour | ||
+ | : Used to change the colour of the table cross. Uses {{tl|Font colour}}. | ||
== Example == | == Example == | ||
{{tlx|Table cross|1}} or {{tlx|Table cross}} produces: {{Table cross}}<br> | {{tlx|Table cross|1}} or {{tlx|Table cross}} produces: {{Table cross}}<br> | ||
{{tlx|Table cross|2}} produces: {{Table cross|2}}</noinclude> | {{tlx|Table cross|2}} produces: {{Table cross|2}}</noinclude> |
Latest revision as of 16:23, 23 November 2024
†
Documentation for Table cross
Template used to insert crosses into templates.
Usage
{{Table cross|1}}
- 1
- Used to indicate which cross to use. Use no input or
1
for †, use2
for ‡
- colour
- Used to change the colour of the table cross. Uses
{{Font colour}}
.
Example
{{Table cross|1}}
or {{Table cross}}
produces: †
{{Table cross|2}}
produces: ‡