Difference between revisions of "Template:Location Infobox"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
  
 
|-
 
|-
| colspan="2" align="center" style="font-weight:bold; font-size:140%; color:#AE5700; padding-bottom:10px; border-bottom:#AE5700 2px solid" | {{{name}}}
+
| colspan="2" align="center" valign="center" style="font-weight:bold; font-size:140%; color:#AE5700; padding-bottom:10px; border-bottom:#AE5700 2px solid" | {{{name}}}{{#switch:{{{control|}}}
 +
|no|none=<span style="float:right" title="Uncontrolled zone">[[File:ZoneControl-none.png|25px|link=]]</span>
 +
|part|partial=<span style="float:right" title="Partially controlled zone">[[File:ZoneControl-partial.png|25px|link=]]</span>
 +
|full|fully=<span style="float:right" title="Fully controlled zone">[[File:ZoneControl-full.png|25px|link=</span>
 +
|#default=<span style="float:right" title="Zone control type goes here">{{{control}}}</span>}}
  
 
|- title="Map of {{{name}}}"
 
|- title="Map of {{{name}}}"
Line 8: Line 12:
  
 
|-
 
|-
| colspan="2" align="center" style="background-color:#2E2D42; border:#AE5700 2px solid; border-radius:4px; font-weight:bold; color:white;" | Information
+
| colspan="2" align="center" style="background-color:#2E2D42; border:#AE5700 2px solid; border-radius:4px; font-weight:bold; color:white;" | {{{type}}} Information
  
 
|-
 
|-
Line 23: Line 27:
 
| width="30%" align="right" valign="top" style="padding-right:0.4em;" | Connections
 
| width="30%" align="right" valign="top" style="padding-right:0.4em;" | Connections
 
| width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" |
 
| width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" |
{{{exits}}}
+
{{{connections}}}
  
 
|-
 
|-

Revision as of 09:19, 8 August 2013

{{{name}}}{{#switch: none=ZoneControl-none.png partial=ZoneControl-partial.png fully=[[File:ZoneControl-full.png|25px|link= #default={{{control}}}}}
Misc icon.png
{{{type}}} Information
Located in

{{{world}}}

Areas

{{{areas}}}

Connections

{{{connections}}}

NPCs

{{{npcs}}}

Technical
Map file:

{{{mapfile}}}


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Location_Infobox/doc to view this documentation. (edit) (How does this work?)

Usage

{{Location Infobox
| name    = 
| maptext = descriptive text from Global Map if applicable
| type    = "Zone" for single zones, "Major location" for entire global map area, otherwise freeform text ("Location" suggested)
| control = none, full, partial, cameras, witnesses, cameras+witnesses or savingdisabled
| image   = 
| world   = 
| areas   = Screens or areas for single zone, each zone for multi-zone articles, vague overview for large Global Map articles
| exits   = connections to other zones
| ftravel = fast travel options
| npcs    = notable NPCs
| mapfile = .uz filename(s)
}}

Examples

South Gate Station{{#switch: none=ZoneControl-none.png partial=ZoneControl-partial.png fully=[[File:ZoneControl-full.png|25px|link= #default=}}
Sgs3.png
Station Information
Located in

Lower Underrail

Areas

Lower Underrail: South Gate Station
South Gate Station level 1
South Gate Station level 2
South Gate Station level 3
South Gate Station level 4
South Gate Station level 5
South Gate Station level 6
South Gate Station level 7
South Gate Station level 8
South Gate Station level 9
South Gate Station docks

Connections

{{{connections}}}

NPCs

Essie, Bisson, Harland, Gorsky, Lucas, Hadrian Tanner, Jack Quicksilver, Vera Hale, Pasquale, Ezra, Harold, Quinton, Malcom, Captain Svana, Arlene, Najed, Wayne, Roman

South Gate Station level 2{{#switch:full none=ZoneControl-none.png partial=ZoneControl-partial.png fully=[[File:ZoneControl-full.png|25px|link= #default=full}}
StationAlpha-Level2.png
Map area Information
Located in

Lower Underrail

Areas

Armory
Shooting Range

Connections

{{{connections}}}

NPCs

Lucas
Gorsky

Technical
Map file:

StationAlpha-Level2.uz
StationAlpha-Level2_L1.uzl

Crossroad Watch{{#switch:partial none=ZoneControl-none.png partial=ZoneControl-partial.png fully=[[File:ZoneControl-full.png|25px|link= #default=partial}}
CrossroadCaves.png
Map area Information
Located in

Lower Underrail

Areas

Crossroad watchpost

Connections

{{{connections}}}

NPCs

Old Jonas

Technical
Map file:

CrossroadCaves.uz
CrossroadCaves_L1.uzl

Check the source.