Difference between revisions of "Template:Tag List Excluder"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#ifeq: {{#pos:{{Q|{{{?Name|}}}|{{#var: tagType}}}}|{{#var: searchTag}}}}||| [[{{{?Name|}}}]]}}</includeonly><noinclude>
+
<includeonly>{{#ifeq: {{#pos:{{Q|{{{?Name|}}}|{{#var: tagType}}}}|{{#var: searchTag}}}}|||[[{{{?Name|}}}|{{{?Name|}}} ]]}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 04:31, 12 March 2021

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

Excludes #ask results that don't have have a given string in a given page property.

Currently only used on Template:Tag List

Examples

As this template cannot be used by itself, Tag List is used instead.

{{Tag List|weaponTags|Gun}}

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

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

Charge lance Charge rifle Minigun

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

Autopistol Bolt-action rifle Machine pistol Pump shotgun Revolver