Template:Infobox/Location

Revision as of 00:18, 16 October 2024 by imported>TheCoolCario
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<infobox> <title source="title"><default>Infobox/Location</default></title> <image source="image">

<default>No picture.png</default> </image> <group> <header>Location</header> <image source="map"></image> <label>Region</label> <format>{{#switch:{{{region}}} |Mystery Lake=Mystery Lake |Coastal Highway=Coastal Highway |Pleasant Valley=Pleasant Valley |Desolation Point=Desolation Point |Timberwolf Mountain=Timberwolf Mountain |Forlorn Muskeg=Forlorn Muskeg |Broken Railroad=Broken Railroad |Mountain Town=Mountain Town |Hushed River Valley=Hushed River Valley |Bleak Inlet=Bleak Inlet |Ash Canyon=Ash Canyon |Transfer Pass=Transfer Pass |Forsaken Airfield=Forsaken Airfield |Zone of Contamination=Zone of Contamination |Sundered Pass=Sundered Pass |transition zone=Transition Zone |Crumbling Highway=Old Island Connector |The Ravine=The Ravine |Keeper's Pass South=Keeper's Pass South |Keeper's Pass North=Keeper's Pass North |Far Range Branch Line=Far Range Branch Line }}</format> <label>Location</label> <label>Sublocations</label> <label>Description</label> <header>General</header> <label>Type</label><format>{{#switch:{{{type}}} |residential=Residential |industrial=Industrial |store=Store |sporting=Military/Sporting |cave=Cave |outdoors=Outdoors |landmark=Landmark }}
{{#switch:{{{type 2}}} |store=Store |sporting=Military/Sporting }}</format>
<label>Firebox</label><format>{{#switch:{{{firebox}}} |fire barrel= Fire Barrel |pot belly stove= Pot Belly Stove |wood stove= Wood Stove |fireplace= Fireplace |stove= Stove |furnace= Furnace |rim grill= Rim Grill }} {{#switch:{{{firebox2}}} |fire barrel= Fire Barrel |pot belly stove= Pot Belly Stove |wood stove= Wood Stove |fire place= Fireplace |stove= Stove |furnance= Furnance |rim grill= Rim Grill }}</format> <group> <label></label><format>{{#ifeq:{{{bed}}}|yes|Has a bed}}</format> <label></label><format>{{#ifeq:{{{forge}}}|yes|Has a forge}}</format> <label></label><format>{{#ifeq:{{{workbench}}}|yes|Has a workbench}}</format> <label>{{#if:|{{#switch:{{{shelter}}} |yes= |partial= |no= }}|}} </label> <format>{{#switch:{{{shelter}}} |yes=Has an interior |partial=Provides some shelter |no=Has no shelter }}</format><default>Has no shelter</default> </group> </group> <group> <header>Wintermute</header> <label>Missions</label> <label>Characters</label> </group> </infobox>

Information about this template and examples can be found below
To edit the template "Infobox/Location" itself, click here.

To edit the information and examples below, click here. (How does this work?)

Description
This template is used on location pages. This infobox automatically adds the page to categories based on what is input.
Syntax
Type this at the top of a page, but below any notice templates.
{{Infobox/Location
|title          = Title of infobox (Can be left blank if the same as pagename)
|image          = Example.jpg (main image)
|region         = The map region (without [ ]brackets)
|location       = Where is the location in relation to other landmarks?
|sublocations   = Any locations within the location (Use <br /> to separate them)
|description    = A very brief description of the location.
|type           = What type of location? options (case sensitive):
    residential - Most loot is clothing and food, abundance of wood furniture.
    industrial - Most notable loot is blunt tools (heavy hammer, prybar),
                abundance of crates, wooden pallets, or metal shelves.
    store - Loot is almost exclusively food.
    sporting - Loot often includes high grade clothing, MRE's, bladed tools,
                and rifles. Usually is secluded from other buildings.
    cave - Is a cave
    outdoors - A location that is outdoors and often has either a body,
                fire barrel, vehicle, or inaccessable building.
    landmark - The location mostly serves as a landmark or region boundary,
                and has little to no loot.
|firebox        = What type of firebox exists here? options:
    fire barrel
    pot belly stove
    wood stove
    fire place
    stove
    furnace
    rim grill
|bed            = Is there a bed? (can be left blank for no) options:
    yes
    no
|forge          = Is there a forge? (can be left blank for no) options:
    yes
    no
|workbench      = Is there a workbench? (can be left blank for no) options:
    yes
    no
|shelter        = What level of shelter from the elements? (Can be left blank for no) options:
    yes - Has a true interior with loading screen
    partial - Has a warmth bonus beyond simple windproofing, but not a true interior
    no - Has no interior
|missions       = Missions that relate to this location (Use <br /> to separate them)
|characters     = Characters found here (Use <br /> to separate them)
}}

Blank
A blank infobox for copy-pasting
{{Infobox/Location
|title          = 
|image          =<gallery>

</gallery>
|region         = 
|location       = 
|sublocations   = 
|description    = 
|type           = 
|firebox        = 
|bed            = 
|forge          = 
|workbench      = 
|shelter        = 
|missions       = 
|characters     = 
}}


Samples
Type in this:
{{Infobox/Location
|title = Signal Hill
|image = <gallery>
SignalHill2.png|Exterior
File:Signal_Hill_-_radio_shack_bedroom.png|Interior
</gallery>
|location = On a cliff between the cave from [[Pleasant Valley]] and the [[Pleasant Valley Farmstead]]
|firebox        = fire barrel
|region         = 
|sublocations   = 
|description    = A radio mast and control room
|type           = 
|bed            = yes
|forge          = 
|workbench      = 
|shelter        = 
|sublocations   = [[Carter Hydro Dam]]
|missions       = [[Episode 1: Do Not Go Gentle#Chapter One]]
|characters     = [[Grey Mother]]
}}
To see this:

<infobox> <title source="title"><default>Infobox/Location</default></title> <image source="image">

<default>No picture.png</default> </image> <group> <header>Location</header> <image source="map"></image> <label>Region</label> <format>{{#switch: |Mystery Lake=Mystery Lake |Coastal Highway=Coastal Highway |Pleasant Valley=Pleasant Valley |Desolation Point=Desolation Point |Timberwolf Mountain=Timberwolf Mountain |Forlorn Muskeg=Forlorn Muskeg |Broken Railroad=Broken Railroad |Mountain Town=Mountain Town |Hushed River Valley=Hushed River Valley |Bleak Inlet=Bleak Inlet |Ash Canyon=Ash Canyon |Transfer Pass=Transfer Pass |Forsaken Airfield=Forsaken Airfield |Zone of Contamination=Zone of Contamination |Sundered Pass=Sundered Pass |transition zone=Transition Zone |Crumbling Highway=Old Island Connector |The Ravine=The Ravine |Keeper's Pass South=Keeper's Pass South |Keeper's Pass North=Keeper's Pass North |Far Range Branch Line=Far Range Branch Line }}</format> <label>Location</label> <label>Sublocations</label> <label>Description</label> <header>General</header> <label>Type</label><format>{{#switch: |residential=Residential |industrial=Industrial |store=Store |sporting=Military/Sporting |cave=Cave |outdoors=Outdoors |landmark=Landmark }}
{{#switch:{{{type 2}}} |store=Store |sporting=Military/Sporting }}</format>
<label>Firebox</label><format>{{#switch:fire barrel |fire barrel= Fire Barrel |pot belly stove= Pot Belly Stove |wood stove= Wood Stove |fireplace= Fireplace |stove= Stove |furnace= Furnace |rim grill= Rim Grill }} {{#switch:{{{firebox2}}} |fire barrel= Fire Barrel |pot belly stove= Pot Belly Stove |wood stove= Wood Stove |fire place= Fireplace |stove= Stove |furnance= Furnance |rim grill= Rim Grill }}</format> <group> <label></label><format>{{#ifeq:yes|yes|Has a bed}}</format> <label></label><format>{{#ifeq:|yes|Has a forge}}</format> <label></label><format>{{#ifeq:|yes|Has a workbench}}</format> <label>{{#if:|{{#switch: |yes= |partial= |no= }}|}} </label> <format>{{#switch: |yes=Has an interior |partial=Provides some shelter |no=Has no shelter }}</format><default>Has no shelter</default> </group> </group> <group> <header>Wintermute</header> <label>Missions</label> <label>Characters</label> </group> </infobox>
Click here to refresh the preview above