Template:Tag List/doc

From RimWorld Wiki
< Template:Tag List
Revision as of 23:29, 5 August 2024 by JuliaCat (talk | contribs) (planning)
Jump to navigation Jump to search

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

Planned Work

  • Allow for a minimum market value to be applied alongside the max, and possibly prepend this range to the result
  • Changeable delimiter / use of icons
  • allow for apparel coverage and layers

Test Output

No Market Value:

{{Tag List|techHediffsTags|Advanced|ImplantEmpireCommon}}

Aesthetic nose Aesthetic shaper Armorskin gland Bionic arm Bionic ear Bionic eye Bionic heart Bionic jaw Bionic leg Bionic spine Bionic stomach Bionic tongue Circadian assistant Circadian half-cycler Coagulator Detoxifier kidney Detoxifier lung Drill arm Field hand Gastro-analyzer Healing enhancer Immunoenhancer Joywire Learning assistant Love enhancer Neurocalculator Nuclear stomach Painstopper Power claw Reprocessor stomach Sterilizing stomach Stoneskin gland Toughskin gland

Normal Market Value max:

{{Tag List|techHediffsTags|value=1000|Advanced|ImplantEmpireCommon}}

Aesthetic nose Aesthetic shaper Bionic ear Bionic stomach Bionic tongue Coagulator Detoxifier lung Drill arm Field hand Gastro-analyzer Joywire Painstopper Power claw

Market Value min & max:

{{Tag List|techHediffsTags|budget=1000,2000|Advanced|ImplantEmpireCommon}}

Aesthetic nose Aesthetic shaper Armorskin gland Bionic arm Bionic ear Bionic eye Bionic heart Bionic jaw Bionic leg Bionic spine Bionic stomach Bionic tongue Circadian assistant Circadian half-cycler Coagulator Detoxifier kidney Detoxifier lung Drill arm Field hand Gastro-analyzer Healing enhancer Immunoenhancer Joywire Learning assistant Love enhancer Neurocalculator Nuclear stomach Painstopper Power claw Reprocessor stomach Sterilizing stomach Stoneskin gland Toughskin gland

Market Value min:

{{Tag List|techHediffsTags|budget=1000|Advanced|ImplantEmpireCommon}}

Aesthetic nose Aesthetic shaper Armorskin gland Bionic arm Bionic ear Bionic eye Bionic heart Bionic jaw Bionic leg Bionic spine Bionic stomach Bionic tongue Circadian assistant Circadian half-cycler Coagulator Detoxifier kidney Detoxifier lung Drill arm Field hand Gastro-analyzer Healing enhancer Immunoenhancer Joywire Learning assistant Love enhancer Neurocalculator Nuclear stomach Painstopper Power claw Reprocessor stomach Sterilizing stomach Stoneskin gland Toughskin gland