Difference between revisions of "Template:TOWN infobox"
From Project: Gorgon Wiki
m |
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_Lime.png| | + | ! colspan="2"|<div class="ib-tbl-hd">[[File:Button_Lime.png|400px]]</div> <div class="ib-tbl-hdt">{{{name|name}}}</div> |
|- | |- | ||
− | | style= "width: | + | | style= "width:400px;" 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> |
|- valign="top" | |- valign="top" | ||
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Region: | ! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Region: |
Latest revision as of 11:52, 16 June 2019
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):