Difference between revisions of "Template:Infobox RegionData"

From BattleMaster Wiki
Jump to navigation Jump to search
(New page: {{#get_external_data:http://battlemaster.org/data/region.php?World={{{1}}}&ID={{{2}}}|xml |continent=continent |regtype=type |area=area |population=population |economy=economy |realm=realm...)
 
m
Line 48: Line 48:
 
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:400px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
{{Infobox region|(world-id)|(region-id)}}
+
{{Infobox RegionData|(world-id)|(region-id)}}
 
</pre></div>
 
</pre></div>
  

Revision as of 00:30, 25 March 2009

{{#get_external_data:http://battlemaster.org/data/region.php?World={{{1}}}&ID={{{2}}}%7Cxml |continent=continent |regtype=type |area=area |population=population |economy=economy |realm=realm |duchy=duchy |lord=lord }}

http://battlemaster.org/maps-{{{1}}}/{{{2}}}.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.

This infobox uses semantic codes and fetches its data from the game itself, so it is guaranteed to always show correct values.

The infobox should be added as shown below:

{{Infobox RegionData|(world-id)|(region-id)}}


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.
  • This template is currently experimental, please do not yet use it on actual region pages