Difference between revisions of "Template:RealmBox/Sandbox"

From BattleMaster Wiki
Jump to navigation Jump to search
m (some proposed changes)
m
Line 1: Line 1:
{{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 |}}}}
 
{{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
Line 10: Line 9:
 
{{RBSingle|CellAlign=center|Text = {{#ask: [[part of::{{PAGENAME}}]] | mainlabel=region | ?has lord=Lord | format = broadtable | headers = hide | default=Unknown}} }}
 
{{RBSingle|CellAlign=center|Text = {{#ask: [[part of::{{PAGENAME}}]] | mainlabel=region | ?has lord=Lord | format = broadtable | headers = hide | default=Unknown}} }}
 
{{RBBottom}}
 
{{RBBottom}}
<noinclude>
+
<noinclude>{{DocSubpage}}
 
Current modifications:
 
Current modifications:
 
* Removed the "World" parameter. Added subpages to the [[Template:RealmBox]] to auto-grab the world number from the required "Island" parameter.
 
* 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 <nowiki>{{PAGENAME}}</nowiki> variable. If you want a realm map, specify a "Realm" parameter. Leave this out and you don't get a realm map.
 
* 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 <nowiki>{{PAGENAME}}</nowiki> variable. If you want a realm map, specify a "Realm" parameter. Leave this out and you don't get a realm map.
 
</noinclude>
 
</noinclude>

Revision as of 02:39, 21 March 2009

|- | colspan="2" style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 120%; color: Black; font-weight:bold; border-bottom: 1px solid #000000; background: #aabbcc;" | RealmBox/Sandbox

|- | style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 100%; color: Black; font-weight:normal; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background: #FFFFFF; width: 50%;" | Island
Capital
Largest City
Government
Duchies
Regions
Population
| style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 100%; color: Black; font-weight:normal; border-left: 1px solid #000000; border-bottom: 1px solid #000000; background: #FFFFFF; width: 50%;" | "Island"
Unknown
Unknown
"Government"
0
0
0

|- | colspan="2" style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 120%; color: black; font-weight:bold; border-bottom: 1px solid #000000; background: #aabbcc;" | Council

|- | style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 100%; color: Black; font-weight:bold; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background: #CCCCCC; width: 50%;" | Ruler | style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 100%; color: Black; font-weight:normal; border-left: 1px solid #000000; border-bottom: 1px solid #000000; background: #CCCCCC; width: 50%;" | "RulerName"

|- | style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 100%; color: Black; font-weight:bold; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background: #FFFFFF; width: 50%;" | General
Banker
Judge | style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 100%; color: Black; font-weight:normal; border-left: 1px solid #000000; border-bottom: 1px solid #000000; background: #FFFFFF; width: 50%;" | "GeneralName"
"BankerName"
"JudgeName"

|- | colspan="2" style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 120%; color: black; font-weight:bold; border-bottom: 1px solid #000000; background: #aabbcc;" | Regions

|- | colspan="2" style="padding: 1px 0.5em; vertical-align: top; text-align: center; font-size: 100%; color: Black; font-weight:normal; border-bottom: 1px solid #000000; background: #FFFFFF;" | 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.