Difference between revisions of "QDP2012/30"
From The RadioReference Wiki
< User:QDP2012
m |
m |
||
Line 34: | Line 34: | ||
! Parameter Name | ! Parameter Name | ||
! colspan="2" | Parameter Details | ! colspan="2" | Parameter Details | ||
− | |- | + | |- <!-- ***** parameter row ***** --> |
| '''State''' | | '''State''' | ||
| align="right" | Notes: | | align="right" | Notes: | ||
Line 40: | Line 40: | ||
*{{color|red|A value is Required}}<br/>This template's use is not limited to politically-defined "states". The parameter '''State''' can be assigned a theme-based value instead. See any of '''[[:Category:Special Topics]]''''s sub-categories for example. | *{{color|red|A value is Required}}<br/>This template's use is not limited to politically-defined "states". The parameter '''State''' can be assigned a theme-based value instead. See any of '''[[:Category:Special Topics]]''''s sub-categories for example. | ||
− | |- bgcolor="lightyellow" | + | |- bgcolor="lightyellow" <!-- ***** parameter row ***** --> |
| rowspan="2" | '''State2''' | | rowspan="2" | '''State2''' | ||
| align="right" | Expected Value(s): | | align="right" | Expected Value(s): | ||
Line 53: | Line 53: | ||
**'''State2''''s value should be the name of the '''State'''-category's primary parent, and should have a value very similar to '''State''''s value when possible. | **'''State2''''s value should be the name of the '''State'''-category's primary parent, and should have a value very similar to '''State''''s value when possible. | ||
− | |- | + | |- <!-- ***** parameter row ***** --> |
| rowspan="2" | '''StateParentNotFreq''' | | rowspan="2" | '''StateParentNotFreq''' | ||
| align="right" | Expected Value(s): | | align="right" | Expected Value(s): | ||
Line 66: | Line 66: | ||
*Please do not assign a specific value to this parameter. | *Please do not assign a specific value to this parameter. | ||
− | |- bgcolor="lightyellow" | + | |- bgcolor="lightyellow" <!-- ***** parameter row ***** --> |
| '''Other''' | | '''Other''' | ||
| align="right" | Notes: | | align="right" | Notes: | ||
Line 72: | Line 72: | ||
*{{color|red|A value is Required}} unless '''''BOTH''''' '''HideOtherInTitle''' and '''HideOtherInList''' are utilized to hide the value of '''Other''' | *{{color|red|A value is Required}} unless '''''BOTH''''' '''HideOtherInTitle''' and '''HideOtherInList''' are utilized to hide the value of '''Other''' | ||
− | |- | + | |- <!-- ***** parameter row ***** --> |
− | + | | rowspan="2" | '''Other2''' | |
− | + | | align="right" | Expected Value(s): | |
− | <!-- | + | || |
− | + | * not specified '''''(Default value)''''' | |
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | * | ||
− | |||
− | |||
− | |||
* specified with specific value | * specified with specific value | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | | align="right" | Notes: |
− | + | || | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
* When not specified, '''Other''' value is used in the categories-list | * When not specified, '''Other''' value is used in the categories-list | ||
* When specified with a specific value, the specific value is used to override '''Other''' in the categories-list, but not in the title. | * When specified with a specific value, the specific value is used to override '''Other''' in the categories-list, but not in the title. | ||
*Also, see notes about parameter '''HideOtherInList''' | *Also, see notes about parameter '''HideOtherInList''' | ||
+ | |||
+ | |- bgcolor="lightyellow" <!-- ***** parameter row ***** --> | ||
+ | | rowspan="2" | '''OtherIsNotFreq''' | ||
+ | | align="right" | Expected Value(s): | ||
+ | || | ||
+ | * not specified '''''(Default value)''''' | ||
+ | * specified with no value | ||
|- bgcolor="lightyellow" | |- bgcolor="lightyellow" | ||
− | | | + | | align="right" | Notes: |
− | + | || | |
− | |||
− | |||
* When not specified, the word "Frequencies" is appended to the '''Other''' (or '''Other2''' if used) value in the categories-list. | * When not specified, the word "Frequencies" is appended to the '''Other''' (or '''Other2''' if used) value in the categories-list. | ||
* When specified with no value, the word "Frequencies" is NOT appended to the '''Other''' (or '''Other2''' if used) value in the categories-list. | * When specified with no value, the word "Frequencies" is NOT appended to the '''Other''' (or '''Other2''' if used) value in the categories-list. | ||
*With rare exception, Please do not assign a specific value to this parameter. | *With rare exception, Please do not assign a specific value to this parameter. | ||
**Exception: [[:Category:Amateur Radio Repeaters]] | **Exception: [[:Category:Amateur Radio Repeaters]] | ||
+ | |||
+ | |- | ||
+ | |} | ||
+ | |||
+ | <!-- --------------------------------------- --> | ||
+ | |||
+ | {| {{table}} width="100%" | ||
+ | |- bgcolor="lightgrey" | | ||
+ | ! Parameter Name !! Parameter Description !! Expected Value(s) !! Default Value !! Notes | ||
|- | |- | ||
| '''OtherFreqInState''' || || | | '''OtherFreqInState''' || || |
Revision as of 01:14, 14 December 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 | |||
.
- Consider:
- Template:Text_CatStateOtherFreq: Should OtherIsNotFreq be applied to bottom categories-list like it is the upper categories-list?
- It seems "no" is proper answer to above question.
- Wouldn't "no" create situation where list and footer are out of sync?
- It seems "no" is proper answer to above question.
- Template:Text_CatStateOtherFreq: Should OtherIsNotFreq be applied to bottom categories-list like it is the upper categories-list?
Contents
- 1 Documentation Sub-page for Template:Text_CatStateOtherFreq
- 1.1 Scope of Use
- 1.2 Parameters
- 1.3 Parameter-Use Examples
- 1.3.1 Parameter-Use Examples: Emergency Services Frequencies
- 1.3.2 Parameter-Use Examples: General Services Frequencies
- 1.3.3 Parameter-Use Examples: Federal/Military Frequencies
- 1.3.4 Parameter-Use Examples: Top-level "Theme"-Frequencies Categories
- 1.3.5 Parameter-Use Examples: Aviation Frequencies for a Specific Theme
- 1.3.6 Parameter-Use Examples: CSX Transportation Frequencies
- 1.3.7 Parameter-Use Examples: US Agency Frequencies
- 1.3.8 Parameter-Use Examples: United States Military Branch Frequencies
- 1.3.9 Railroad Frequencies
- 2 PositionMarker
- 2.1 How to invoke this template for a simpler (state) frequencies TEMPLATE
- 2.2 How to invoke this template for a simpler US (Agency) Frequencies in (State) TEMPLATE
- 2.3 How to invoke this template for a simpler United States (MilBranch) Frequencies in (State) TEMPLATE
- 2.4 How to invoke this template for a (theme) frequencies CATEGORY
- 2.5 How to invoke this template for ...(idea 5)
- 2.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.
- This creates a standardized presentation-style for the text displayed on all individual "...Frequencies" categories and all "...Frequencies" category-templates. Exceptions should be few.
- naturally applies to state-, county-, and country-based "...Frequencies" categories
- is also intended to be used to create "...Frequencies" categories that are not state-, county-, or country-based, such as top-level theme-based "...Frequencies" categories.
- functions as the base upon which individual "...Frequencies" categories, and simpler "...Frequencies" categories-templates are built.
Directly Invoked By
- Template:Text_CatStateOtherFreq should be directly invoked only by
- simpler "...Frequencies" categories-templates, or
- top-level theme-based "...Frequencies" categories, or
- individual "...Frequencies" categories for which a 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, Default values, and Parameter names are all case-sensitive.
Parameter Name | Parameter Details | |
---|---|---|
State | Notes: |
|
State2 | Expected Value(s): |
|
Notes: |
| |
StateParentNotFreq | Expected Value(s): |
|
Notes: |
| |
Other | Notes: |
|
Other2 | Expected Value(s): |
|
Notes: |
| |
OtherIsNotFreq | Expected Value(s): |
|
Notes: |
|
Parameter Name | Parameter Description | Expected Value(s) | Default Value | Notes |
---|---|---|---|---|
OtherFreqInState |
|
not specified |
| |
Country |
|
not specified |
| |
Parent3 | n/a | Using values from parameters above, either:
|
| |
Parent4 |
|
not specified |
| |
Parent5 |
|
not specified |
| |
Parent6 |
|
not specified |
| |
Parent7 |
|
not specified |
| |
Articles |
|
not specified |
| |
MoreText |
|
not specified |
| |
HideOtherInTitle |
|
not specified |
| |
HideOtherInList |
|
not specified |
| |
HideParent3 |
|
not specified |
| |
HideParent4 |
|
not specified |
| |
HideParent5 |
|
not specified |
| |
HideParent6 |
|
not specified |
| |
HideParent7 |
|
not specified |
|
Parameter-Use Examples
- Selected examples that illustrate various combinations of parameters:
Parameter-Use Examples: Emergency Services Frequencies
Categories-Templates: Emergency Services Frequencies} | Parameters used
[http://www.airnav.com/airport/ ] |
Parameter-Use Examples: General Services Frequencies
Categories-Templates: General Services Frequencies} | Parameters used |
Parameter-Use Examples: Federal/Military Frequencies
Categories-Templates: Federal/Military Frequencies} | Parameters used |
Parameter-Use Examples: Top-level "Theme"-Frequencies Categories
Categories: Top-level "Theme" Frequencies} | Parameters used |
Parameter-Use Examples: Aviation Frequencies for a Specific Theme
Categories: Aviation Frequencies for a Specific Theme} | Parameters used |
Parameter-Use Examples: CSX Transportation Frequencies
Category:CSX Transportation Frequencies} | Parameters used |
Parameter-Use Examples: US Agency Frequencies
Categories: US Agency Frequencies} | Parameters used |
Parameter-Use Examples: United States Military Branch Frequencies
Category:United States Air Force Frequencies} | Parameters used |
Railroad Frequencies
- Category:European Railroads Frequencies -- continent railroads freqs
PositionMarker
- The horizontal lines below separate examples for clarity and do not appear when template is invoked.
How to invoke this template for a simpler (state) frequencies TEMPLATE
- Template_CatStateFreq is an example of a simpler category-template that is used to build state-level, district-level, province-level, or country-level, "Frequencies" categories:
{{Text_CatStateOtherFreq| State={{{State}}}| StateParentNotFreq=| Other={{{FreqParent|Wiki}}}| HideOtherInTitle=| HideParent3=| MoreText={{{MoreText|}}}| HideParent4=| HideParent5=| HideParent6=| HideParent7=}}
Result
- See Template:Cat_StateFreq for for the actual category-template.
How to invoke this template for a simpler US (Agency) Frequencies in (State) TEMPLATE
- {{Cat_USFedFreqInState...}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
How to invoke this template for a simpler United States (MilBranch) Frequencies in (State) TEMPLATE
- {{Cat_USMilFreqInState...}}
Result
.(either show the verbatim result, or describe it in sufficient detail)
How to invoke this template for a (theme) frequencies CATEGORY
- {{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 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