Template:Tag List

From RimWorld Wiki
Revision as of 02:51, 12 March 2021 by Harakoni (talk | contribs) (Created page with "<noinclude>{{Documentation}}</noinclude>")
(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

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

{{Tag List|weaponTags|SpacerGun}}
{{Tag List|weaponTags|IndustrialGunAdvanced}}
{{Tag List|weaponTags|SniperRifle}}
{{Tag List|weaponTags|SpacerGun|GunHeavy}}
{{Tag List|value=300|weaponTags|Gun}}
{{Tag List|techHediffsTags|ImplantEmpireRoyal|Ghoul|PainCauser|Poor}}
{{Tag List|tags|SpacerMilitary|Royal|Western}}