Template:TC: Difference between revisions
From Space Station 14 Wiki
No edit summary |
added discounted param |
||
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>({{TC|{{{2}}}}} discounted)}}}}</includeonly><noinclude> | ||
{{docs|bb= | {{docs|bb= | ||
{{uses template styles}} | {{uses template styles}} | ||
Line 14: | 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 19: | Line 25: | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"1" | "1", | ||
"2" | |||
], | ], | ||
"description": "Produces a telecrystal icon with a \"TC\" label and optional amount.", | "description": "Produces a telecrystal icon with a \"TC\" label and optional amount.", |
Revision as of 05:47, 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 |