Template:RealmBox/Sandbox: Difference between revisions
m (oops, forgot to clear old testing stuff) |
m (added urlencode) |
||
Line 23: | Line 23: | ||
{{RBSingle|CellAlign=center|BackColor=#DDDDDD|Text = <table style="margin: 0px; border-collapse:collapse; width:95%; border: hidden;"><tr style="padding: 1px 0.5em; text-align: left; font-size: 100%; color: black; font-weight:normal; border-bottom: 1px solid #FFFFFF; background: #DDDDDD; width: 50%;"><td>'''Region'''</td><td>'''Lord'''</td></tr>{{#ask: [[part of::{{#external_value:Realm}}]] | mainlabel=region | ?has lord=Lord | format = template | template = RegionListFormat | headers = hide | default=Unknown}}</table>}} | {{RBSingle|CellAlign=center|BackColor=#DDDDDD|Text = <table style="margin: 0px; border-collapse:collapse; width:95%; border: hidden;"><tr style="padding: 1px 0.5em; text-align: left; font-size: 100%; color: black; font-weight:normal; border-bottom: 1px solid #FFFFFF; background: #DDDDDD; width: 50%;"><td>'''Region'''</td><td>'''Lord'''</td></tr>{{#ask: [[part of::{{#external_value:Realm}}]] | mainlabel=region | ?has lord=Lord | format = template | template = RegionListFormat | headers = hide | default=Unknown}}</table>}} | ||
{{RBTitle |BackColor = {{{TitleColor|{{{4|{{#external_value:TitleBackColor}}}}}}}} |TextColor = {{{TitleTextColor|{{{3|Black}}}}}} |Text = Realm Location }} | {{RBTitle |BackColor = {{{TitleColor|{{{4|{{#external_value:TitleBackColor}}}}}}}} |TextColor = {{{TitleTextColor|{{{3|Black}}}}}} |Text = Realm Location }} | ||
{{RBSingle|CellAlign=center|BackColor=#DDDDDD|Text = http://tinyurl.com/BMWikimap/BMWorld{{{World|{{{1}}}}}}_{{#external_value:Realm}}_WithCapital.png }} | {{RBSingle|CellAlign=center|BackColor=#DDDDDD|Text = {{urlencode:http://tinyurl.com/BMWikimap/BMWorld{{{World|{{{1}}}}}}_{{#external_value:Realm}}_WithCapital.png }}}} | ||
{{RBBottom}} | {{RBBottom}} | ||
[[Category:Realms]][[Category:{{#external_value:Island}}]][[Category:{{#external_value:Realm}}]]</includeonly><noinclude>{{DocSubpage}} | [[Category:Realms]][[Category:{{#external_value:Island}}]][[Category:{{#external_value:Realm}}]]</includeonly><noinclude>{{DocSubpage}} |
Revision as of 17:15, 7 January 2010
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.