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

From RimWorld Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Returns a list of all items with a specific tag.  
 
Returns a list of all items with a specific tag.  
  
It is controlled by [[Template:Tag List Excluder]]
 
 
==Paramaters==
 
==Paramaters==
 
The first paramater is the tag type, e.g. weaponTags
 
The first paramater is the tag type, e.g. weaponTags
Line 21: Line 20:
 
  <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>

Latest revision as of 13:00, 27 October 2022

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 to search for, e.g. SpacerGun


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

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