Template:Infobox RegionData: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
{{#get_external_data:http://battlemaster.org/data/region.php?World={{{1}}}&ID={{{2}}}|xml | {{#get_external_data:http://battlemaster.org/data/region.php?World={{{1}}}&ID={{{2}}}|xml | ||
|continent=continent | |continent=continent | ||
|regtype=type | |regtype=type | ||
|area=area | |area=area | ||
Line 11: | Line 10: | ||
}} | }} | ||
{| class="infobox" border="1px" style="float: right; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em; background: #eee;" | {| class="infobox" border="1px" style="float: right; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em; background: #eee;" | ||
|- | |- | ||
| colspan="2" style="background: #000; text-align:center;" | http://battlemaster.org/maps-{{{1}}}/{{{2}}}.jpg | | colspan="2" style="background: #000; text-align:center;" | http://battlemaster.org/maps-{{{1}}}/{{{2}}}.jpg |
Revision as of 06:53, 25 March 2009
Error: No "source" parameter specified.
Error: No suitable data source is defined for this external data query
http://battlemaster.org/maps-{{{1}}}/{{{2}}}.jpg | |
Region Details | |
Continent | Error: no local variable "continent" has been set. |
Region Type | Error: no local variable "regtype" has been set. |
Geographic Area | Error: no local variable "area" has been set. |
Population | Error: no local variable "population" has been set. |
Economy | Error: no local variable "economy" has been set. |
Politics | |
Realm | Error: no local variable "realm" has been set. |
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)}}
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