Actions

User

Difference between revisions of "QDP2012/30"

From The RadioReference Wiki

< User:QDP2012
m
m
Line 473: Line 473:
 
HideParent7=<nowiki>}}</nowiki>
 
HideParent7=<nowiki>}}</nowiki>
 
</blockquote>
 
</blockquote>
*Templates with similar syntax: [[Template:Cat_StateSpcEvtsFreq]]
+
*Templates with similar syntax: [[Template:Cat_StateSpcEvtsFreq]], [[:Template:Cat_StateUtilFreq]]
  
 
======Example: Template:Cat_StateUtilFreq======
 
======Example: Template:Cat_StateUtilFreq======

Revision as of 16:55, 26 November 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:






.



  • 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?

Contents

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.

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 Description Expected Value(s) Default Value Notes
State
  • A value is Required
    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.
State2
  • not specified
  • specified with specific value
not specified
  • When not specified, State value is used in the categories-list
  • When specified with a specific value, the specific value is used to override State in the categories-list, but not in the title.
    • 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.
StateParentNotFreq
  • not specified
  • specified with no value
not specified
  • When not specified, the word "Frequencies" is appended to the State (or State2 if used) value in the categories-list.
  • When specified with no value, the word "Frequencies" is NOT appended to the State (or State2 if used) value in the categories-list.
  • Please do not assign a specific value to this parameter.
Other
  • A value is Required unless BOTH HideOtherInTitle and HideOtherInList are utilized to hide the value of Other
Other2
  • not specified
  • specified with specific value
not specified
  • 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.
OtherIsNotFreq
  • not specified
  • specified with no value
not specified
  • 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.
  • With rare exception, Please do not assign a specific value to this parameter.
OtherFreqInState
  • not specified
  • US {{{Agency}}} Frequencies in {{{State}}}
  • United States {{{MilBranch}}} Frequencies in {{{State}}}
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.
Country
  • not specified
  • specified with specific value
not specified
  • 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 not specified, no value is displayed.
  • Also, see notes about parameter HideOtherInList
Parent3 n/a Using values from parameters above, either:
  • State Other, or
  • State2 Other, or
  • State Other2, or
  • State2 Other2
  • 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.
Parent4
  • not specified
  • specified with specific value
not specified
  • This allows an additional parent-category to be assigned.
  • When specified, the Parent4 value is displayed in the categories-list.
  • When not specified, the parameter HideParent4 should be utilized to hide Parent4.
Parent5
  • not specified
  • specified with specific value
not specified
  • This allows an additional parent-category to be assigned.
  • When specified, the Parent5 value is displayed in the categories-list.
  • When not specified, the parameter HideParent5 should be utilized to hide Parent5.
Parent6
  • not specified
  • specified with specific value
not specified
  • This allows an additional parent-category to be assigned.
  • When specified, the Parent6 value is displayed in the categories-list.
  • When not specified, the parameter HideParent6 should be utilized to hide Parent6.
Parent7
  • not specified
  • specified with specific value
not specified
  • This allows an additional parent-category to be assigned.
  • When specified, the Parent7 value is displayed in the categories-list.
  • When not specified, the parameter HideParent7 should be utilized to hide Parent7.
Articles
  • not specified
  • specified with specific value
not specified
  • Below the categories-list is the statement (without quotes):

    "Lists all the articles...as submitted by the members."
    • The ... in the line above represents the position of the default article-description which is (without quotes):

      " for Category:State that contain Other Frequencies"

  • When Articles is not specified, the default article-description is displayed.
  • When Articles is specified, the specific value replaces the default article-description.
  • Note: Usually, a non-breaking space (&nbsp;) should be used as the first character of the specific value.
MoreText
  • not specified
  • specified with specific value
not specified
  • When not specified, nothing is displayed
  • When specified, the specific value is displayed above the example category-statement, approximately in the middle of the page.
  • Horizontal lines and html-breaks are often used to provide visual separation and bring attention to this parameter's value.
HideOtherInTitle
  • not specified
  • specified with no value
not specified
  • When not specified, the value of Other is displayed in the title
  • When specified with no value, the value of Other is not displayed in the title
  • Please do not assign a specific value to this parameter.
