Template:TS2icon/doc
- 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.
Expansion pack | {{TS2icon|PXX}} | {{TS2icon|EPXX}} | {{TS2icon|SPXX}} | Resulting icon |
---|---|---|---|---|
The Sims 2 | {{TS2icon|P00}}
|
{{TS2icon|EP00}}
|
{{TS2icon|SP00}}
|
|
The Sims 2: University | {{TS2icon|P01}}
|
{{TS2icon|EP01}}
|
||
The Sims 2: Nightlife | {{TS2icon|P02}}
|
{{TS2icon|EP02}}
|
||
The Sims 2: Holiday Party Pack | {{TS2icon|P03}}
|
{{TS2icon|SP01}}
|
||
The Sims 2: Open for Business | {{TS2icon|P04}}
|
{{TS2icon|EP03}}
|
||
The Sims 2: Family Fun Stuff | {{TS2icon|P05}}
|
{{TS2icon|SP02}}
|
||
The Sims 2: Glamour Life Stuff | {{TS2icon|P06}}
|
{{TS2icon|SP03}}
|
||
The Sims 2: Pets | {{TS2icon|P07}}
|
{{TS2icon|EP04}}
|
||
The Sims 2: Happy Holiday Stuff | {{TS2icon|P08}}
|
{{TS2icon|SP04}}
|
||
The Sims 2: Seasons | {{TS2icon|P09}}
|
{{TS2icon|EP05}}
|
||
The Sims 2: Celebration! Stuff | {{TS2icon|P10}}
|
{{TS2icon|SP05}}
|
||
The Sims 2: H&M Fashion Stuff | {{TS2icon|P11}}
|
{{TS2icon|SP06}}
|
||
The Sims 2: Bon Voyage | {{TS2icon|P12}}
|
{{TS2icon|EP06}}
|
||
The Sims 2: Teen Style Stuff | {{TS2icon|P13}}
|
{{TS2icon|SP07}}
|
||
The Sims 2: FreeTime | {{TS2icon|P14}}
|
{{TS2icon|EP07}}
|
||
The Sims 2: Kitchen & Bath Interior Design Stuff | {{TS2icon|P15}}
|
{{TS2icon|SP08}}
|
||
The Sims 2: IKEA Home Stuff | {{TS2icon|P16}}
|
{{TS2icon|SP09}}
|
||
The Sims 2: Apartment Life | {{TS2icon|P17}}
|
{{TS2icon|EP08}}
|
||
The Sims 2: Mansion & Garden Stuff | {{TS2icon|P18}}
|
{{TS2icon|SP10}}
|