Template:Regions of: Difference between revisions
(New page: {| class="toccolours" |- ! width="100%" style="text-align: center;" | <font size=3.5> Duchies and Regions of {{{1}}} </font> |- {{#ask: Category:Regions [[part of::{{{1}}}]] | mainlab...) |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="toccolours" | <includeonly>{| class="toccolours" | ||
|- | |- | ||
! width="100%" style="text-align: center;" | <font size=3.5> Duchies and Regions of {{{1}}} </font> | ! width="100%" style="text-align: center; background-color: darkblue; color: white;" | <font size=3.5> Duchies and Regions of {{{1|(unknown)}}} </font> | ||
|- | |- | ||
{{#ask: [[Category:Regions]] [[part of::{{{1}}}]] | ! width="100%" style="text-align: center; background-color: silver;" | <font size=2>Imperial</font> | ||
|- | |||
| align="center" colspan="3" | | |||
{{#ask: [[Category:Regions]] [[part of::{{{1|(unknown)}}}]] [[part of::Imperial]] | |||
| format = list | |||
| headers = hide | |||
| default =<i>None</i> | |||
}} | |||
|- | |||
{{#ask: [[Concept:Duchies]] [[part of::{{{1|(unknown)}}}]] | |||
| mainlabel = Region | | mainlabel = Region | ||
| format = template | | format = template | ||
Line 9: | Line 18: | ||
| headers = hide | | headers = hide | ||
}} | }} | ||
|} | |}</includeonly> | ||
<noinclude>This template displays a structured navigation list of duchies and regions belonging to the realm given in the first parameter. | <noinclude>This template displays a structured navigation list of duchies and regions belonging to the realm given in the first parameter. | ||
Line 15: | Line 24: | ||
{{Regions of|(Realmname)}} | {{Regions of|(Realmname)}} | ||
</pre></div> | </pre></div> | ||
The duchies and regions will be collected automatically using semantic data. | The duchies and regions will be collected automatically using semantic data. | ||
== TODOs == | |||
* extend to make colours configurable by further parameters | |||
* better/correct way to handle imperial regions | |||
{{SemanticCodes}} | {{SemanticCodes}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:03, 24 March 2009
This template displays a structured navigation list of duchies and regions belonging to the realm given in the first parameter.
{{Regions of|(Realmname)}}
The duchies and regions will be collected automatically using semantic data.
TODOs
- extend to make colours configurable by further parameters
- better/correct way to handle imperial regions
Semantic Coded Template |
This template contains semantic coding. Do not use this template for anything other than its intended purpose. |