Difference between revisions of "Template:SettleInfoBox"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 6: Line 6:
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 
! colspan="2" | {{#if: {{{image|}}} | [[Image:{{{image}}}|300px|{{PAGENAME}}]] }}
 
|-
 
|-
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" |
+
!align="centre" colspan="2" style="background: #{{#var:colour}}; padding: 11px;" | <font color="white">{{#if: {{{capital|}}} | Capital of {{{capital}}} | }}</font>
 
|-
 
|-
 
|
 
|
Line 53: Line 53:
  
 
===Optional parameters===
 
===Optional parameters===
 +
; capital
 +
:Specifies that the settlement is a capital of whatever value is entered.
 +
:* ?
 +
:* ?
 +
:* ?
 +
:* New Trykoth
 +
 
; name
 
; name
 
:If used the template uses a different name than what <nowiki>{{PAGENAME}}</nowiki> provides.
 
:If used the template uses a different name than what <nowiki>{{PAGENAME}}</nowiki> provides.
Line 62: Line 69:
 
{{SettleInfoBox
 
{{SettleInfoBox
 
|image=Fairhavenmap.jpg
 
|image=Fairhavenmap.jpg
 +
|capital=New Trykoth
 
|region=Liberty Lake
 
|region=Liberty Lake
 
|continent=Aeden Aqueous
 
|continent=Aeden Aqueous

Revision as of 18:34, 16 March 2010

SettleInfoBox
Region: {{{region}}}
Continent: {{{continent}}}
Available quality: {{{q}}}
Altar: {{{altar}}}

Description

Usage

{{SettleInfoBox
|image=
|region=
|continent=
|q=
|altar=
|}}

Not optional parameters

region
Specifies in which region the settlement is in
continent
Specifies on which continent the settlement is in.
q
Specifies the highest quality goods available in the settlement, eg. 100
altar
specifies what faction's altars are located in the settlement, valid values are:
  • Kami and Karavan
  • Kami
  • Karavan

Optional parameters

capital
Specifies that the settlement is a capital of whatever value is entered.
  •  ?
  •  ?
  •  ?
  • New Trykoth
name
If used the template uses a different name than what {{PAGENAME}} provides.
image
Specifies the image that should be used for the region.

Example

SettleInfoBox
SettleInfoBox
Region: Liberty Lake
Continent: Aeden Aqueous
Available quality: 100
Altar: Kami and Karavan