HideOtherInList
  • not specified
  • specified with no value
not specified
  • When not specified, the value of Country, if used, and the value of Other (or Other2 if used) are displayed in the categories-list
  • When specified with no value, the value of Country, if used, and the value of Other (or Other2 if used) are not displayed in the categories-list
  • Please do not assign a specific value to this parameter.
HideParent3
  • not specified
  • specified with no value
not specified
  • When not specified, the value of Parent3 is displayed
  • When specified with no value, the value of Parent3 is not displayed
  • Please do not assign a specific value to this parameter.
HideParent4
  • not specified
  • specified with no value
not specified
  • When not specified, the value of Parent4 is displayed
  • When specified with no value, the value of Parent4 is not displayed
  • Please do not assign a specific value to this parameter.
HideParent5
  • not specified
  • specified with no value
not specified
  • When not specified, the value of Parent5 is displayed
  • When specified with no value, the value of Parent5 is not displayed
  • Please do not assign a specific value to this parameter.
HideParent6
  • not specified
  • specified with no value
not specified
  • When not specified, the value of Parent6 is displayed
  • When specified with no value, the value of Parent6 is not displayed
  • Please do not assign a specific value to this parameter.
HideParent7
  • not specified
  • specified with no value
not specified
  • When not specified, the value of Parent7 is displayed
  • When specified with no value, the value of Parent7 is not displayed
  • Please do not assign a specific value to this parameter.

Examples

Scratchpad/Temp Notes

Category-Templates: Emergency Services Frequencies
  • Selected examples that illustrate various combinations of parameters:
Example: Template:Cat_StateFireSvcsFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
Other=Fire Services|
Country={{{Country|}}}|
HideParent4=|
HideParent5=|
HideParent6=|
HideParent7=}}

Example: Template:Cat_StateFireSvcsAvFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
State2={{{State}}} Fire Services|
Other=Fire Services Aviation|
Country={{{Country|}}}|
HideParent3=|
Articles=&nbsp;relating to frequencies used by {{{State}}} fire services aviation activities involving aircraft such as helicopters, air tankers, etc.|
Parent4={{{State}}} Fire Services Aviation|
Parent5={{{State}}} Aviation Frequencies|
HideParent6=|
HideParent7=}}

Category-Templates: General Services Frequencies
  • Selected examples that illustrate various combinations of parameters:
Example: Template:Cat_StateAvFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
Other=Aviation|
Country={{{Country|}}}|
HideParent4=|
HideParent5=|
HideParent6=|
HideParent7=}}

Example: Template:Cat_StateAmateurRptr

{{Text_CatStateOtherFreq|
State={{{State}}}|
State2={{{State}}} Amateur Radio|
Other=Amateur Radio Repeaters|
Country={{{Country|}}}|
OtherIsNotFreq=|
HideOtherInList=|
Articles=&nbsp;that list amateur radio repeaters in {{{State}}},|
HideParent3=|
Parent4=Amateur Radio Repeaters|
HideParent5=|
HideParent6=|
HideParent7=}}

  • Templates with similar syntax:
Example: Template:Cat_StateBusFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
Other=Business|
Country={{{Country|}}}|
HideParent3=|
Parent4={{{State}}} Businesses|
HideParent5=|
HideParent6=|
HideParent7=}}

  • Templates with similar syntax:
Example: Template:Cat_StateBusComPrvFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
State2={{{State}}} Communications Providers|
StateParentNotFreq=|
Other=Communications Providers|
Country={{{Country|}}}|
HideParent3=|
MoreText=
<br/>

----


Please note:
*This category is only for articles about '''Part 90 Communications Providers''' Frequencies.
*If you want to find Part 22 Communications Common Carriers Frequencies, please navigate to [[:Category:Common Carriers Frequencies]].


----
<br/>|
Parent4={{{State}}} Business Frequencies|
HideParent5=|
HideParent6=|
HideParent7=}}

  • Templates with similar syntax:
Example: Template:Cat_StateBusFastFoodFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
State2={{{State}}} Business Frequencies|
StateParentNotFreq=|
Other=Fast Food|
Country={{{Country|}}}|
HideParent3=|
HideParent4=|
HideParent5=|
HideParent6=|
HideParent7=}}

  • Templates with similar syntax:
