Template:RealmBox

From BattleMaster Wiki
Revision as of 23:56, 9 February 2009 by Indirik (talk | contribs) (testing parser functions)
Jump to navigation Jump to search

Intro

This is an experimental template for exploring the Semantic Wiki project. You should not use this for your realm.

This template is part of the RealmBox Project.

This template calls other RealmBox templates to create a complete RealmBox. It is pre-configured to provide much more detail than Template:RBRealmOne. All you need to do is invoke this one single template, and it calls all the RealmBox templates needed.

Certain parameters in this template are automatically tagged for the Semantic Wiki. These properties are noted in their descriptions below.

Parameters

All parameters, vertical format:

  • RealmName - The name of the realm.
  • TitleBackColor - The color code for the title bar backgrounds.
  • TitleTextColor - The color code of the title bar text.
  • WantFlag - If you want a flag displayed, set this to "Yes". If you don't want a flag, leave this blank.
  • Flag - The name of the image file to use at the top of the RealmBox. Must be an image uploaded to the wiki. Do not include the "Image:" part of the name.
  • FlagCaption - A caption to go under the image.
  • RulerTitle - Ruler's custom title.
  • RulerName - Ruler's name.
  • GeneralTitle - General's custom title.
  • GeneralName - General's name.
  • JudgeTitle - Judge's custom title.
  • JudgeName - Judge's name.
  • BankerTitle - Banker's custom title.
  • BankerName - Banker's name.
  • Island - The name of the island on which the realm is located.
  • Capital - The name of the capital city. You can use Template:Reglink to link it to the wiki page for the region.
  • LargeCity - The name of the largest city. You can use Template:Reglink to link it to the wiki page for the region.
  • Duchies - The number of duchies in the realm.
  • Government - The government type: Monarchy, Theocracy, etc.
  • Regions - The number of regions in the realm.
  • Nobles - The number of nobles in the realm.
  • Population - The approximate population of the realm.
  • Food - The approximate food production of the realm.
  • RegionNames - The names of the region of the realm, separated by <br>. You can use Template:Reglink to link them to the wiki page for the region.
  • RegionLords - The names fo the region lords, in the same order as the regions, separated by <br>.


Template

You can copy/paste the following guide into your page, then add the values.

{{RBRealmOne
|RealmName = 
|TitleBackColor = 
|TitleTextColor = 
|Flag = 
|FlagCaption = 
|RulerTitle = 
|RulerName = 
|GeneralTitle = 
|GeneralName = 
|JudgeTitle = 
|JudgeName = 
|BankerTitle = 
|BankerName = 
|Island = 
|Duchies = 
|Regions = 
|Nobles = 
|Population = 
|Capital = 
|LargeCity = 
|Duchies = 
|Government = 
|Nobles = 
|Population = 
|Food = 
|RegionNames = 
|RegionLords = 
}}