Template:Icon/doc

From Sheltered 2 Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

This template is for users to call for pulling various icons we will have set up for the wiki. You can specify the size and icon name with some pre-set alt-text depending on the scenario. WARNING: Template parameters are CASE SENSITIVE. This means 'Type=strength' will not work but 'Type=Strength' will.

Icons should be given aliases where you want multiple 'Type's to refer to the same icon in the form of:

IconName|Alias1|Alias2|Alias2

Many of the icons are merged into 'universal' calls where the icons are grouped by similarity (ie all weather, all factions, all status effects etc) and use a pseudo wildcard replacement system, automatically replacing the relevant parts of the return output (image filename, link, alt text etc) with the 'Type / 1st' parameter (or portions thereof).

Template syntax:

{{Icon|Type=IconName|Text=Text you wish to attach the icon to (if any)|Size=##px}}
{{Icon|IconName|Example Text|20px}}
{{Icon|IconName||20px}}

Template Examples

(WARNING: Spammy, incomplete, updated where possible, includes icons yet to be uploaded)

Syntax Output (Default) Output (48px) Description
{{Icon|Type=Quality1}} Poor quality
{{Icon|Type=Quality2}} ★★ ★★ Good Quality
{{Icon|Type=Quality3}} ★★★ ★★★ Excellent Quality
{{Icon|Type=Quality1Tab}}
{{Icon|Type=Quality2Tab}} ★★ ★★ ★★
{{Icon|Type=Quality3Tab}} ★★★ ★★★ ★★★
{{Icon|Type=UpgradeOutput}} Upgrade Output Upgrade Output Upgrade Output
{{Icon|Type=UpgradeCapacity}} Upgrade Capacity Upgrade Capacity Upgrade Capacity
{{Icon|Type=UpgradeDurability}} Upgrade Durability Upgrade Durability Upgrade Durability
{{Icon|Type=UpgradeEfficiency}} Upgrade Efficiency Upgrade Efficiency Upgrade Efficiency
{{Icon|Type=UpgradeResistance}} Upgrade Resistance Upgrade Resistance Upgrade Resistance
{{Icon|Type=UpgradeForecast}} Upgrade Forecast Upgrade Forecast Upgrade Forecast
{{Icon|Type=Strength}} Strength Strength StrengthStrength
{{Icon|Type=STR}} Strength Strength StrengthStrength
{{Icon|Type=Dexterity}} Dexterity Dexterity DexterityDexterity
{{Icon|Type=Intelligence}} Intelligence Intelligence IntelligenceIntelligence
{{Icon|Type=Charisma}} Charisma Charisma CharismaCharisma
{{Icon|Type=Perception}} Perception Perception PerceptionPerception
{{Icon|Type=Fortitude}} Fortitude Fortitude FortitudeFortitude
{{Icon|Type=Weight}} Weight Weight WeightWeight
{{Icon|Type=Storage}} Storage Space Storage Space Storage SpaceStorage
{{Icon|Type=Sustenance}} Sustenance Sustenance SustenanceSustenance
{{Icon|Type=Value}} Value Value ValueValue
{{Icon|Type=Fuel}} Fuel Fuel FuelFuel
{{Icon|Type=Rations}} Rations Rations RationsRations
{{Icon|Type=Temperature}} Temperature Temperature TemperatureTemperature
{{Icon|Type=TemperatureGrad}} Temperature Temperature TemperatureTemperatureGrad
{{Icon|Type=StaminaPip2}} ●● ●● Stamina (2)
{{Icon|Type=StaminaPip4}} ●●●● ●●●● Stamina (4)
{{Icon|Type=WeatherThunder}} Weather (Thunder) Weather (Thunder) Weather (Thunder)Thunder
{{Icon|Type=WeatherRain}} Weather (Rain) Weather (Rain) Weather (Rain)Rain
{{Icon|Type=WeatherBlackRain}} Weather (BlackRain) Weather (BlackRain) Weather (BlackRain)Black Rain
{{Icon|Type=WeatherBlizzard}} Weather (Blizzard) Weather (Blizzard) Weather (Blizzard)Blizzard
{{Icon|Type=Thunder}} Weather (Thunder) Weather (Thunder) Weather (Thunder)Thunder
{{Icon|Type=Rain}} Weather (Rain) Weather (Rain) Weather (Rain)Rain
{{Icon|Type=Black Rain}} Weather (BlackRain) Weather (BlackRain) Weather (BlackRain)Black Rain
{{Icon|Type=Blizzard}} Weather (Blizzard) Weather (Blizzard) Weather (Blizzard)Blizzard
{{Icon|Type=Power}} Power
{{Icon|Type=Dirtiness}} Dirtiness
{{Icon|Type=Hunger}} Hunger
{{Icon|Type=Thirst}} Thirst
{{Icon|Type=Toilet}} Toilet
{{Icon|Type=Tiredness}} Tiredness
{{Icon|Type=Bleeding}} Bleeding Bleeding BleedingBleeding
{{Icon|Type=Accuracy}} Temperature Temperature TemperatureAccuracy
{{Icon|Type=Chance}} Chance Chance ChanceChance
{{Icon|Type=The Old Clan}} The Old Clan The Old Clan The Old ClanThe Old Clan
{{Icon|Type=Los Muertos}} Los Muertos Los Muertos Los MuertosLos Muertos
{{Icon|Type=Church of Hope}} Church of Hope Church of Hope Church of HopeChurch of Hope
{{Icon|Type=CTK Mob}} CTK Mob CTK Mob CTK MobCTK Mob
{{Icon|Type=The New Order}} The New Order The New Order The New OrderThe New Order
{{Icon|Type=Black Roses}} Black Roses Black Roses Black RosesBlack Roses
{{Icon|Type=Androids}} Androids Androids AndroidsAndroids
{{Icon|Type=Dehydrated}} Dehydrated
{{Icon|Type=Heat Exhaustion}} Heat Exhaustion
{{Icon|Type=Hypothermia}} Hypothermia
{{Icon|Type=Infection}} Infection
{{Icon|Type=Malnourishment}} Malnourishment
{{Icon|Type=Radiation}} Radiation
{{Icon|Type=Unconscious}} Unconscious
{{Icon|Type=Weakened}} Weakened
{{Icon|Type=Food Poisoning}} Food Poisoning
{{Icon|Type=Radiation Poisoning}} Radiation Poisoning
{{Icon|Type=Radiation}} Radiation
{{Icon|Type=Mental Ailment}} Mental Ailment
{{Icon|Type=Physical Ailment}} Physical Ailment
{{Icon|Type=Addiction}} Addiction
{{Icon|Type=Astraphobia}} Astraphobia
{{Icon|Type=Chronic Pain}} Chronic Pain
{{Icon|Type=Claustrophobic}} Claustrophobic
{{Icon|Type=Damaged Lungs}} Damaged Lungs
{{Icon|Type=Deaf}} Deaf
{{Icon|Type=Depression}} Depression
{{Icon|Type=Facial Disfigurement}} Facial Disfigurement
{{Icon|Type=Feeling Okay}} Feeling Okay
{{Icon|Type=Insomnia}} Insomnia
{{Icon|Type=Limp}} Limp
{{Icon|Type=Missing Eye}} Missing Eye
{{Icon|Type=Missing Hand}} Missing Hand
{{Icon|Type=Missing Teeth}} Missing Teeth
{{Icon|Type=Nerve Damage}} Nerve Damage
{{Icon|Type=Nervous Tick}} Nervous Tick
{{Icon|Type=Nyctophobia}} Nyctophobia
{{Icon|Type=Schizophrenia}} Schizophrenia
{{Icon|Type=Shock}} Shock
{{Icon|Type=Slipped Disc}} Slipped Disc
{{Icon|Type=Tennis Elbow}} Tennis Elbow
{{Icon|Type=Withdrawal}} Withdrawal
{{Icon|Type=Blueprint}} Blueprint Blueprint Blueprint
{{Icon|Type=TraitUnlockable}} This trait can be unlocked in-game. This trait can be unlocked in-game. This trait can be unlocked in-game.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.