Template:Infobox Sirion: Difference between revisions

From BattleMaster Wiki
No edit summary
No edit summary
Line 41: Line 41:
}}{|style="border-bottom: 8px solid darkred; border-right: 8px solid darkred; ; border-left: 8px solid darkred;" cellspacing="0" border="2" cellpadding="3" align="right" valign="top" border="0"
}}{|style="border-bottom: 8px solid darkred; border-right: 8px solid darkred; ; border-left: 8px solid darkred;" cellspacing="0" border="2" cellpadding="3" align="right" valign="top" border="0"
|-
|-
|colspan="2" align="center" style="border-bottom: 8px solid darkred;"|http://tinyurl.com/BMWikimap/BMWorld1_Sirion_WithCapital.png
|colspan="2" align="right" style="border-bottom: 8px solid darkred;"|http://tinyurl.com/BMWikimap/BMWorld1_Sirion_WithCapital.png
|-style="border-top: 8px solid darkred;"
|-style="border-top: 8px solid darkred;"
|[[Islands|Continent:]]||[[Located on::{{#external_value:Island}}]]
|[[Islands|Continent:]]||[[Located on::{{#external_value:Island}}]]
Line 69: Line 69:
|Last updated:||{{{updated}}}
|Last updated:||{{{updated}}}
|-
|-
| style="border-top: 8px solid darkred;" colspan="2" align="Center"| [[Image:DragonOrb.gif]]
| style="border-top: 8px solid darkred;" colspan="2" align="right"| [[Image:DragonOrb.gif]]
|-
|-
|}</includeonly>
|}</includeonly>

Revision as of 07:27, 4 August 2012

Description

The template now uses an external feed for most of its attributes, keeping it better up to date. It also makes uses of semantics.

Code

{{Infobox Sirion
|nobles=
|advys=
|updated=
}}

Example

{{Infobox Sirion
|nobles=68
|advys=9
|updated=7/11/08
}}

Error: No "source" parameter specified.
Error: No suitable data source is defined for this external data query
{|style="border-bottom: 8px solid darkred; border-right: 8px solid darkred; ; border-left: 8px solid darkred;" cellspacing="0" border="2" cellpadding="3" align="right" valign="top" border="0" |- |colspan="2" align="right" style="border-bottom: 8px solid darkred;"|http://tinyurl.com/BMWikimap/BMWorld1_Sirion_WithCapital.png |-style="border-top: 8px solid darkred;" |Continent:||Error: no local variable "Island" has been set. |- |Capital:||Unknown |-style="border-bottom: 6px solid darkred;" |Largest City:||Darfix |- |style="border-top: 8px solid darkred;"|Government System:||style="border-top: 8px solid darkred;"|Error: no local variable "Government" has been set. |- |Error: no local variable "RulerTitle" has been set.:||Error: no local variable "RulerName" has been set. |- |Error: no local variable "GeneralTitle" has been set.:||Error: no local variable "GeneralName" has been set. |- |Error: no local variable "JudgeTitle" has been set.:||Error: no local variable "JudgeName" has been set. |- |style="border-bottom: 8px solid darkred;"|Error: no local variable "BankerTitle" has been set.:||style="border-bottom: 8px solid darkred;"|Error: no local variable "BankerName" has been set. |- |Regions:||178 |- |Population:||588,818 |- |Nobles:||68 |- |Adventurers:||9 |- |Last updated:||7/11/08 |- | style="border-top: 8px solid darkred;" colspan="2" align="right"| DragonOrb.gif |- |}