Template talk:GRnavbox

From Wikipedia, the free encyclopedia

Contents

[edit] Sample infobox

The wikicode below will create the Infobox above:

{{GRnavbox
| TemplateName = {{subst:PAGENAME}}
| preflink = the [[Boeotia Prefecture]]
| munic = [[Akraifnia]] • [[Aliartos]] • [[Arachova]] • [[Chaironeia]] • 
[[Davleia]] • [[Dervenochori]] • [[Distomo]] • [[Koroneia, Boeotia|Koroneia]] 
• [[Livadeia]] • [[Oinofyta]] • [[Orchomenos]] • [[Plataies]] • 
[[Schimatari]] • [[Tanagra]] • [[Thebes, Greece|Thebes]] • [[Thespies]] • 
[[Thisvi]] • [[Vagia]]
| commun = [[Antikyra]] • [[Kyriaki]] 
}}

[edit] Purpose and use of the template

This template is used for navigation boxes for the municipalities and communities of one Greek prefecture.

[edit] Parameters

TemplateName
Required when creating a new template (i.e. Viotia for Template:Viotia), otherwise the the "v · d · e" links will connect to Template:GRnavbox. You can enter {{subst:PAGENAME}} for this value as a shortcut.
preflink
The link to the prefecture article
munic
The municipalities, separated by • dots. Don't use "|" !!!
commun
The communities, separated by • dots. Leave blank if there aren't any communities in the prefecture.

[edit] Template categories

Add:

<noinclude>
[[Category:Greek prefecture navigational boxes|{{PAGENAME}}]]
[[Category:Boeotia|*]]
</noinclude>

to the bottom of the box for categorization, with the proper category where "Boeotia" is.

Markussep 08:09, 28 July 2006 (UTC)