Difference between revisions of "QDP2012/30/1"
From The RadioReference Wiki
< User:QDP2012 | 30
m |
m |
||
Line 24: | Line 24: | ||
===Examples=== | ===Examples=== | ||
+ | *The horizontal lines below separate examples for clarity and do not appear when template is invoked. | ||
+ | ---- | ||
+ | ---- | ||
====Example of using this template for a US State==== | ====Example of using this template for a US State==== | ||
*<nowiki> | *<nowiki> | ||
Line 29: | Line 32: | ||
|CategoryName=Texas</nowiki><br/><nowiki> | |CategoryName=Texas</nowiki><br/><nowiki> | ||
|StateWikiArticle=Texas (US)}}</nowiki><br/> | |StateWikiArticle=Texas (US)}}</nowiki><br/> | ||
+ | ---- | ||
=====Result===== | =====Result===== | ||
Welcome to the "Category:Texas" category which is a sub-category of "[[:Category:Collaboration]]". Please assign this category to all articles relating to information from entities in the state of Texas. | Welcome to the "Category:Texas" category which is a sub-category of "[[:Category:Collaboration]]". Please assign this category to all articles relating to information from entities in the state of Texas. | ||
Line 37: | Line 41: | ||
You may find this state's Wiki article at '''[[Texas (US)]]'''. | You may find this state's Wiki article at '''[[Texas (US)]]'''. | ||
+ | ---- | ||
+ | ---- | ||
====Example of using this template for the US District of Columbia==== | ====Example of using this template for the US District of Columbia==== | ||
*<nowiki> | *<nowiki> | ||
Line 43: | Line 49: | ||
|loctype=district</nowiki><br/><nowiki> | |loctype=district</nowiki><br/><nowiki> | ||
|StateWikiArticle=District of Columbia (DC)}}</nowiki><br/> | |StateWikiArticle=District of Columbia (DC)}}</nowiki><br/> | ||
+ | ---- | ||
=====Result===== | =====Result===== | ||
Welcome to the "Category:District of Columbia" category which is a sub-category of "[[:Category:Collaboration]]". Please assign this category to all articles relating to information from entities in the district of District of Columbia. | Welcome to the "Category:District of Columbia" category which is a sub-category of "[[:Category:Collaboration]]". Please assign this category to all articles relating to information from entities in the district of District of Columbia. | ||
Line 51: | Line 58: | ||
You may find this district's Wiki article at '''[[District of Columbia (DC)]]'''. | You may find this district's Wiki article at '''[[District of Columbia (DC)]]'''. | ||
+ | ---- | ||
+ | ---- | ||
====Example of using this template for a Canadian Province==== | ====Example of using this template for a Canadian Province==== | ||
*<nowiki> | *<nowiki> | ||
Line 58: | Line 67: | ||
|StateWikiArticle=Quebec (CA)</nowiki><br/><nowiki> | |StateWikiArticle=Quebec (CA)</nowiki><br/><nowiki> | ||
|ParentCat=Province Data}}</nowiki><br/> | |ParentCat=Province Data}}</nowiki><br/> | ||
+ | ---- | ||
=====Result===== | =====Result===== | ||
Welcome to the "Category:Quebec" category which is a sub-category of "[[:Category:Province Data]]". Please assign this category to all articles relating to information from entities in the province of Quebec. | Welcome to the "Category:Quebec" category which is a sub-category of "[[:Category:Province Data]]". Please assign this category to all articles relating to information from entities in the province of Quebec. | ||
Line 65: | Line 75: | ||
You may find this province's Wiki article at '''[[Quebec (CA)]]'''. | You may find this province's Wiki article at '''[[Quebec (CA)]]'''. | ||
+ | ---- | ||
+ | ---- |
Revision as of 07:40, 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 | |||
.
Documentation Sub-page for Template:Cat_State
Scope of Use
- This template should be used to build category-pages for US States, Territories, etc. and Canadian Provinces.
Variables
- Specified values will override default values.
- Specified values and Default values are all case-sensitive.
Variable Name | Var Description | Expected Value(s) | Default Value | Notes |
---|---|---|---|---|
CategoryName | the category-article's own name (not its parent's name). | |||
ParentCat | (Parent Category) | name of the article's parent category | Collaboration | |
loctype | (location type) | normal values would be either "state", "province", or "district". | state | |
StateWikiArticle | the proper title for the related Wiki article. |
Examples
- The horizontal lines below separate examples for clarity and do not appear when template is invoked.
Example of using this template for a US State
-
{{Cat_State
|CategoryName=Texas
|StateWikiArticle=Texas (US)}}
Result
Welcome to the "Category:Texas" category which is a sub-category of "Category:Collaboration". Please assign this category to all articles relating to information from entities in the state of Texas.
To assign this category to an article, please add [[Category:Texas]] as the last line.
You may find this state's Wiki article at 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)}}
Result
Welcome to the "Category:District of Columbia" category which is a sub-category of "Category:Collaboration". Please assign this category to all articles relating to information from entities in the district of District of Columbia.
To assign this category to an article, please add [[Category:District of Columbia]] as the last line.
You may find this district's Wiki article at 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}}
Result
Welcome to the "Category:Quebec" category which is a sub-category of "Category:Province Data". Please assign this category to all articles relating to information from entities in the province of Quebec.
To assign this category to an article, please add [[Category:Quebec]] as the last line.
You may find this province's Wiki article at Quebec (CA).