Difference between revisions of "QDP2012/30"
From The RadioReference Wiki
< User:QDP2012
m |
m |
||
Line 99: | Line 99: | ||
**Exception: [[:Category:Amateur Radio Repeaters]] | **Exception: [[:Category:Amateur Radio Repeaters]] | ||
− | |- | + | |- <!-- ***** parameter row ***** --> |
− | + | | rowspan="2" | '''OtherFreqInState''' | |
− | + | | align="right" | Expected Value(s): | |
− | <!-- | + | || |
− | + | * not specified '''''(Default value)''''' | |
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
* <nowiki>US {{{Agency}}} Frequencies in {{{State}}}</nowiki> | * <nowiki>US {{{Agency}}} Frequencies in {{{State}}}</nowiki> | ||
* <nowiki>United States {{{MilBranch}}} Frequencies in {{{State}}}</nowiki> | * <nowiki>United States {{{MilBranch}}} Frequencies in {{{State}}}</nowiki> | ||
− | || | + | |- |
+ | | align="right" | Notes: | ||
+ | || | ||
*This overrides the value displayed in the title and the page's example category-statement. | *This overrides the value displayed in the title and the page's example category-statement. | ||
*This does not influence the list of parent-categories. | *This does not influence the list of parent-categories. | ||
− | *Values for '''State''' and '''Other''' should | + | *Values for '''State''' and '''Other''' still should be assigned appropriately. |
+ | |||
+ | |- bgcolor="lightyellow" <!-- ***** parameter row ***** --> | ||
+ | | rowspan="2" | '''Country''' | ||
+ | | align="right" | Expected Value(s): | ||
+ | || | ||
+ | * not specified '''''(Default value)''''' | ||
+ | * specified with specific value, followed by a space (possibly &nbsp;) | ||
|- bgcolor="lightyellow" | |- bgcolor="lightyellow" | ||
− | | | + | | align="right" | Notes: |
− | + | || | |
− | |||
− | |||
*This allows a country-name to be assigned as the prefix to the '''Other''' (or '''Other2''') value in the categories-list only. It does not influence the value of '''Other''' (or '''Other2''') in the title. | *This allows a country-name to be assigned as the prefix to the '''Other''' (or '''Other2''') value in the categories-list only. It does not influence the value of '''Other''' (or '''Other2''') in the title. | ||
*When specified, the '''Country''' value is displayed in the categories-list immediately prior to the value of '''Other''' (or '''Other2'''). | *When specified, the '''Country''' value is displayed in the categories-list immediately prior to the value of '''Other''' (or '''Other2'''). | ||
*When not specified, no value is displayed. | *When not specified, no value is displayed. | ||
*Also, see notes about parameter '''HideOtherInList''' | *Also, see notes about parameter '''HideOtherInList''' | ||
+ | |||
+ | |- <!-- ***** parameter row ***** --> | ||
+ | | rowspan="3" | '''Parent3''' | ||
+ | | align="right" | Expected Value(s): | ||
+ | || | ||
+ | *value is automatically set. Wiki-editor cannot manually specify value. | ||
+ | |- | ||
+ | | align="right" | Default Value(s): | ||
+ | || | ||
+ | Using values from parameters above, either: | ||
+ | *'''State''' '''Other''', or '''State2''' '''Other''', or '''State''' '''Other2''', or '''State2''' '''Other2''' | ||
|- | |- | ||
− | | | + | | align="right" | Notes: |
− | |||
− | |||
− | |||
− | |||
|| | || | ||
*'''Parent3's''' value is automatically created using the values of '''State''' (or '''State2''' if used) and '''Other''' (or '''Other2''' if used). | *'''Parent3's''' value is automatically created using the values of '''State''' (or '''State2''' if used) and '''Other''' (or '''Other2''' if used). | ||
*'''Parent3's''' value cannot be manually assigned by the Wiki-editor; but can be hidden using '''HideParent3''' listed below. | *'''Parent3's''' value cannot be manually assigned by the Wiki-editor; but can be hidden using '''HideParent3''' listed below. | ||
+ | |||
+ | |- | ||
+ | |} | ||
+ | |||
+ | <!-- --------------------------------------- --> | ||
+ | |||
+ | {| {{table}} width="100%" | ||
+ | |- bgcolor="lightgrey" | | ||
+ | ! Parameter Name !! Parameter Description !! Expected Value(s) !! Default Value !! Notes | ||
|- bgcolor="lightyellow" | |- bgcolor="lightyellow" | ||
| '''Parent4''' || || | | '''Parent4''' || || |
Revision as of 07:11, 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: |
| |
OtherFreqInState | Expected Value(s): |
|
Notes: |
| |
Country | Expected Value(s): |
|
Notes: |
| |
Parent3 | Expected Value(s): |
|
Default Value(s): |
Using values from parameters above, either:
| |
Notes: |
|
Parameter Name | Parameter Description | Expected Value(s) | Default Value | Notes |
---|---|---|---|---|
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