Difference between revisions of "Template:Infobox CharData"

From BattleMaster Wiki
Jump to navigation Jump to search
m (made the "/" for class/subclass separation conditional on there actually being a subclass)
m (Update to the current version of the API)
Line 1: Line 1:
{{#get_external_data:http://battlemaster.org/data/noble.php?World={{{1}}}&ID={{{2}}}|xml
+
{{#get_external_data:http://battlemaster.org/data/character.php?World={{{1}}}&ID={{{2}}}|xml
 
|continent=continent
 
|continent=continent
 
|name=name
 
|name=name
Line 10: Line 10:
 
|rank=rank
 
|rank=rank
 
|gender=gender
 
|gender=gender
 +
|realm=realm
 
}}
 
}}
 
{| 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;"

Revision as of 22:17, 25 March 2009

{{#get_external_data:http://battlemaster.org/data/character.php?World={{{1}}}&ID={{{2}}}%7Cxml |continent=continent |name=name |family=family |mainclass=mainclass |subclass=subclass |age=age |honour=honour |prestige=prestige |rank=rank |gender=gender |realm=realm }}

Continent
Family Family
Class
Age years
Honour
Prestige

Please note: this template depends on external APIs that are not yet finalized, and thus will almost certainly break in the near future.

I'm mostly just trying to see if I can even do this Semantic Wiki stuff. -- Anaris 13:20, 25 March 2009 (UTC)