Example: Template:Cat_StateCivilAvFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
State2={{{State}}} Aviation|
Other=Civil Aviation|
Country={{{Country|}}}|
Articles=&nbsp;that contain information relating to frequencies used in {{{State}}} Civil Aviation|
HideParent3=|
MoreText=
<br/>
----


*Please note:
**Civil Aviation frequency-ranges may vary country to country.<br/><br/>
**For the U.S.: Please apply this category to all articles relating to activity (civil or military) heard in the 108-136 Mhz or 136-137 Mhz bands. <br/><br/>
***{{{State}}} Articles that contain frequencies between 128.525 and 132.0 Mhz, as well as 136-137 Mhz should have "[[:Category:{{{State}}} Business Frequencies]]" applied, also, because these frequencies belong to ASRI/ARINC, and are additionally utilized by [[ACARS]]<br/><br/>
**For other countries, please apply [[:Category:Civil Aviation Frequencies]], or its appropriate sub-category, to articles containing the frequencies used in your civil-aviation band(s).


----
<br/>|
Parent4={{{State}}} Civil Aviation|
HideParent5=|
HideParent6=|
HideParent7=}}

  • Templates with similar syntax:
Example: Template:Cat_StateCSXFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
State2={{{State}}} CSX Transportation|
StateParentNotFreq=|
Other=CSX Transportation|
Country={{{Country|}}}|
HideParent3=|
Parent4={{{State}}} Business Frequencies|
Parent5={{{State}}} Ground Transportation Frequencies|
Parent6={{{State}}} Railroads Frequencies|
HideParent7=}}

  • Templates with similar syntax:
Example: Template:Cat_StateEducFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
Other=Education|
Country={{{Country|}}}|
Articles=&nbsp;that contain information relating to {{{State}}} school operations, from pre-k to graduate school, including transportation like school buses|
HideParent4=|
HideParent5=|
HideParent6=|
HideParent7=}}

Example: Template:Cat_StateGrndTransFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
Other=Ground Transportation|
Country={{{Country|}}}|
MoreText=

----


Please note:
*Please apply this category to all {{{State}}} articles relating to frequencies used by ground-based transportation systems (buses, taxi cabs, railroads, etc.) and to government-agencies /departments /divisions of transportation.

*Please apply the category "{{{State}}} Civil Aviation Frequencies" to <nowiki>{{{State}}} articles describing frequencies used by air carriers (like DHL). </nowiki>


----

<br/>
|HideParent4=|
HideParent5=|
HideParent6=|
HideParent7=}}

Example: Template:Cat_StateMotorFrtFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
State2={{{State}}} Motor Freight|
StateParentNotFreq=|
Other=Motor Freight|
Country={{{Country|}}}|
HideParent3=|
Articles=&nbsp;relating to frequencies used by {{{State}}} trucking companies and package delivery services|
Parent4={{{State}}} Ground Transportation Frequencies|
HideParent5=|
HideParent6=|
HideParent7=}}

Example: Template:Cat_StateRecAtrFreq

{{Text_CatStateOtherFreq|
State={{{State}}}|
Other=Recreation or Attractions|
Country=|
Articles= that contain information relating to frequencies used by Recreation facilities, Recreation activities, or Attractions,|
MoreText=
<br/>
----


Please note:

  • Please apply this category to articles that describe frequencies used by:
    • Recreational facilities (i.e. Campgrounds, Golf Courses or Golf Resorts) -or-
    • Attractions such as Hersheypark, Dollywood, Six Flags



----
<br/>
| HideParent4=|
HideParent5=|
HideParent6=|
HideParent7=}}

Example: Template:Cat_StateUtilFreq
  • Templates with similar syntax:
Example: Template:Cat_StateUtilComCarFreq
  • Templates with similar syntax:
Example: Template:Cat_StateWeatherFreq
  • Templates with similar syntax:
Category-Templates: Federal/Military


Top Category for a Specific Theme
Aviation Category for a Specific Theme
US Agency Frequencies
United States Military Branch Frequencies
Railroad Frequencies



  • 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


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