Difference between revisions of "Template:Tag List"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#vardefine: tagType|{{{1|}}}}}{{#vardefine: searchTag1|{{{2|}}}}}{{#vardefine: searchTag2|{{{3|}}}}}{{#vardefine: searchTag3|{{{4|}}}}}{{#vardefine: searchTag4|{{{5|}}}}}{{#ask: [[{{{1|}}}::+]]
+
<includeonly>{{#vardefine: tagType|{{{1|StringThatWontMatch}}}}}{{#vardefine: searchTag1|{{{2|StringThatWontMatch}}}}}{{#vardefine: searchTag2|{{{3|StringThatWontMatch}}}}}{{#vardefine: searchTag3|{{{4|StringThatWontMatch}}}}}{{#vardefine: searchTag4|{{{5|StringThatWontMatch}}}}}{{#ask: [[{{{1|}}}::+]]
 
  | named args=yes
 
  | named args=yes
 
  | ?Name=?Name
 
  | ?Name=?Name

Revision as of 09:24, 12 March 2021

Documentation icon Template documentation[view] [edit] [history] [purge]

Returns a list of all items with a specific tag.

Paramaters

The first paramater is the tag type, e.g. weaponTags

The second, third, fourth and fifth parameters are the contained tag to search for, e.g. SpacerGun


"value" is an optional parameter that puts a maximum on the Market Value of the returned items.

Examples

{{Tag List|weaponTags|SpacerGun}}

Charge lance Charge rifle

{{Tag List|weaponTags|IndustrialGunAdvanced}}

Assault rifle Chain shotgun Heavy SMG Hellcat rifle LMG

{{Tag List|weaponTags|SniperRifle}}

Sniper rifle

{{Tag List|weaponTags|SpacerGun|GunHeavy}}

Charge lance Charge rifle Minigun

{{Tag List|value=300|weaponTags|Gun}}

Assault rifle Autopistol Bolt-action rifle Chain shotgun Charge lance Charge rifle Doomsday rocket launcher EMP launcher Heavy SMG Hellcat rifle Incendiary launcher LMG Machine pistol Minigun Pump shotgun Revolver Triple rocket launcher