Difference between revisions of "Template:Regions of"

From BattleMaster Wiki
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{| class="toccolours"
 
<includeonly>{| class="toccolours"
 
|-  
 
|-  
! width="100%" style="text-align: center;" | <font size=3.5> Duchies and Regions of {{{1|(unknown)}}} </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|(unknown)}}}]]
+
! 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 15: Line 24:
 
{{Regions of|(Realmname)}}
 
{{Regions of|(Realmname)}}
 
</pre></div>
 
</pre></div>
 
Ideally, this template will be extended to make colours configurable by further parameters
 
  
 
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 23: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
Template-info.svg Semantic Coded Template
This template contains semantic coding. Do not use this template for anything other than its intended purpose.