Template:TS4icon/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 535: | Line 535: | ||
|} |
|} |
||
<includeonly>[[Category:The Sims 4 templates|{{PAGENAME}}]][[Category:Templates that are updated periodically|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
<includeonly>[[Category:The Sims 4 templates|{{PAGENAME}}]][[Category:Image retrieval templates|{{PAGENAME}}]][[Category:Templates that are updated periodically|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 17:49, 12 August 2022
- Description
- TS4icon takes a content pack abbreviation or number and turns it into an icon. This is meant to be used for sortable tables for sorting chronologically.
- Syntax
- {{TS4icon|<abbreviation or number>}}
- Example
{{TS4icon|TS4:GTW}}
or{{TS4icon|EP01}}
- turns into
- Sub-templates
- TS4icon/icon - Turns an abbreviation into an icon filename.
- TS4icon/pack - Turns a chronological release number into an abbreviation.
- TS4icon/sort - When used on a table, sorts the rows in the order of the following: base game, expansion pack (by release), game pack (by release), stuff pack (by release), free pack (by release) and kit (by release).