Template:TC: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
No edit summary
Aliser (talk | contribs)
refactor; update formatting
 
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{{#if:{{{2|}}}|<nowiki> </nowiki><i>( {{Labeled icon|class=tc-item|Telecrystal-circumcized.png|8px|{{{2}}} TC}} discounted)</i>}}}}</includeonly><noinclude>
-->{{#if: {{{1|}}}<!--
    -->|{{#if: {{{2|}}}<!--
        -->|{{Labeled icon|class=tc-item|Telecrystal-circumcized.png|8px|{{{1}}}/{{tooltip|{{{2}}}|Discounted}}<!---->}}<!--
        -->|{{Labeled icon|class=tc-item|Telecrystal-circumcized.png|8px|{{{1}}}}}<!--
    -->}}{{#var:icon_wikitext}} <!--
    -->|{{Labeled icon|class=tc-item|Telecrystal-circumcized.png|8px}}<!--
-->}} TC</includeonly><noinclude>
{{docs|bb=
{{docs|bb=
{{uses template styles}}
{{uses template styles}}

Latest revision as of 08:54, 29 May 2025

Template documentation
view or edit this documentation about template documentation
Uses template styles
This template uses template styles found in:

Usage

{{tc|<amount>}}

Example

Without amount

{{tc}}

TC

With amount

{{tc|10}}

10 TC

With amount + discount

{{tc|10|5}}

10/5Discounted TC

Produces a telecrystal icon with a "TC" label and optional amount.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Amount1

Optional Telecrystal amount.

Numbersuggested
Discounted amount2

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.

Numbersuggested