Difference between revisions of "Template:Infobox region"

From BattleMaster Wiki
Jump to navigation Jump to search
m (beautification)
Line 2: Line 2:
 
|-
 
|-
 
| colspan="2" style="background: #000; text-align:center;" | http://battlemaster.org/maps-{{{image}}}.jpg
 
| colspan="2" style="background: #000; text-align:center;" | http://battlemaster.org/maps-{{{image}}}.jpg
 +
|-
 +
| colspan="2" style="background: #cce; text-align:center; font-weight:bold;" | Region Details
 
|-
 
|-
 
| style="background: #ddf; font-weight:bold;" | Continent
 
| style="background: #ddf; font-weight:bold;" | Continent
Line 11: Line 13:
 
| style="background: #ddf; font-weight:bold;" | Population
 
| style="background: #ddf; font-weight:bold;" | Population
 
| [[population::{{{population|}}}]]
 
| [[population::{{{population|}}}]]
 +
|-
 +
| style="background: #ddf; font-weight:bold;" | Economy
 +
| {{{population|}}}
 +
|-
 +
| colspan="2" style="background: #cce; text-align:center; font-weight:bold;" | Politics
 
|-  
 
|-  
 
| style="background: #ddf; font-weight:bold;" | Realm {{#if:{{{duchy|}}} |/ Duchy|}}
 
| style="background: #ddf; font-weight:bold;" | Realm {{#if:{{{duchy|}}} |/ Duchy|}}
Line 16: Line 23:
 
{{#if:{{{lord|}}} |  
 
{{#if:{{{lord|}}} |  
 
{{!}}-  
 
{{!}}-  
{{!}} style="background: #ddf; font-weight:bold;" {{!}} Lord
+
{{!}} style="background: #ddf; font-weight:bold;" {{!}} Local Lord
 
{{!}} [[has lord::{{{lord}}}]]
 
{{!}} [[has lord::{{{lord}}}]]
 
|}}
 
|}}
Line 32: Line 39:
 
|regtype    =
 
|regtype    =
 
|population =
 
|population =
 +
|economy    =
 
|realm      =
 
|realm      =
 
}}
 
}}
Line 42: Line 50:
 
</pre></div>
 
</pre></div>
  
The correct parameter for "image" is a URL path that you should leave unchanged.
+
== Notes ==
 +
* The correct parameter for "image" is a URL path that you should leave unchanged.
 +
* The parameter "economy" is not yet used. Please leave it blank.
  
 
</noinclude>
 
</noinclude>

Revision as of 15:19, 16 February 2009

http://battlemaster.org/maps-{{{image}}}.jpg
Region Details
Continent
Region Type
Population
Economy
Politics
Realm


This is the "official" region infobox. It is simple, but it does contain all required data. You can copy it and create a new template base on it, but every other region infobox must include at least these pieces of information and their correct semantic notations.

The infobox should be added as shown below:

{{Infobox Region
|continent  =
|image      =
|regtype    =
|population =
|economy    =
|realm      =
}}

You can also, if you like, add the following optional parameters. These lines will only be shown if the parameters are set:

|duchy      =
|lord       =

Notes

  • The correct parameter for "image" is a URL path that you should leave unchanged.
  • The parameter "economy" is not yet used. Please leave it blank.