Template:RealmBox/Sandbox: Difference between revisions
mNo edit summary |
m (testing) |
||
Line 7: | Line 7: | ||
{{RBDouble|LeftTextWeight = bold|Left = {{{GeneralTitle|General}}}<br>{{{BankerTitle|Banker}}}<br>{{{JudgeTitle|Judge}}}|Right = [[has general::{{{GeneralName|{{c|red|"GeneralName"}}}}}]]<br>[[has banker::{{{BankerName|{{c|red|"BankerName"}}}}}]]<br>[[has judge::{{{JudgeName|{{c|red|"JudgeName"}}}}}]]}} | {{RBDouble|LeftTextWeight = bold|Left = {{{GeneralTitle|General}}}<br>{{{BankerTitle|Banker}}}<br>{{{JudgeTitle|Judge}}}|Right = [[has general::{{{GeneralName|{{c|red|"GeneralName"}}}}}]]<br>[[has banker::{{{BankerName|{{c|red|"BankerName"}}}}}]]<br>[[has judge::{{{JudgeName|{{c|red|"JudgeName"}}}}}]]}} | ||
{{RBTitle |BackColor = {{{TitleBackColor|#aabbcc}}} |TextColor = {{{TitleTextColor|black}}} |Text = Regions }} | {{RBTitle |BackColor = {{{TitleBackColor|#aabbcc}}} |TextColor = {{{TitleTextColor|black}}} |Text = Regions }} | ||
{{RBSingle|CellAlign=center|Text = {{#ask: [[part of::{{{Realm|{{PAGENAME}}}}}]] | mainlabel=region | ?has lord=Lord | format = template | template = SemanticTest | headers = hide | default=Unknown}} }} | {{RBSingle|CellAlign=center|Text = <table style="margin: 0px; border-collapse:collapse; width:300px; border: hidden;">{{#ask: [[part of::{{{Realm|{{PAGENAME}}}}}]] | mainlabel=region | ?has lord=Lord | format = template | template = SemanticTest | headers = hide | default=Unknown}}</table>}} | ||
{{RBBottom}} | {{RBBottom}} | ||
<noinclude>{{DocSubpage}} | <noinclude>{{DocSubpage}} |
Revision as of 20:44, 23 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 |
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.