Difference between revisions of "Template:Tag List/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (category)
Line 21: Line 21:
 
  <nowiki>{{Tag List|value=300|weaponTags|Gun}}</nowiki>
 
  <nowiki>{{Tag List|value=300|weaponTags|Gun}}</nowiki>
 
{{Tag List|value=300|weaponTags|Gun}}
 
{{Tag List|value=300|weaponTags|Gun}}
 +
 +
<noinclude>[[Category:Template documentation]]</noinclude>
 +
<includeonly>[[Category:Templates]]</includeonly>

Revision as of 10:50, 11 August 2022

Returns a list of all items with a specific tag.

It is controlled by Template:Tag List Excluder

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

Autopistol Bolt-action rifle Machine pistol Pump shotgun Revolver