Difference between revisions of "Template:RealmBox/Sandbox"

From BattleMaster Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{RBTop}}
 
{{RBTop}}
 
{{RBTitle|TextColor = {{{TitleTextColor|black}}}|BackColor = {{{TitleBackColor|#aabbcc}}}|Text = {{PAGENAME}}}}
 
{{RBTitle|TextColor = {{{TitleTextColor|black}}}|BackColor = {{{TitleBackColor|#aabbcc}}}|Text = {{PAGENAME}}}}
{{#if: {{{Flag|}}} | {{RBImage|Image = {{{Flag}}}|TextStyle = normal|Caption ={{{FlagCaption}}}}}|}}
+
{{RBImage|Image = {{{Flag|}}}|TextStyle = normal|Caption ={{{FlagCaption|}}}}}
{{Template:RBDouble |BorderBottomStyle = hidden |Left = <b>Island</b> |Right = [[Located on::{{{Island|{{c|red|You must specify an "Island"!}}}}}]]}}
+
{{RBDouble
{{RBDouble|BorderBottomStyle = hidden|Left = <b>Capital</b>|Right = {{#ask: [[capital of::{{PAGENAME}}]]| default=Unknown}} }}
+
|Left = <b>Island<br>Capital<br>Largest City<br>Government<br>{{#if: {{{StateReligion|}}} {{!}} State Religion<br>{{!}}}}Duchies<br>Regions<br>{{#if: {{{Nobles|}}} {{!}} Nobles<br>{{!}}}}Population<br>{{#if: {{{Food|}}} {{!}} Food<br>{{!}}}}{{#if: {{{Gold|}}} {{!}} Gold<br>{{!}}}}</b>
{{RBDouble|BorderBottomStyle = hidden|Left = <b>Largest City</b>|Right = {{#ask: [[part of::{{PAGENAME}}]] [[is regiontype::Stronghold||City]] | limit = 1 | sort = population | order = desc | searchlabel= | default=Unknown}}}}
+
|Right = [[Located on::{{{Island|{{c{{!}}red{{!}}You must specify an "Island".}}}}}]]<br>
{{#if: {{{Government|}}} | {{RBDouble|BorderBottomStyle = hidden|Left = <b>Government</b> |Right = [[government type is::{{{Government}}}]]}} | }}
+
{{#ask: [[capital of::{{PAGENAME}}]]{{!}} default=Unknown}}<br>
{{#if: {{{StateReligion|}}} | {{RBDouble|BorderBottomStyle = hidden|Left = <b>State Religion</b>|Right = [[has state religion::{{{StateReligion}}}]]}} | }}
+
{{#ask: [[part of::{{PAGENAME}}]] [[is regiontype::Stronghold{{!}}{{!}}City]] {{!}} limit = 1 {{!}} sort = population {{!}} order = desc {{!}} searchlabel= {{!}} default=Unknown}}<br>
{{RBDouble|BorderBottomStyle = hidden|Left = <b>Duchies</b>|Right = {{#ask: [[part of::{{PAGENAME}}]] [[is regiontype::Stronghold||City]] | format = count | default=Unknown}}}}
+
[[government type is::{{{Government|{{c{{!}}red{{!}}You must specify the "Government" type}}}}}]]<br>
{{RBDouble|BorderBottomStyle = hidden|Left = <b>Regions</b>|Right = {{#ask: [[part of::{{PAGENAME}}]] [[is regiontype::+]] | format = count | default=Unknown}}}}
+
{{#if: {{{StateReligion|}}} {{!}} [[has state religion::{{{StateReligion}}}]]<br>{{!}}}}
{{RBDouble|BorderBottomStyle = hidden|Left = <b>Nobles</b>|Right = {{#ask: [[member of::{{PAGENAME}}]] | format = count | default=Unknown}}}}
+
{{#ask: [[part of::{{PAGENAME}}]] [[is regiontype::Stronghold{{!}}{{!}}City]] {{!}} format = count {{!}} default=Unknown}}<br>
{{RBDouble|BorderBottomStyle = hidden|Left = <b>Population</b>|Right = {{{Population|{{#expr: {{#ask: [[part of::{{PAGENAME}}]] | ?population= | mainlabel=- | format = list | sep=+}}}}}}}}}
+
{{#ask: [[part of::{{PAGENAME}}]] [[is regiontype::+]] {{!}} format = count {{!}} default=Unknown}}<br>
{{RBDouble|BorderBottomStyle = hidden|Left = <b>Food Production</b>|Right = {{{Food|{{#expr: {{#ask: [[part of::{{PAGENAME}}]] | ?produces food= | mainlabel=- | format = list | sep=+}}}}}}}}}
+
{{#if: {{{Nobles|}}} {{!}} {{{Nobles|Unknown}}}<br>{{!}}}}
{{#if: {{{Gold|}}} | {{RBDouble|Left = <b>Gold Production</b>|Right = {{{Gold|}}}}} |}}
+
{{#ask: [[part of::{{PAGENAME}}]] {{!}} ?population= {{!}} mainlabel=- {{!}} format = sum}}<br>
 +
{{#if: {{{Food|}}} {{!}} {{{Food|Unknown}}}<br>}}
 +
{{#if: {{{Gold|}}} {{!}} {{{Gold|Unknown}}}}}</b>
 
{{RBTitle|TextColor = {{{TitleTextColor|black}}}|BackColor = {{{TitleBackColor|#aabbcc}}}|Text = Council}}
 
{{RBTitle|TextColor = {{{TitleTextColor|black}}}|BackColor = {{{TitleBackColor|#aabbcc}}}|Text = Council}}
 
{{RBDouble|BackColor = #CCCCCC|Left = {{{RulerTitle|King}}}|Right = [[has ruler::{{{RulerName|{{c|red|You must specify the "RulerName"}}}}}]]}}
 
{{RBDouble|BackColor = #CCCCCC|Left = {{{RulerTitle|King}}}|Right = [[has ruler::{{{RulerName|{{c|red|You must specify the "RulerName"}}}}}]]}}

Revision as of 00:51, 26 February 2009

RealmBox/Sandbox
[[Image:]]

{{RBDouble

Left = Island
Capital
Largest City
Government
Duchies
Regions
Population
Right = red

The query description has an empty condition.
The query description has an empty condition.
red

The query description has an empty condition.
The query description has an empty condition.

The query description has an empty condition.

Council
King You must specify the "RulerName"
General
Banker
Judge
You must specify the "GeneralName"
You must specify the "BankerName"
You must specify the "JudgeName"
Regions
Unknown