Template:RealmBox: Difference between revisions
(Updated to include Gold, nobles, food, region count; temporary removal of smw parts; added Overview as a title below map; made map size and flag size customizable.) |
m (fixed incorrect external value & removed overlooked smw) |
||
Line 44: | Line 44: | ||
<br>Nobles</b> | <br>Nobles</b> | ||
|Right = | |Right = | ||
[[ | [[{{#external_value:Island}}]] | ||
[[{{#external_value:Capital}}]] | [[{{#external_value:Capital}}]] | ||
<br>{{#external_value:Government}} | <br>{{#external_value:Government}} | ||
{{#if: {{{StateReligion|}}} | <br>[[has state religion::{{{StateReligion}}}]]<br>|}} | {{#if: {{{StateReligion|}}} | <br>[[has state religion::{{{StateReligion}}}]]<br>|}} | ||
{{#external_value:Duchies}} | {{#external_value:Duchies}} | ||
<br>{{#external_value: | <br>{{#external_value:Regions}} | ||
<br>{{#external_value:Population}} | <br>{{#external_value:Population}} | ||
<br>{{#external_value:Gold}} | <br>{{#external_value:Gold}} | ||
Line 69: | Line 69: | ||
{{#external_value:JudgeTitle}} | {{#external_value:JudgeTitle}} | ||
<br>{{#external_value:BankerTitle}} | <br>{{#external_value:BankerTitle}} | ||
|Right = {{FamilyLink|{{{World|{{{1}}}}}}| | |Right = {{FamilyLink|{{{World|{{{1}}}}}}|{{#external_value:GeneralName}}}} | ||
{{FamilyLink|{{{World|{{{1}}}}}}| | {{FamilyLink|{{{World|{{{1}}}}}}|{{#external_value:JudgeName}}}} | ||
<br>{{FamilyLink|{{{World|{{{1}}}}}}|{{#external_value:BankerName | <br>{{FamilyLink|{{{World|{{{1}}}}}}|{{#external_value:BankerName}}}} | ||
{{RBBottom}} | {{RBBottom}} | ||
[[Category:Realms]][[Category:{{#external_value:Island}}]][[Category:{{#external_value:Realm}}]]</includeonly> | [[Category:Realms]][[Category:{{#external_value:Island}}]][[Category:{{#external_value:Realm}}]]</includeonly> | ||
<noinclude>{{SemanticCodes}}{{Documentation}}[[Category:RealmBox]]</noinclude> | <noinclude>{{SemanticCodes}}{{Documentation}}[[Category:RealmBox]]</noinclude> |
Revision as of 01:00, 19 February 2020
Semantic Coded Template |
This template contains semantic coding. Do not use this template for anything other than its intended purpose. |
Template Documentation |
This documentation is transcluded from Template:RealmBox/doc. |
IntroThis template is part of the RealmBox Project. It is enabled for importing of the game's external data feed, and for semantic coding of the included data. This template uses all available semantic coding at the realm level, with the exception of the realm founding date and realm founder.
NOTE: The template includes the realm category, Category:Realms, and the appropriate island category. If you use this template, you do not need to manually add these categories to your page. Using the TemplateCopy one of the blank templates provided at the bottom of this page. Special Considerations
ParametersThis section lists all the available parameters for use with the template. It is split into two sections; "Required" and "Optional". RequiredThis is a listing of the required parameters.
Optional
TemplateYou can copy/paste the following guide into your page, then add the values. Minimal RealmBoxThis provides the minimum parameters needed to add a RealmBox to your realm page. {{RealmBox |World = |RealmID = }} Full RealmBoxThis provides the complete list of parameters that can be used with RealmBox. You can pick and choose which one you want, so long as you provide the two required parameters. {{RealmBox |World = |RealmID = |TitleColor = |TitleTextColor = |MapName = |Flag = |FlagCaption = |Nobles = |Food = |Gold = }} Alternate MethodRealmBox supports inline parameters for basic usage, like this: {{RealmBox|(World)|(RealmID)|(TitleColor)|(TitleTextColor)}} Just replace the items in parentheses with the actual values. For example, the RealmBox for Astrum could be specified as: {{RealmBox|8|12|Blue|White}} Note that with this method, you can only provide the Four listed parameters. Known Issues
|