Difference between revisions of "QDP2012/30/1"
From The RadioReference Wiki
< User:QDP2012 | 30
m |
m (.) |
||
Line 2: | Line 2: | ||
. | . | ||
==Documentation Sub-page for [[:User:QDP2012/30|Template:Cat_State]]== | ==Documentation Sub-page for [[:User:QDP2012/30|Template:Cat_State]]== | ||
+ | ===Scope of Use=== | ||
*This template may be used for US States, Territories, etc. and Canadian Provinces. | *This template may be used for US States, Territories, etc. and Canadian Provinces. | ||
− | + | ===Variables=== | |
**'''CategoryName''' - the category-article's own name (not its parent's name). | **'''CategoryName''' - the category-article's own name (not its parent's name). | ||
**'''ParentCat''' - name of the article's parent category.<br/>Specifying a value will override the default which is "Collaboration". | **'''ParentCat''' - name of the article's parent category.<br/>Specifying a value will override the default which is "Collaboration". | ||
Line 9: | Line 10: | ||
**'''StateWikiArticle''' - the proper title for the related Wiki article. | **'''StateWikiArticle''' - the proper title for the related Wiki article. | ||
− | + | ===Examples=== | |
− | + | ====Example of using this template for a US State==== | |
+ | *<nowiki> | ||
{{Cat_State</nowiki><br/><nowiki> | {{Cat_State</nowiki><br/><nowiki> | ||
|CategoryName=Texas</nowiki><br/><nowiki> | |CategoryName=Texas</nowiki><br/><nowiki> | ||
|StateWikiArticle=Texas (US)}}</nowiki><br/> | |StateWikiArticle=Texas (US)}}</nowiki><br/> | ||
− | + | ====Example of using this template for the US District of Columbia==== | |
− | + | *<nowiki> | |
{{Cat_State</nowiki><br/><nowiki> | {{Cat_State</nowiki><br/><nowiki> | ||
|CategoryName=District of Columbia</nowiki><br/><nowiki> | |CategoryName=District of Columbia</nowiki><br/><nowiki> | ||
Line 22: | Line 24: | ||
|StateWikiArticle=District of Columbia (DC)}}</nowiki><br/> | |StateWikiArticle=District of Columbia (DC)}}</nowiki><br/> | ||
− | + | ====Example of using this template for a Canadian Province==== | |
− | + | *<nowiki> | |
{{Cat_State</nowiki><br/><nowiki> | {{Cat_State</nowiki><br/><nowiki> | ||
|CategoryName=Quebec</nowiki><br/><nowiki> | |CategoryName=Quebec</nowiki><br/><nowiki> |
Revision as of 01:57, 6 September 2015
Home | Prompts | Move | TRVA | Cat Tree | Links | CECC | Pgmg | Templates |
Tasks: Art, Cat, Tmp, DB 10, 13, 27, 29, 30/1 32, 43, 44, 193,194 | Conv&Stds Sandbox Edit PrfxIdx | ..WRRR ..USBR 1 ..USBR 76 ..PHT | Cat List Custom Avoid Unused 35, 36, 37, 38, CT (C E S N) SC | Categories to be DELETED Templates to be DELETED Pages to be DELETED TL (G IB C S D) | B, C, D, F, I Tk, Tb, Ct, Tx. M, S, TO Avoid Unused | |||
.
Contents
Documentation Sub-page for Template:Cat_State
Scope of Use
- This template may be used for US States, Territories, etc. and Canadian Provinces.
Variables
- CategoryName - the category-article's own name (not its parent's name).
- ParentCat - name of the article's parent category.
Specifying a value will override the default which is "Collaboration". - loctype - normal values would be either "state", "province", or "district".
Specifying a value will override the default, which is "state". - StateWikiArticle - the proper title for the related Wiki article.
Examples
Example of using this template for a US State
-
{{Cat_State
|CategoryName=Texas
|StateWikiArticle=Texas (US)}}
Example of using this template for the US District of Columbia
-
{{Cat_State
|CategoryName=District of Columbia
|loctype=district
|StateWikiArticle=District of Columbia (DC)}}
Example of using this template for a Canadian Province
-
{{Cat_State
|CategoryName=Quebec
|loctype=province
|StateWikiArticle=Quebec (CA)
|ParentCat=Province Data}}