Template:Tag List/doc

From RimWorld Wiki
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(s) to search for, e.g. SpacerGun

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

{{Tag List|tagCategory|SpecificTag1|SpecificTag2|SpecificTag3|SpecificTag4}}
{{Tag List|tagCategory|value=x|SpecificTag1|SpecificTag2|SpecificTag3}}

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=1100|Advanced|ImplantEmpireCommon}}

Aesthetic nose Aesthetic shaper 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 Toughskin gland

{{Tag List|techHediffsTags|max=1100|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 & max:

{{Tag List|techHediffsTags|budget=1000,1100|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

{{Tag List|techHediffsTags|max=1100|min=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

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

{{Tag List|techHediffsTags|min=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