Template:TC: Difference between revisions
From Space Station 14 Wiki
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:TC/styles.css"></templatestyles><!-- | <includeonly><templatestyles src="Template:TC/styles.css"></templatestyles><!-- | ||
-->{{Labeled icon|class=tc-item|Telecrystal-circumcized.png|8px|{{#if:{{{1|}}}|{{{1}}}<nowiki> </nowiki>}}TC}}</includeonly><noinclude> | -->{{Labeled icon|class=tc-item|Telecrystal-circumcized.png|8px|{{#if:{{{1|}}}|{{{1}}}<nowiki> </nowiki>}}TC{{#if:{{{2|}}}|<nowiki> </nowiki><i>( {{Labeled icon|class=tc-item|Telecrystal-circumcized.png|8px|{{{2}}} TC}} discounted)</i>}}}}</includeonly><noinclude> | ||
{{docs|bb= | {{docs|bb= | ||
{{uses template styles}} | {{uses template styles}} | ||
Line 7: | Line 7: | ||
[[Category:Item templates]] | [[Category:Item templates]] | ||
[[Category:Template starter-kit]] | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 13: | Line 14: | ||
"label": "Amount", | "label": "Amount", | ||
"description": "Optional Telecrystal amount.", | "description": "Optional Telecrystal amount.", | ||
"type": "number", | |||
"suggested": true | |||
}, | |||
"2": { | |||
"label": "Discounted amount", | |||
"description": "If the template refers to a price of an item in Syndicate Uplink and you want to also specify a discounted price — use this field.", | |||
"type": "number", | "type": "number", | ||
"suggested": true | "suggested": true | ||
Line 18: | Line 25: | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"1" | "1", | ||
] | "2" | ||
], | |||
"description": "Produces a telecrystal icon with a \"TC\" label and optional amount.", | |||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 05:52, 2 April 2025
Uses template styles
This template uses template styles found in:
Usage
{{tc
Example
With no amount
{{tc}}
↓
TC
With amount
{{tc
↓
10 TC
With discounted amount
{{tc
↓


Produces a telecrystal icon with a "TC" label and optional amount.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Amount | 1 | Optional Telecrystal amount. | Number | suggested |
Discounted amount | 2 | If the template refers to a price of an item in Syndicate Uplink and you want to also specify a discounted price — use this field. | Number | suggested |