Difference between revisions of "Template:RealmBox/Sandbox"
Jump to navigation
Jump to search
(Changed to current & potential changes) |
m (Fixed minor bracket mistake; made FlagSize default to a non-rendered caption) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#get_web_data:url=http://battlemaster.org/data/realm.php?World={{{World|{{{1}}}}}}&ID={{{RealmID|{{{2}}}}}}|format=XML |
− | |||
− | {{#get_web_data:url=http://battlemaster.org/data/realm.php?World={{{World|{{{1}}}}}}&ID={{{RealmID|{{{2}}}}}}|format=XML | ||
|data= | |data= | ||
Island=continent, | Island=continent, | ||
Line 28: | Line 26: | ||
|TextColor = {{{TitleTextColor|{{{3|Black}}}}}} | |TextColor = {{{TitleTextColor|{{{3|Black}}}}}} | ||
|BackColor = {{{TitleColor|{{{4|{{#external_value:TitleBackColor}}}}}}}} | |BackColor = {{{TitleColor|{{{4|{{#external_value:TitleBackColor}}}}}}}} | ||
− | |Text = {{#external_value:FullName}} {{#if: {{{Flag|}}} | <br>[[File:{{{Flag}}}|{{{FlagSize|}}}]] {{#if: {{{FlagCaption|}}} | <br><div style="text-align: center; font-size: 75%; color: {{{TitleTextColor|Black}}}; font-weight:normal; font-style: oblique;">{{{FlagCaption}}}</div>|}}|}}<br><img src="http://battlemaster.org/experimental/RealmMap.php?shownames=regions&onlyRealm=yes&World={{{World|{{{1}}}}}}&Realm={{{RealmID|{{{2}}}}}}" height="{{{MapHeight|237}}}" width="{{{MapWidth|313}}}"> |}} | + | |Text = {{#external_value:FullName}} {{#if: {{{Flag|}}} | <br>[[File:{{{Flag}}}|{{{FlagSize|blank caption}}}]] {{#if: {{{FlagCaption|}}} | <br><div style="text-align: center; font-size: 75%; color: {{{TitleTextColor|Black}}}; font-weight:normal; font-style: oblique;">{{{FlagCaption}}}</div>|}}|}}<br><img src="http://battlemaster.org/experimental/RealmMap.php?shownames=regions&onlyRealm=yes&World={{{World|{{{1}}}}}}&Realm={{{RealmID|{{{2}}}}}}" height="{{{MapHeight|237}}}" width="{{{MapWidth|313}}}"> |}} |
{{RBTitle | {{RBTitle | ||
|TextColor = {{{TitleTextColor|{{{3|Black}}}}}} | |TextColor = {{{TitleTextColor|{{{3|Black}}}}}} | ||
Line 56: | Line 54: | ||
<br>{{#external_value:Food}} | <br>{{#external_value:Food}} | ||
<br>{{#external_value:Nobles}}}} | <br>{{#external_value:Nobles}}}} | ||
− | |||
{{RBTitle | {{RBTitle | ||
|TextColor = {{{TitleTextColor|{{{3|Black}}}}}} | |TextColor = {{{TitleTextColor|{{{3|Black}}}}}} |
Latest revision as of 02:37, 19 February 2020
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. |
Complete revamp to use external data API.
{{RealmBox|world|realmid|titletextcolor}}
TitleTextColor is optional. Recommended if your realm color is really dark, or you won't be able to read the text on the title bars.