Difference between revisions of "Template:Infobox RegionData"
Jump to navigation
Jump to search
Tag: Undo |
m |
||
Line 1: | Line 1: | ||
− | {{#get_web_data:url= | + | {{#get_web_data:url=https://battlemaster.org/data/region.php?World={{{1}}}&ID={{{2}}}|format=XML |
|data=continent=continent,regtype=type,area=area,population=population,economy=economy,realm=realm,duchy=duchy,lord=lord,capital=capital | |data=continent=continent,regtype=type,area=area,population=population,economy=economy,realm=realm,duchy=duchy,lord=lord,capital=capital | ||
}} | }} | ||
{| 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;" | | + | | colspan="2" style="background: #000; text-align:center;" | https://battlemaster.org/dynamicmap_mini.php?SetWorld={{{1}}}&ShowRegion={{{2}}} |
|- | |- | ||
| colspan="2" style="background: #cce; text-align:center; font-weight:bold;" | Region Details | | colspan="2" style="background: #cce; text-align:center; font-weight:bold;" | Region Details |
Revision as of 09:11, 7 February 2021
Error: No contents found at URL https://battlemaster.org/data/region.php?World={{{1}}}&ID={{{2}}}.
https://battlemaster.org/dynamicmap_mini.php?SetWorld={{{1}}}&ShowRegion={{{2}}} | |
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)}}
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 appropriate categories (especially under Category:Regions), so please do not add your own categories to pages that include this category. Especially not categories pertaining to any data that is used in this template, such as realm.