Difference between revisions of "QDP2012/30"
From The RadioReference Wiki
< User:QDP2012
m |
m |
||
Line 9: | Line 9: | ||
====Directly Invoked By==== | ====Directly Invoked By==== | ||
− | *'''[[:Template:Text_CatStateOtherFreq]]''' should be directly invoked only by either simpler "categories"-templates, or by individual | + | *'''[[:Template:Text_CatStateOtherFreq]]''' should be directly invoked only by either simpler "...Frequencies" "categories"-templates, or by individual "...Frequencies" categories for which such an applicable simpler "...Frequencies" "categories"-template does not exist. |
====Not Intended For==== | ====Not Intended For==== | ||
− | *'''[[:Template:Text_CatStateOtherFreq]]''' should not be directly invoked by anything other than "categories" pages, or simpler "categories"-templates. | + | *'''[[:Template:Text_CatStateOtherFreq]]''' should not be directly invoked by anything other than "...Frequencies" "categories" pages, or simpler "...Frequencies" "categories"-templates. |
===Parameters=== | ===Parameters=== | ||
Line 24: | Line 24: | ||
| '''State''' || || || ||{{color|red|A value is Required}} | | '''State''' || || || ||{{color|red|A value is Required}} | ||
|- | |- | ||
− | | '''State2''' || || | + | | '''State2''' || || |
+ | * not specified | ||
+ | * specified with specific value | ||
+ | || not specified || | ||
+ | * When not specified, '''State''' value is used in the category-list | ||
+ | * When specified with a specific value, the specific value is used to override '''State''' in the list of categories, but not in the title. | ||
|- | |- | ||
− | | '''StateParentNotFreq''' || || | + | | '''StateParentNotFreq''' || || |
+ | * not specified | ||
+ | * specified with no value | ||
+ | || not specified || | ||
+ | * When not specified, the word "Frequencies" is appended to the '''State''' or '''State2''' value in the category-list. | ||
+ | * When specified with no value, the word "Frequencies" is NOT appended to the '''State''' or '''State2''' value in the category-list. | ||
|- | |- | ||
| '''Other''' || || || || | | '''Other''' || || || || | ||
+ | *A value is expected unless '''''BOTH''''' '''HideOtherInTitle''' and '''HideOtherInList''' are utilized to hide the value of '''Other''' | ||
|- | |- | ||
− | | '''Other2''' || || | + | | '''Other2''' || || |
+ | * not specified | ||
+ | * specified with specific value | ||
+ | || not specified || | ||
+ | * When not specified, '''Other''' value is used in the category-list | ||
+ | * When specified with a specific value, the specific value is used to override '''Other''' in the list of categories, but not in the title. | ||
|- | |- | ||
− | | '''OtherIsNotFreq''' || || | + | | '''OtherIsNotFreq''' || || |
+ | * not specified | ||
+ | * specified with no value | ||
+ | || not specified || | ||
+ | * When not specified, the word "Frequencies" is appended to the '''Other''' or '''Other2''' value in the category-list. | ||
+ | * When specified with no value, the word "Frequencies" is NOT appended to the '''Other''' or '''Other2''' value in the category-list. | ||
|- | |- | ||
− | | '''OtherFreqInState''' || || | + | | '''OtherFreqInState''' || || |
+ | * not specified | ||
+ | * <nowiki>US {{{Agency}}} in {{{State}}}</nowiki> | ||
+ | * <nowiki>United States {{{MilBranch}}} in {{{State}}}</nowiki> | ||
+ | || not specified || | ||
+ | *This overrides the value displayed in the title and the page's example category-statement. | ||
+ | *This does not influence the list of parent-categories. | ||
+ | *Values for '''State''' and '''Other''' should still be assigned appropriately. | ||
|- | |- | ||
| '''Parent4''' || || || || | | '''Parent4''' || || || || |
Revision as of 08:49, 22 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
- 1 Documentation Sub-page for Template:Text_CatStateOtherFreq
- 1.1 Scope of Use
- 1.2 Parameters
- 1.3 Examples
- 1.3.1 How to invoke this template for ...(idea 1)
- 1.3.2 How to invoke this template for ...(idea 2)
- 1.3.3 How to invoke this template for ...(idea 3)
- 1.3.4 How to invoke this template for ...(idea 4)
- 1.3.5 How to invoke this template for ...(idea 5)
- 1.3.6 How to avoid common error(s) while invoking this template for ...(idea 6)
Documentation Sub-page for Template:Text_CatStateOtherFreq
Scope of Use
Purpose
- Template:Text_CatStateOtherFreq is designed to be a "text"-template which functions as the base upon which individual "...Frequencies" categories, and simpler "...Frequencies" "categories"-templates are built, thereby creating a standardized presentation-style for the text displayed on all individual "...Frequencies" categories and all "...Frequencies" category-templates. Exceptions should be few. This template naturally applies to state-, county-, and country-based "...Frequencies" categories, but can be used in a similar manner to create "...Frequencies" categories that are not state-, county-, or country-based.
Directly Invoked By
- Template:Text_CatStateOtherFreq should be directly invoked only by either simpler "...Frequencies" "categories"-templates, or by individual "...Frequencies" categories for which such an applicable simpler "...Frequencies" "categories"-template does not exist.
Not Intended For
- Template:Text_CatStateOtherFreq should not be directly invoked by anything other than "...Frequencies" "categories" pages, or simpler "...Frequencies" "categories"-templates.
Parameters
- Specified values will override default values.
- Specified values and Default values are all case-sensitive.
Parameter Name | Parameter Description | Expected Value(s) | Default Value | Notes |
---|---|---|---|---|
State | A value is Required | |||
State2 |
|
not specified |
| |
StateParentNotFreq |
|
not specified |
| |
Other |
| |||
Other2 |
|
not specified |
| |
OtherIsNotFreq |
|
not specified |
| |
OtherFreqInState |
|
not specified |
| |
Parent4 | ||||
Parent5 | ||||
Parent6 | ||||
Parent7 | ||||
Articles | ||||
MoreText | ||||
HideOtherInTitle | ||||
HideOtherInList | ||||
HideParent3 | ||||
HideParent4 | ||||
HideParent5 | ||||
HideParent6 | ||||
HideParent7 |
Examples
- The horizontal lines below separate examples for clarity and do not appear when template is invoked.
How to invoke this template for ...(idea 1)
- {{template_name|required parameters and values}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
How to invoke this template for ...(idea 2)
- {{template_name|required parameters and different values}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
How to invoke this template for ...(idea 3)
- {{template_name|required parameters and values that override defaults}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
How to invoke this template for ...(idea 4)
- {{template_name|all parameters and values in more complex or advanced configuration}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
How to invoke this template for ...(idea 5)
- {{template_name|parameters and values that produce unexpected but useful result}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
How to avoid common error(s) while invoking this template for ...(idea 6)
- {{template_name|parameters and values to show how not to invoke this template}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
Return to: Template:Text_CatStateOtherFreq