Difference between revisions of "Template:TOWN infobox"

From Project: Gorgon Wiki
Jump to: navigation, search
(Updated template.)
m
Line 1: Line 1:
 
{| style="margin:1px; border:1px solid#423930; float:right; text-align:left; position:relative; border-radius:5px; background:#1e1615ff;" cellpadding="5"
 
{| style="margin:1px; border:1px solid#423930; float:right; text-align:left; position:relative; border-radius:5px; background:#1e1615ff;" cellpadding="5"
! colspan="2"|<div class="ib-tbl-hd">[[File:Button_Orange.png|300px]]</div> <div class="ib-tbl-hdt">{{{name|name}}}</div>
+
! colspan="2"|<div class="ib-tbl-hd">[[File:Button_Lime.png|300px]]</div> <div class="ib-tbl-hdt">{{{name|name}}}</div>
 
|-
 
|-
 
| style= "width:300px;" colspan="2" align="center" | {{{townimage|[[Image:{{PAGENAME}}(image).png{{pipe}}300px{{pipe}}]]}}} <br><div class="block2" style="font-size:14px;color:#ffffff;">{{{towndesc|Caption describing the town.}}}</div>
 
| style= "width:300px;" colspan="2" align="center" | {{{townimage|[[Image:{{PAGENAME}}(image).png{{pipe}}300px{{pipe}}]]}}} <br><div class="block2" style="font-size:14px;color:#ffffff;">{{{towndesc|Caption describing the town.}}}</div>

Revision as of 12:38, 16 June 2019

Button Lime.png
name
File:TOWN infobox(image).png
Caption describing the town.
Region:
-
File:TOWN infobox(map).png
Map of TOWN infobox (click for larger size)


Syntax

{{TOWN infobox
| name = 
| townimage =
| towndesc= 
| zone =
| mapimage =
}}

Parameters

name
Not Optional. Must be Article name.
townimage
Defaults to a .png image to be used for the page. This should be an image of the town or location.
towndesc
A brief description of the town, generally an npc quote.
zone
Identifies the region the town or location can be found in.
mapimage
Defaults to a .png image , meant to represent a map of the town or location. If the image already exists, use File:ImageName.png

Description

Create an attractive "at a glance" information card for Towns and other locations.

The info card features two images: at the top is an in-game screenshot of the location. At the bottom, is either a picture of the minimap identifying the placement of the location, or a user-created map.

Notes

As with all more complex templates, remember that changes spread on all concerned articles. Please discuss it with the author before making significant changes.

Examples

The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):