Template:TS2icon: Difference between revisions
Jump to navigation
Jump to search
sims>Xyclone010 (←Created page with "<includeonly>{{TS2icon/sort|{{TS2icon/pack|{{{1}}}}}}}[[{{TS2icon/icon|{{TS2icon/pack|{{{1}}}}}}}|32px|center|link={{Vgcode|{{TS2icon/pack|{{{1}}}}}}}]]</includ...") |
m (1 revision imported: Import from https://sims.wikia.com) |
(No difference)
|
Latest revision as of 17:48, 9 March 2019
- Description
- TS2icon takes an expansion pack abbreviation or number and turns it into an icon. This is meant to be used for sortable tables for sorting chronologically.
- Syntax
- {{TS2icon|<abbreviation or number>}}
- Example
{{TS2icon|TS2:S}}
- turns into
- Sub-templates
- TS2icon/icon - Turns an abbreviation into an icon filename.
- TS2icon/pack - Turns a chronological release number into an abbreviation.
- TS2icon/sort - When used on a table, sorts the rows in the order of the following: base game, expansion pack (by release), stuff pack (by release), and store.
Visit Template:TS2icon/doc to edit this text! (How does this work?) (Refresh this text - why?)