Difference between revisions of "Template:Infobox region"

From BattleMaster Wiki
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
''Please consider using [[Template:Infobox RegionData]] instead, which automatically fetches the relevant and always-correct data from the game engine itself. Use this template for historical pages where the region data is no longer available (e.g. the sunk south islands).''
 +
 +
''To convert, use the "image" property - the first number is the world-id, the second the region-id.''
 +
 
{| class="infobox" border="1px" style="float: right; width: 306px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em; background: #eee;"
 
{| class="infobox" border="1px" style="float: right; width: 306px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em; background: #eee;"
 
|-
 
|-
Line 30: Line 34:
 
|}}
 
|}}
 
|}
 
|}
<includeonly>[[Category: Regions]]</includeonly>
+
<includeonly>[[Category:{{{continent}}} Regions]]</includeonly>
 
<noinclude>
 
<noinclude>
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 based on it, but every other region infobox '''must''' include at least these pieces of information and their correct semantic notations.
+
This is the "official" region infobox. It is intended to be used on the official region page for a region. It should not be used on any other page, including realm subpages and user pages. It is simple, but it does contain all required data. You can copy it and create a new template based 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:
 
The infobox should be added as shown below:
  
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
{{Infobox Region
+
{{Infobox region
 
|continent  =
 
|continent  =
 
|image      =
 
|image      =
Line 53: Line 57:
 
|lord      =
 
|lord      =
 
</pre></div>
 
</pre></div>
 +
 +
 +
 +
{{SemanticCodes}}
  
 
== Notes ==
 
== Notes ==
* The template also puts the region into the [[:Category:Regions]] category.
+
* The template also puts the region into the [[:Category:Regions]] and the appropriate island category.
 
* The correct parameter for "image" is a URL path that you should leave unchanged.
 
* 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.
 
* The parameter "economy" is not yet used. Please leave it blank.
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:18, 25 March 2009

Please consider using Template:Infobox RegionData instead, which automatically fetches the relevant and always-correct data from the game engine itself. Use this template for historical pages where the region data is no longer available (e.g. the sunk south islands).

To convert, use the "image" property - the first number is the world-id, the second the region-id.

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


This is the "official" region infobox. It is intended to be used on the official region page for a region. It should not be used on any other page, including realm subpages and user pages. It is simple, but it does contain all required data. You can copy it and create a new template based 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    =
|area       =
|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       =


Template-info.svg Semantic Coded Template
This template contains semantic coding. Do not use this template for anything other than its intended purpose.

Notes

  • The template also puts the region into the Category:Regions and the appropriate island category.
  • 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.