Template:Tag List

From RimWorld Wiki
Revision as of 23:48, 6 August 2024 by JuliaCat (talk | contribs) (Undo revision 148782 by JuliaCat (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Returns a list of all items with a specific tag.

Paramaters[edit]

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

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

Tag types include Property:WeaponTags, Property:Tags, and Property:TechHediffsTags (note that these properties are camel case when used as parameters, e.g. |weaponTags, |tags, and |techHediffsTags). Their appropriate tags can be seen on each property page.

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

{{Tag List|typeOfTags|SpecificTag1|SpecificTag2|SpecificTag3|SpecificTag4}}
{{Tag List|typeOfTags|value=x|SpecificTag1|SpecificTag2|SpecificTag3|SpecificTag4}}

Examples[edit]

{{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}}

Autopistol Bolt-action rifle Machine pistol Pump shotgun Revolver

{{Tag List|techHediffsTags|ImplantEmpireRoyal|Ghoul|PainCauser|Poor}}

Adrenal heart Corrosive heart Denture Ghoul barbs Ghoul plating Metalblood heart Mindscrew Peg leg Psychic harmonizer Psychic reader Psychic sensitizer Wooden foot Wooden hand

{{Tag List|tags|SpacerMilitary|Royal|Western}}

Beret Bowler hat Cape Coronet Corset Cowboy hat Crown Formal shirt Formal vest Ladies hat Marine armor Marine helmet Prestige robe Psychic foil helmet Recon armor Recon helmet Stellic crown Top hat