Actions

User

Difference between revisions of "QDP2012/30/1"

From The RadioReference Wiki

< User:QDP2012‎ | 30
m (.)
m (.)
Line 5: Line 5:
 
*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===
 
===Variables===
*'''CategoryName'''
+
*Specified values will override default values.
**the category-article's own name (not its parent's name).
+
*Specified values and Default values are all case-sensitive.
  
*'''ParentCat''' (Parent Category)
+
<table border="1" width="100%">
**name of the article's parent category.<br/>Specifying a value will override the default which is "Collaboration".
+
<tr>
 +
<th>Variable Name
 +
<th>Var Description
 +
<th>Expected Value(s)
 +
<th>Default Value
 +
<th>Notes
 +
</tr>
 +
<tr>
 +
<td>'''CategoryName'''
 +
<td>
 +
<td>the category-article's own name (not its parent's name).
 +
<td>
 +
<td>
 +
</tr>
 +
<tr>
 +
<td>'''ParentCat'''
 +
<td>(Parent Category)
 +
<td>name of the article's parent category
 +
<td>Collaboration
 +
<td>
 +
</tr>
 +
<tr>
 +
<td>'''loctype'''
 +
<td>(location type)
 +
<td>normal values would be either "state", "province", or "district".
 +
<td>state
 +
<td>
 +
</tr>
 +
<tr>
 +
<td>'''StateWikiArticle'''
 +
<td>
 +
<td>the proper title for the related Wiki article.
 +
<td>
 +
<td>
 +
</tr>
  
*'''loctype''' (location type)
 
**normal values would be either "state", "province", or "district".<br/>Specifying a value will override the default, which is "state".
 
  
*'''StateWikiArticle'''
+
</table>
**the proper title for the related Wiki article.
 
  
 
===Examples===
 
===Examples===

Revision as of 02:12, 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

InfoBox project related:
Template:ForTestingOnly
OLD: NEW:






.

Documentation Sub-page for Template:Cat_State

Scope of Use

  • This template may be used 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

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}}