Template:Areacategory
From Wikinews, the free news source you can write!
This is the category for Areacategory. RSS
Latest articles [edit]
Refresh this list to see the latest articles.
All articles [edit]
You can also browse through all articles for this area alphabetically.
This template makes an introduction and article list at the top of the category for any geographical category smaller than a country, such as a province, state, or city.
Usage [edit]
{{Areacategory|areatype=text|parent=text|adjective=text
|pipe=text|wikipedia=text|commons=text
|locimage=Imagefilename|flagimage=Imagefilename|sealimage=Imagefilename
|sceneimage=Imagefilename|scenetext=text}}
areatype=textis a generic name for the type of area (optional)parent=textis the specific name of a larger area to which the area belongs (optional)adjective=textis an adjective that can modifyareatype; usually alternative toparent(optional)pipe=textis a short name for the area, to use in the initial description sentence instead of {{PAGENAME}} (optional)wikipedia=textis a Wikipedia page to link to (without thew:prefix), instead of {{PAGENAME}} (optional)commons=textis a Commons page to link to (without thecommons:prefix), instead of {{PAGENAME}} (optional)locimage=Imagefilenameis a locator image you want to display, minus the File: prefix (optional)flagimage=Imagefilenameis a flag image you want to display, minus the File: prefix (optional)sealimage=Imagefilenameis a seal image you want to display, minus the File: prefix; usually alternative toflagimage(optional)sceneimage=Imagefilenameis a scenic image you want to display, minus the File" prefix (optional)scenetext=textis title text for the scenic image, if any (optional)
Examples [edit]
For Category:Alberta, one could use
{{Areacategory|areatype=province|parent=[[Canada]]|locimage=Alberta-map.png|flagimage=Flag of Alberta.svg}}
which should produce an introduction with initial text
Alternatively, one could use
{{Areacategory|areatype=province|adjective=[[Canada|Canadian]]|locimage=Alberta-map.png|flagimage=Flag of Alberta.svg}}
which should produce an introduction with initial text
