Difference between revisions of "Template:Location Infobox"

From Underrail Wiki
Jump to navigation Jump to search
(test for new zone control indicators)
m
Line 7: Line 7:
 
-->{{#if:<noinclude>string</noinclude>{{{control|}}}
 
-->{{#if:<noinclude>string</noinclude>{{{control|}}}
 
   |<span style="float:right; position:relative; margin:0 0 22px 22px;"><span style="position:absolute; top:-2px; right:-4px;">{{#switch:{{{control|}}}
 
   |<span style="float:right; position:relative; margin:0 0 22px 22px;"><span style="position:absolute; top:-2px; right:-4px;">{{#switch:{{{control|}}}
         |no|none=
+
         | no | none =
 
         [[File:ZoneControl-none.png{{!}}30px{{!}}link=Zone Control|Uncontrolled zone]]
 
         [[File:ZoneControl-none.png{{!}}30px{{!}}link=Zone Control|Uncontrolled zone]]
         |part|partial=
+
         | part | partial =
 
         [[File:ZoneControl-partial.png{{!}}30px{{!}}link=Zone Control|Partially controlled zone]]
 
         [[File:ZoneControl-partial.png{{!}}30px{{!}}link=Zone Control|Partially controlled zone]]
         |full|fully=
+
         | full | fully =
 
         [[File:ZoneControl-full.png{{!}}30px{{!}}link=Zone Control|Controlled zone]]
 
         [[File:ZoneControl-full.png{{!}}30px{{!}}link=Zone Control|Controlled zone]]
         |multiple|varies=
+
         | multiple | varies =
 
         [[File:ZoneControl-varies.gif{{!}}30px{{!}}link=Zone Control|Multiple zones, varying levels of zone control]]
 
         [[File:ZoneControl-varies.gif{{!}}30px{{!}}link=Zone Control|Multiple zones, varying levels of zone control]]
         |cameras=
+
         | cameras =
         [[File:ZoneControl-full.png{{!}}30px{{!}}link=Zone Control|Controlled zone]]
+
         [[File:ZoneControl-full.png{{!}}30px{{!}}link=Zone Control|Controlled zone]]<!--
        [[File:DetectionIndicator-1.png{{!}}30px{{!}}link=Zone Control|Security Camera Footage]]
+
    -->[[File:DetectionIndicator-1.png{{!}}30px{{!}}link=Zone Control|Security Camera Footage]]
         [[File:DetectionIndicator-2.png{{!}}30px{{!}}link=Zone Control|Leave no Witnesses]]
+
         | witnesses =
         |witnesses=
+
        [[File:ZoneControl-full.png{{!}}30px{{!}}link=Zone Control|Controlled zone]]<!--
         [[File:ZoneControl-full.png{{!}}30px{{!}}link=Zone Control|Controlled zone]]
+
    -->[[File:DetectionIndicator-2.png{{!}}30px{{!}}link=Zone Control|Leave no Witnesses]]
        [[File:DetectionIndicator-2.png{{!}}30px{{!}}link=Zone Control|Leave no Witnesses]]
+
         | cameras+witnesses =
         |#default=
+
         [[File:ZoneControl-full.png{{!}}30px{{!}}link=Zone Control|Controlled zone]]<!--
 +
    -->[[File:DetectionIndicator-1.png{{!}}30px{{!}}link=Zone Control|Security Camera Footage]]<!--
 +
    -->[[File:DetectionIndicator-2.png{{!}}30px{{!}}link=Zone Control|Leave no Witnesses]]
 +
         | #default =
 
     }}</span></span>
 
     }}</span></span>
 
   |}}<br/><hr style="background-color:#AE5700; height:2px; margin:10px -8px 0 -8px;"/>
 
   |}}<br/><hr style="background-color:#AE5700; height:2px; margin:10px -8px 0 -8px;"/>

Revision as of 19:38, 20 December 2014

{{{name}}}

Misc icon.png
{{{type}}} information
Located in

{{{world}}}

Areas

{{{areas}}}

Connections

{{{exits}}}

NPCs

{{{npcs}}}

Technical
Map file(s)

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

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

Lower Underrail
Crossroad Watch
Junkyard - Docks

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 2Controlled zone

StationAlpha-Level2.png
Map area information
Located in

Lower Underrail

Areas

Armory
Shooting Range

Connections

South Gate Station elevator

NPCs

Lucas
Gorsky

Technical
Map file(s)

StationAlpha-Level2.uz
StationAlpha-Level2_L1.uzl

Crossroad WatchPartially controlled zone

CrossroadCaves.png
Map area information
Located in

Lower Underrail

Areas

Crossroad watchpost

Connections

South Gate Station level 9 (west)
South Gate Outposts (north)
Crossroad Caves (south)

NPCs

Old Jonas

Technical
Map file(s)

CrossroadCaves.uz
CrossroadCaves_L1.uzl

Check the source.