Difference between revisions of "Template:Infobox Realmboxclean"

From BattleMaster Wiki
Jump to navigation Jump to search
(This is a sandbox I'm using to try to build a cleaned up infobox that will stop throwing errors and making everything look like a cluttered mess. Not finished yet -- work in progress. Using Nothoi to design before I code it harder.)
 
m
Line 1: Line 1:
 
{|style="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: #0d5488;font-size:11px; line-height:20px"  
 
|-style="background-color: #0d5488;font-size:11px; line-height:20px"  
| colspan="2" style="font-size: 16px; color: #dddddd;font-weight: bold; text-align: center;"|FREE STATE OF NOTHOI
+
| colspan="2" style="font-size: 16px; color={{{realm color}}}; font-weight: bold; text-align: center;"|{{{realm name}}}
 
|-
 
|-
| colspan="2"|[[File:NothoiBanner.png|frameless|400px|center]]
+
| colspan="2"|[[File:{{{banner}}}|frameless|400px|center]]
|-style="background:#76b5e0"
+
|-style="background:{{header text color}}}"
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px";|'''REALM MAP'''
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px";|'''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=4&Realm=55" height="300" width="400">
|-style="background:#76b5e0"
+
|-style="background:#{{header text color}}}"
 
! colspan="2"; width="400px"; style="font-size: 14px";|GOVERNMENT
 
! colspan="2"; width="400px"; style="font-size: 14px";|GOVERNMENT
 
|-style="background:#dddddd"
 
|-style="background:#dddddd"
| colspan="2"; width="400px"; align="center"; style="font-size: 14px";|'''Democracy'''
+
| colspan="2"; width="400px"; align="center"; style="font-size: 14px";|'''{{{realm type}}}'''
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
| width="175px"; style="font-size: 14px";|'''Diadochi'''
+
| width="175px"; style="font-size: 14px";|'''{{{ruler title}}}'''
| style="background:#ffffff"; width="225px"; |Tyran Arylon
+
| style="background:#ffffff"; width="225px"; |{{{ruler}}}
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
| width="175px"; style="font-size: 14px";|'''Polomarchos'''
+
| width="175px"; style="font-size: 14px";|'''{{{general title}}}'''
| style="background:#ffffff"; width="225px"; |Marth Kinsey
+
| style="background:#ffffff"; width="225px"; |{{{general}}}
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
| width="175px"; style="font-size: 14px";;|'''Demokritia'''
+
| width="175px"; style="font-size: 14px";;|'''{{{judge title}}}'''
| style="background:#ffffff"; width="225px"; |Angelica D'Anglos
+
| style="background:#ffffff"; width="225px"; |{{{judge}}}
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
| width="175px"; style="font-size: 14px";|'''Sophos'''
+
| width="175px"; style="font-size: 14px";|'''{{{banker title}}}'''
| style="background:#ffffff"; width="225px"; |Francis Elynbrigge
+
| style="background:#ffffff"; width="225px"; |{{{banker}}}
|-style="background:#76b5e0"
+
|-style="background:#{{header text color}}}"
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px";|'''REALM INFORMATION'''
 
| colspan="2"; width="400px"; align="center"; style="font-size: 14px";|'''REALM INFORMATION'''
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
Line 31: Line 31:
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
| width="175px"; style="font-size: 14px";|'''Capital City'''
 
| width="175px"; style="font-size: 14px";|'''Capital City'''
| style="background:#ffffff"; width="225px"; |Reeds
+
| style="background:#ffffff"; width="225px"; |{{{capital}}}
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
| width="175px"; style="font-size: 14px";;|'''Population'''
 
| width="175px"; style="font-size: 14px";;|'''Population'''
| style="background:#ffffff"; width="225px"; |146,048
+
| style="background:#ffffff"; width="225px"; |{{{population}}}
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
|-style="background:#FAFAFA" valign="center"; align="center"
 
| width="175px"; style="font-size: 14px";|'''Total Economy'''
 
| width="175px"; style="font-size: 14px";|'''Total Economy'''
Line 44: Line 44:
  
  
 
 
 
 
 
 
 
{| style="float: right; margin:0 0 1em 1em; font-size:90%; width: 10%; background-color: #ffffff; border: solid #aaaaaa 1px; margin-right: 2em;"
 
| colspan="2" bgcolor={{{realm color}}} style="text-align: center;" | <font color={{{header text color}}}> <font size=2>'''The Lost Realm of {{{realm name}}}'''
 
|-
 
| align=center colspan="2" |
 
{| style="background: none;"
 
|- align=center style="vertical-align: middle;"
 
| <span style="display:table-cell; border-collapse:collapse; width:125px; border: solid 1px #BBBBBB;">[[Image:{{{flag}}}]]</span>
 
| width=125 |[[Image:{{{coat of arms}}}]]
 
|- align=center
 
| <small>'''Realm Battle Flag'''</small>
 
| <small>'''Realm Coat of Arms'''</small>
 
|}
 
|-
 
| colspan="2" style="text-align:center;" style="border-bottom: 1px solid #AAAAAA;"|
 
|-
 
| colspan="2" style="text-align:center;"| {{{realm map}}}
 
|-
 
| colspan="2" style="text-align: center;" | '''Map of Realm's Greatest Power'''
 
|-
 
| colspan="2" style="text-align:center;" style="border-bottom: 1px solid #AAAAAA;"|
 
|-
 
| colspan="2" bgcolor={{{realm color}}} style="text-align: center;" | <font color={{{header text color}}}> <font size=2>'''Last Known Leadership'''
 
|-
 
| colspan="2" bgcolor=#CCCCCC style="text-align: center;" | '''{{{ruler title}}} {{{ruler}}}'''
 
|-
 
| style="vertical-align: top; text-align: right;" | '''{{{general title}}}'''
 
| {{{general}}}
 
|-
 
| style="vertical-align: top; text-align: right;" | '''{{{judge title}}}'''
 
| {{{judge}}}
 
|-
 
| style="vertical-align: top; text-align: right;" | '''{{{banker title}}}'''
 
| {{{banker}}}
 
|-
 
| colspan="2" bgcolor={{{realm color}}} style="text-align: center;" | <font color={{{header text color}}}> <font size=2>'''The {{{realm type}}} At Its Height'''
 
|-
 
| style="vertical-align: top; text-align: right;" | '''Realm Type'''
 
| {{{realm type}}}
 
|-
 
| style="vertical-align: top; text-align: right;" | '''Capital City'''
 
| {{{capital}}}
 
|-
 
| style="vertical-align: top; text-align: right;" | '''Largest City'''
 
| {{{largest city}}}
 
|-
 
| style="vertical-align: top; text-align: right;" | '''Regions'''
 
| {{{number of regions}}}
 
|-
 
| style="vertical-align: top; text-align: right;" | '''Population'''
 
| {{{population}}}
 
|}
 
 
<noinclude>
 
<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:

Revision as of 22:40, 16 July 2020

{{{realm name}}}
[[File:{{{banner}}}|frameless|400px|center]]
REALM MAP
GOVERNMENT
{{{realm type}}}
{{{ruler title}}} {{{ruler}}}
{{{general title}}} {{{general}}}
{{{judge title}}} {{{judge}}}
{{{banker title}}} {{{banker}}}
REALM INFORMATION
Continent Beluaterra
Capital City {{{capital}}}
Population {{{population}}}
Total Economy 8987 gold
Food Production 2730 bushels


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

{{Infobox Realmboxclean
|realm color=
|header text color=
|realm name=
|flag=
|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=
}}