Difference between revisions of "Template:RealmBox/Sandbox"

From BattleMaster Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{RBTitle|TextColor = {{{TitleTextColor|Black}}}|BackColor = {{{TitleBackColor|#aabbcc}}}|Text = {{PAGENAME}}{{#if: {{{Flag|}}} | <br>[[Image:{{{Flag}}}]]{{#if: {{{FlagCaption|}}} | <br><div style="text-align: center; font-size: 75%; color: {{{TitleTextColor|Black}}}; font-weight:normal; font-style: oblique;">{{{FlagCaption}}}</div>|}}|}}{{#if: {{{Realm|}}} | <br>http://battlemaster.org/maps-{{:Template:RealmBox/{{{Island}}}}}/Realm-{{{Realm}}}.jpg |}}}}
+
{{RBTop}}{{RBTitle|TextColor = {{{TitleTextColor|Black}}}|BackColor = {{{TitleBackColor|#aabbcc}}}|Text = {{PAGENAME}}{{#if: {{{Flag|}}} | <br>[[Image:{{{Flag}}}]]{{#if: {{{FlagCaption|}}} | <br><div style="text-align: center; font-size: 75%; color: {{{TitleTextColor|Black}}}; font-weight:normal; font-style: oblique;">{{{FlagCaption}}}</div>|}}|}}{{#if: {{{Realm|}}} | <br>http://battlemaster.org/maps-{{:Template:RealmBox/{{{Island}}}}}/Realm-{{{Realm}}}.jpg |}}}}
 
{{RBDouble
 
{{RBDouble
 
|Left = <b>Island<br>Capital<br>Largest City<br>Government{{#if: {{{StateReligion|}}} | <br>State Religion|}}<br>Duchies<br>Regions{{#if: {{{Nobles|}}} | <br>Nobles|}}{{#if: {{{Food|}}} | <br>Food|}}{{#if: {{{Gold|}}} | <br>Gold|}}<br>Population</b>
 
|Left = <b>Island<br>Capital<br>Largest City<br>Government{{#if: {{{StateReligion|}}} | <br>State Religion|}}<br>Duchies<br>Regions{{#if: {{{Nobles|}}} | <br>Nobles|}}{{#if: {{{Food|}}} | <br>Food|}}{{#if: {{{Gold|}}} | <br>Gold|}}<br>Population</b>

Revision as of 02:40, 21 March 2009

RealmBox/Sandbox
Island
Capital
Largest City
Government
Duchies
Regions
Population
"Island"
Unknown
Unknown
"Government"
0
0
0
Council
Ruler "RulerName"
General
Banker
Judge
"GeneralName"
"BankerName"
"JudgeName"
Regions
Unknown
Gtk-dialog-info.svg Page Information
This is a documentation subpage for the RealmBox template.
It contains usage information, categories and other content that is not part of the original template page.

Current modifications:

  • Removed the "World" parameter. Added subpages to the Template:RealmBox to auto-grab the world number from the required "Island" parameter.
  • Repurposed "Realm" parameter to hold the realm name with spaces replaced by "%20" in order to grab the realm map. The realm name displayed on the page is once again determined from the {{PAGENAME}} variable. If you want a realm map, specify a "Realm" parameter. Leave this out and you don't get a realm map.