Difference between revisions of "Template:RegionBox"

From BattleMaster Wiki
Jump to navigation Jump to search
m (fixing alignment)
Line 33: Line 33:
 
|BorderCenterStyle = {{{BorderStyle|hidden}}}
 
|BorderCenterStyle = {{{BorderStyle|hidden}}}
 
|Left = Type<br>Population<br>Gold<br>Food<br>Weather
 
|Left = Type<br>Population<br>Gold<br>Food<br>Weather
|Right = {{{RegionType}}}<br>[[population::{{{Population}}}]]<br>{{{Gold}}}<br>{{{Food}}}<br>{{{Weather}}}}}
+
|Right = [[is regiontype::{{{RegionType}}}]]<br>[[population::{{{Population}}}]]<br>{{{Gold}}}<br>{{{Food}}}<br>{{{Weather}}}}}
 
{{RBBottom}}
 
{{RBBottom}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>

Revision as of 15:29, 8 February 2009

Intro

This template is part of the RegionBox Project. (Which itself is part of the RealmBox Project.)

This is a standardized, composite template designed to place a regional infobox on a region page. It is coded for automatic tagging of properties for the Semantic Wiki.

This is an in-process template, and shouldn't be used on actual region pages yet. It is almost certain to change prior to full implementation.

Parameters

All parameters, vertical format:

  • BackColor - The background color for the regionbox. Defaults to #DDDDDD.
  • BorderStyle - The style of the box borders. Defaults to hidden.
  • RegionName- The name of the region.
  • TitleBackColor - The color code for the title bar backgrounds. Defaults to #000000.
  • TitleTextColor - The color code of the title bar text. Defaults to #FFFFFF.
  • World - The world number of the island on which the region is located. (1 = EC, 2 = AT, 4 = BT, 6 = Co, 7 = FEI, 8 = Dwilight)
  • RegionID = The region ID of the region you want to show. You can get this from the URL of the region map in the game, or from the link to the region in the region listing.
  • Island - The full name of the island on which the region is located. (East Island, Atamara, Far East, et.)
  • Realm - The realm to which the region is aligned.
  • Duchy - The duchy to which the region is aligned.
  • Lord - The name of the regional lord.
  • RegionType - The region type. i.e.: City, Townsland, Badlands, etc.
  • Population - The approximate population of the region.
  • Gold - The approximate gold produciton of the region.
  • Food - The approximate food production of the region.
  • Weather - The weather area of the region.

Usage

{{RBRegionOne
| BackColor = 
| BorderStyle = 
| RegionName = 
| TitleBackColor = 
| TitleTextColor = 
| World = 
| RegionID = 
| Island = 
| Realm = 
| Duchy = 
| Lord = 
| RegionType = 
| Population = 
| Gold  = 
| Food = 
| Weather = 
}}