Difference between revisions of "QDP2012/30/1"
From The RadioReference Wiki
< User:QDP2012 | 30
m |
m |
||
Line 4: | Line 4: | ||
===Scope of Use=== | ===Scope of Use=== | ||
====Purpose==== | ====Purpose==== | ||
− | *'''[[:Template:Cat_StateFreq]]''' should be used to build category-pages for individual US States, Territories, etc. and Canadian Provinces. | + | *'''[[:Template:Cat_StateFreq]]''' should be used to build frequency-related category-pages for individual US States, Territories, etc. and Canadian Provinces. |
− | *'''[[:Template:Cat_StateFreq]]''' is designed to be a category-template that provides a common and uniform structure for both the text that is displayed on, and the categories assigned to, specific "state"-level categories. | + | *'''[[:Template:Cat_StateFreq]]''' is designed to be a category-template that provides a common and uniform structure for both the text that is displayed on, and the categories assigned to, specific frequency-related "state"-level categories. |
====Directly Invoked By==== | ====Directly Invoked By==== | ||
− | *'''[[:Template:Cat_StateFreq]]''' should be directly invoked only by "state"-level category-pages. | + | *'''[[:Template:Cat_StateFreq]]''' should be directly invoked only by "state"-level frequency-related category-pages. |
====Not Intended For==== | ====Not Intended For==== | ||
− | *'''[[:Template:Cat_StateFreq]]''' should not be directly invoked by any other template or category, including state-specific sub-categories below a primary "state"-level category. | + | *'''[[:Template:Cat_StateFreq]]''' should not be directly invoked by any other template or category, including state-specific frequency-related sub-categories below a primary "state"-level frequency-related category. |
===Variables=== | ===Variables=== | ||
Line 20: | Line 20: | ||
! Variable Name !! Var Description !! Expected Value(s) !! Default Value !! Notes | ! Variable Name !! Var Description !! Expected Value(s) !! Default Value !! Notes | ||
|- | |- | ||
− | | ''' | + | | '''State''' || || || || {{color|red|A value is Required}} |
− | |||
− | |||
|- | |- | ||
− | | ''' | + | | '''FreqParent''' || ||name of the parent "...Frequencies" category <br/>(omit the word "Frequencies") ||Wiki || The word "Frequencies" is already present in the template and should '''not''' be included in the FreqParent value. |
− | |||
− | |||
|- | |- | ||
− | | ''' | + | | '''MoreText''' || || || (no value) || This variable allows for an optional custom message in the page's mid-section. When no value is specified, the variable name is hidden. |
− | |||
− | |||
− | |||
− | || | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
Line 55: | Line 42: | ||
---- | ---- | ||
---- | ---- | ||
+ | Examples: | ||
+ | *<nowiki>{{Cat_StateFreq|State=Utah}}</nowiki> | ||
+ | *<nowiki>{{Cat_StateFreq|State=Ontario}}</nowiki> | ||
+ | *<nowiki>{{Cat_StateFreq|State=My State|FreqParent=My Country Frequencies|MoreText=This example uses bogus names}}</nowiki> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Return to: [[:Template:Cat_StateFreq]] | |
− |
Revision as of 00:15, 8 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_StateFreq
Scope of Use
Purpose
- Template:Cat_StateFreq should be used to build frequency-related category-pages for individual US States, Territories, etc. and Canadian Provinces.
- Template:Cat_StateFreq is designed to be a category-template that provides a common and uniform structure for both the text that is displayed on, and the categories assigned to, specific frequency-related "state"-level categories.
Directly Invoked By
- Template:Cat_StateFreq should be directly invoked only by "state"-level frequency-related category-pages.
Not Intended For
- Template:Cat_StateFreq should not be directly invoked by any other template or category, including state-specific frequency-related sub-categories below a primary "state"-level frequency-related category.
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 |
---|---|---|---|---|
State | A value is Required | |||
FreqParent | name of the parent "...Frequencies" category (omit the word "Frequencies") |
Wiki | The word "Frequencies" is already present in the template and should not be included in the FreqParent value. | |
MoreText | (no value) | This variable allows for an optional custom message in the page's mid-section. When no value is specified, the variable name is hidden. |
Examples
- The horizontal lines below separate examples for clarity and do not appear when template is invoked.
How to invoke this template for a US State
-
{{Cat_StateFreq
|...
|...}}
Result
...
Examples:
- {{Cat_StateFreq|State=Utah}}
- {{Cat_StateFreq|State=Ontario}}
- {{Cat_StateFreq|State=My State|FreqParent=My Country Frequencies|MoreText=This example uses bogus names}}
Return to: Template:Cat_StateFreq