Difference between revisions of "Template:Infobox Realmboxclean"

From BattleMaster Wiki
Jump to navigation Jump to search
m
m
 
(18 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
Food=food,
 
Food=food,
 
Nobles=nobles,
 
Nobles=nobles,
}}
+
}}{|style="margin-left:50px; margin-right:10px; background:none; border: solid #aaaaaa 1px; font-size: 100%; cellpadding="2"; align="right";
 
 
{|style="background:none; border: solid #aaaaaa 1px; font-size: 100%; " cellpadding="2"; align="right";
 
 
|-style="background-color: {{{titlecolor}}};font-size:11px; line-height:20px"  
 
|-style="background-color: {{{titlecolor}}};font-size:11px; line-height:20px"  
 
| colspan="2" style="font-size: 16px; color:{{{headertextcolor}}}; font-weight: bold; text-align: center;"|<span class="allcaps" style="text-transform: uppercase;">{{{realm name}}}</span>
 
| colspan="2" style="font-size: 16px; color:{{{headertextcolor}}}; font-weight: bold; text-align: center;"|<span class="allcaps" style="text-transform: uppercase;">{{{realm name}}}</span>
Line 31: Line 29:
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px; color:{{{headertextcolor}}};"|'''REALM MAP'''
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px; color:{{{headertextcolor}}};"|'''REALM MAP'''
 
|-
 
|-
| colspan="2"; align="center";|<img src="http://battlemaster.org/experimental/RealmMap.php?shownames=regions&onlyRealm=yes&World=4&Realm=55" height="300" width="400">
+
| colspan="2"; align="center";|<img src="http://battlemaster.org/experimental/RealmMap.php?shownames=regions&onlyRealm=yes&World={{{World|{{{1}}}}}}&Realm={{{RealmID|{{{2}}}}}}" height="303" width="400">
 
|-style="background:{{{titlecolor}}}"
 
|-style="background:{{{titlecolor}}}"
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px; color:{{{headertextcolor}}};"|'''GOVERNMENT'''
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px; color:{{{headertextcolor}}};"|'''GOVERNMENT'''
Line 65: Line 63:
 
| width="175px"; style="font-size: 14px";|'''Food Production'''
 
| width="175px"; style="font-size: 14px";|'''Food Production'''
 
| style="background:#ffffff"; width="225px"; |{{#external_value:Food}}
 
| style="background:#ffffff"; width="225px"; |{{#external_value:Food}}
|}
+
|-style="background:#FAFAFA" valign="center"; align="center"
</includeonly>
+
| width="175px"; style="font-size: 14px";|'''Regions Held'''
 
+
| style="background:#ffffff"; width="225px"; |{{#external_value:Regions}}
<noinclude>
+
|-style="background:#FAFAFA" valign="center"; align="center"
 +
| width="175px"; style="font-size: 14px";|'''Noble Citizens'''
 +
| style="background:#ffffff"; width="225px"; |{{#external_value:Nobles}}
 +
|}</includeonly><noinclude>
 
The infobox should be added using the Infobox Realm template, as shown below:
 
The infobox should be added using the Infobox Realm template, as shown below:
  
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
{{Infobox Realmboxclean
 
{{Infobox Realmboxclean
|realm color=
+
|World=
|header text color=
+
|RealmID=
 +
|titlecolor=
 +
|headertextcolor=
 
|realm name=
 
|realm name=
|flag=
+
|banner=
|coat of arms=
 
|realm map=
 
|ruler title=
 
|ruler=
 
|general title=
 
|general=
 
|judge title=
 
|judge=
 
|banker title=
 
|banker=
 
|realm type=
 
|capital=
 
|largest city=
 
|number of regions=
 
|population=
 
 
}}
 
}}
 
</pre></div>
 
</pre></div>
  
 
</noinclude>
 
</noinclude>

Latest revision as of 00:37, 18 July 2020

The infobox should be added using the Infobox Realm template, as shown below:

{{Infobox Realmboxclean
|World=
|RealmID=
|titlecolor=
|headertextcolor=
|realm name=
|banner=
}}