Actions

User

Difference between revisions of "QDP2012/29"

From The RadioReference Wiki

< User:QDP2012
m (.)
m (.)
Line 4: Line 4:
 
----
 
----
 
==Documentation Sub-page for Template:Text_CatStateOther==
 
==Documentation Sub-page for Template:Text_CatStateOther==
 +
==Documentation Sub-page for Template:Text_CatStateOtherFreq==
 
===Scope of Use===
 
===Scope of Use===
 
====Purpose====
 
====Purpose====
*'''<nowiki>[[:</nowiki>Template:(template_name)<nowiki>]]</nowiki>''' should be used to build ... (explain here what this template builds, creates, or displays)
+
*'''[[:Template:Text_CatStateOtherFreq]]''' is designed to be a "text"-template which:
*'''<nowiki>[[:</nowiki>Template:(template_name)<nowiki>]]</nowiki>''' is designed to be a ("general-use" or "categories" or "set-of-related-pages")-template that... (describe this template's purpose with respect to commonality and/or uniformity of on-screen text, of categories assigned, of navigation-related links, of external resource links, etc.)
+
**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====
 
====Directly Invoked By====
*'''<nowiki>[[:</nowiki>Template:(template_name)<nowiki>]]</nowiki>''' should be directly invoked only by...(describe which specific articles, categories, and/or templates should invoke this template).
+
*'''[[: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====
 
====Not Intended For====
*'''<nowiki>[[:</nowiki>Template:(template_name)<nowiki>]]</nowiki>''' should not be directly invoked by...(describe which specific articles, categories, and/or templates should not invoke this template).
+
*'''[[:Template:Text_CatStateOtherFreq]]''' should not be directly invoked by anything other than "...Frequencies" "categories" pages, or simpler "...Frequencies" "categories"-templates.
  
 
===Parameters===
 
===Parameters===
 
*Specified values will override default values.
 
*Specified values will override default values.
*Specified values and Default values are all case-sensitive.
+
*Specified values, Default values, and Parameter names are all case-sensitive.
 +
*'''''Please Note:'''''
 +
**For consistency and conveniece, the parameter-names in the list below have been chosen to closely match the parameter-names used in '''[[:Template:Text_CatStateOther]]''' and '''[[:Template:Text_CatStateOtherNonRRDB]]'''. 
 +
**If parameter-names must be added or changed, please make the appropriate corresponding changes to '''[[:Template:Text_CatStateOther]]''' and '''[[:Template:Text_CatStateOtherNonRRDB]]''' also.  Please also update the related documentation pages, including [[:Template:Text_CatStateOther/doc/Compare]]
  
 
{| {{table}} width="100%"
 
{| {{table}} width="100%"
 
|- bgcolor="lightgrey" |  
 
|- bgcolor="lightgrey" |  
! Parameter Name !! Parameter Description !! Expected Value(s) !! Default Value !! Notes
+
! Parameter Name  
 +
! colspan="2" | Parameter Details
 +
|- <!-- ***** parameter row ***** -->
 +
| '''State''' 
 +
| align="right" | Notes:
 +
| width="100%" |
 +
*{{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]]'''' sub-categories for example.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''State2'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with specific value
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|-  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''StateParentNotFreq'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 
|-
 
|-
| '''(first parameter)'''<br/><br/>(list only one parameter per table-row) || (parameter description if parameter name is not clear; otherwise leave table-cell blank) ||  
+
| align="right" | Notes:
*unspecified or
+
||
*specified with no value or
+
* When not specified, the word "Frequencies" is appended to the '''State''' (or '''State2''' if used) value in the categories-list.
*specified value(s) (without quotes)
+
* When specified with no value, the word "Frequencies" is NOT appended to the '''State''' (or '''State2'''  if used) value in the categories-list.
**"value 1"
+
*Please do not assign a specific value to this parameter.
**"value 2"
+
 
**etc.
+
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| '''Other''' 
 +
| align="right" | Notes:
 +
||
 +
*{{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
 +
|-
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
*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"
 +
| align="right" | Notes:
 +
||
 +
* When not specified, the word "Frequencies" is appended to the '''Other''' (or '''Other2''' if used) value in the title and 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 title and in the categories-list.
 +
*With rare exception, Please do not assign a specific value to this parameter.
 +
**Exception: [[:Category:Amateur Radio Repeaters]]
 +
 
 +
|-  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''OtherFreqInState'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with a '''State'''-parameter related value.  Examples:
 +
** <tt>OtherFreqInState=<nowiki>US {{{Agency}}} Frequencies in {{{State}}}</nowiki>|</tt>
 +
** <tt>OtherFreqInState=<nowiki>United States {{{MilBranch}}} Frequencies in {{{State}}}</nowiki>|</tt>
 +
|-
 +
| align="right" | Notes:
 +
||
 +
*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''' 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 non-breaking space ('''<tt>&amp;nbsp;</tt>''')
 +
** Example: <tt>Country=Canada&amp;nbsp;|</tt>
 +
|- 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.
 +
*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'''
 +
 
 +
|-  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''Parent3'''
 +
| align="right" | Automatic Value(s):
 +
||
 +
Using values from parameters above, either:
 +
*'''State'''&nbsp;'''Other''',&nbsp;or '''State2'''&nbsp;'''Other''',&nbsp;or '''State'''&nbsp;'''Other2''',&nbsp;or '''State2'''&nbsp;'''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 cannot be manually assigned by the Wiki-editor; but can be hidden using '''HideParent3''' listed below.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''Parent4'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with specific value
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
*When specified, the '''Parent4''' value is displayed in the categories-list.
 +
*When not specified, please use '''HideParent4''' to hide '''Parent4'''.
 +
 
 +
|- <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''Parent5'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with specific value
 +
|-
 +
| align="right" | Notes:
 +
||
 +
*When specified, the '''Parent5''' value is displayed in the categories-list.
 +
*When not specified, please use '''HideParent5''' to hide '''Parent5'''.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''Parent6'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with specific value
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
*When specified, the '''Parent6''' value is displayed in the categories-list.
 +
*When not specified, please use '''HideParent6''' to hide '''Parent6'''.
 +
 
 +
|- <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''Parent7'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with specific value
 +
|-
 +
| align="right" | Notes:
 +
||
 +
*When specified, the '''Parent7''' value is displayed in the categories-list.
 +
*When not specified, please use '''HideParent7''' to hide '''Parent7'''.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''Articles'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with specific value, that begins with a non-breaking space (<tt>&amp;nbsp;</tt>).  Example:
 +
**<tt>Articles=&amp;nbsp;that list amateur radio repeaters in {{{State}}},|</tt>
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
*Below the categories-list is the following statement (without quotes):<br/><br/>"Lists all the articles<tt>...</tt>as submitted by the members."<br/>
 +
**The <tt>...</tt> in the line quoted above represents the position of the default article-description which is (without quotes):<br/><br/>" for '''Category:State''' that contain '''Other''' Frequencies"<br/><br/>
 +
*When '''Articles''' is not specified, the default article-description is displayed.
 +
*When '''Articles''' is specified, the specific value replaces the default article-description.
 +
**'''{{color|red|Note:}}''' Usually, a non-breaking space ('''<tt>&amp;nbsp;</tt>''') should be used as the first character of the specific value.
 +
 
 +
|- <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''MoreText'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with specific value
 +
|-
 +
| align="right" | Notes:
 
||  
 
||  
*list the default value, if one is used; otherwise leave table-cell blank
+
*When not specified, nothing is displayed
|| {{color|red|A value is Required}} (clearly indicate whether a value is required; use red font sparingly)<br/><br/>(list other notes here regarding this row'sparameter)
+
*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.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''HideOtherInTitle'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|- <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''HideOtherInList'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 +
|-
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''HideParent3'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|- <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''HideParent4'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 +
|-
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''HideParent5'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|- <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''HideParent6'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 +
|-
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|- bgcolor="lightyellow"  <!-- ***** parameter row ***** -->
 +
| rowspan="2" | '''HideParent7'''
 +
| align="right" | Expected Value(s):
 +
||
 +
* not specified '''''(Default value)'''''
 +
* specified with no value
 +
|- bgcolor="lightyellow"
 +
| align="right" | Notes:
 +
||
 +
* 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.
 +
 
 +
|-
 +
|} <!-- end of parameter table -->
 +
 
 +
* Please note:
 +
**The entire list of user-specified parameters is listed here for convenient copy-pasting. 
 +
**Please read the above table for instruction, and see the examples later in this page, on how to use the appropriate parameters.
 +
**There will never be a case when all of the following parameters are used at the same time.  Only use the needed parameters.  Thanks.
 +
**Parameter "Parent3" is not listed here because its value is automatic, not user-specified.
 +
 
 +
<nowiki>{{</nowiki>Text_CatStateOtherFreq|
 +
State=|
 +
State2=|
 +
StateParentNotFreq=|
 +
Other=|
 +
Other2=|
 +
OtherIsNotFreq=|
 +
HideOtherInTitle=|
 +
HideOtherInList=|
 +
Country=|
 +
Articles=|
 +
MoreText=|
 +
Parent4=|
 +
Parent5=|
 +
Parent6=|
 +
Parent7=|
 +
HideParent3=|
 +
HideParent4=|
 +
HideParent5=|
 +
HideParent6=|
 +
HideParent7=<nowiki>}}</nowiki>
 +
 
 +
===Parameter-Use Examples: Categories-Templates===
 +
*Selected examples that illustrate various combinations of parameters:
 +
====Categories-Templates: Emergency Services Frequencies====
 +
{| {{table}} width="100%"
 +
|-
 +
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories-Templates: Emergency Services Frequencies}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateFireSvcsFreq|
 +
Params=State, Other, Country,<br/>HideParent4,&nbsp;HideParent5,<br/>HideParent6, HideParent7|
 +
StateEx=[[:Category:Texas_Fire_Services_Frequencies]]<br/>[[:Category:Canada_Fire_Services_Frequencies]]<br/>[[:Category:Ontario_Fire_Services_Frequencies]]|
 +
Similar=[[:Template:Cat_StateLawEnfFreq]]<br/>[[:Template:Cat_StateMedicalFreq]]|
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateFireSvcsAvFreq|
 +
Params=State, State2, Other, Country, Articles, HideParent3, Parent4, Parent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:Texas_Fire_Services_Aviation_Frequencies]]|
 +
Similar=[[:Template:Cat_StateLawEnfAvFreq]]<br/>[[:Template:Cat_StateMedAvFreq]]
 +
}}
 +
|-
 +
|}
 +
 
 +
====Categories-Templates: General Services Frequencies====
 +
{| {{table}} width="100%"
 +
|-
 +
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories-Templates: General Services Frequencies}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateAvFreq|
 +
Params=State, Other, Country,<br/>HideParent4,&nbsp;HideParent5,<br/>HideParent6, HideParent7|
 +
StateEx=[[:Category:Texas_Aviation_Frequencies]]<br/>[[:Category:Bermuda_Aviation_Frequencies]]<br/>[[:Category:Canada_Aviation_Frequencies]]<br/>[[:Category:Ontario_Aviation_Frequencies]]|
 +
Similar=[[:Template:Cat_StateAmateurFreq]]<br/>[[:Template:Cat_StateMjrEvtDisFreq]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateAmateurRptr|
 +
Params=State, State2, Other, Country, OtherIsNotFreq, HideOtherInList, Articles, HideParent3, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:Texas_Amateur_Radio_Repeaters]]<br/>[[:Category:Canada_Amateur_Radio_Repeaters]]<br/>[[:Category:British_Columbia_Amateur_Radio_Repeaters]]|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateBusFreq|
 +
Params=State, Other, Country, HideParent3, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:Texas_Business_Frequencies]]<br/>[[:Category:Canada_Business_Frequencies]]<br/>[[:Category:Ontario_Business_Frequencies]]|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateBusComPrvFreq|
 +
Params=State, State2, StateParentNotFreq, Other, Country, HideParent3, MoreText, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:California_Communications_Providers_Frequencies]]<br/>[[:Category:Australia_Communications_Providers_Frequencies]]<br/>[[:Category:New_South_Wales_Communications_Providers_Frequencies]]|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateBusFastFoodFreq|
 +
Params=State, State2, StateParentNotFreq, Other, Country, HideParent3, HideParent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:New_York_Fast_Food_Frequencies]]<br/>[[:Category:Canada_Fast_Food_Frequencies]]<br/>[[:Category:Alberta_Fast_Food_Frequencies]]|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateCivilAvFreq|
 +
Params=State, State2, Other, Country, Articles, HideParent3, MoreText, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:Idaho_Civil_Aviation_Frequencies]]<br/>[[:Category:Canada_Civil_Aviation_Frequencies]]<br/>[[:Category:Nova_Scotia_Civil_Aviation_Frequencies]]|
 +
Similar=[[:Template:Cat_StateUtilComCarFreq]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateCSXFreq|
 +
Params=State, State2, StateParentNotFreq, Other, Country, HideParent3, Parent4, Parent5, Parent6, HideParent7|
 +
StateEx=[[:Category:Florida_CSX_Transportation_Frequencies]]<br/>[[:Category:Canada_CSX_Transportation_Frequencies]]<br/>[[:Category:Quebec_CSX_Transportation_Frequencies]]|
 +
Similar=[[:Template:Cat_StateUtilComCarFreq]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateEducFreq|
 +
Params=State, Other, Country, Articles, HideParent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:Michigan_Education_Frequencies]]|
 +
Similar=[[:Template:Cat_StateMediaFreq]]<br/>[[:Template:Cat_StateSportsFreq]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateGrndTransFreq|
 +
Params=State. Other. Country. MoreText. HideParent4. HideParent5. HideParent6. HideParent7|
 +
StateEx=[[:Category:New_York_Ground_Transportation_Frequencies]]<br/>[[:Category:Canada_Ground_Transportation_Frequencies]]<br/>[[:Category:Quebec_Ground_Transportation_Frequencies]]|
 +
Similar=[[Template:Cat_StateMarineFreq]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateMotorFrtFreq|
 +
Params=State, State2, StateParentNotFreq, Other, Country, HideParent3, Articles, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:New_York_Motor_Freight_Frequencies]]<br/>[[:Category:Canada_Motor_Freight_Frequencies]]<br/>[[:Category:Quebec_Motor_Freight_Frequencies]]|
 +
Similar=[[:Template:Cat_StateRailFreq]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateRecAtrFreq|
 +
Params=State, Other, Country, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:North_Carolina_Recreation_or_Attractions_Frequencies]]<br/>[[:Category:Canada_Recreation_or_Attractions_Frequencies]]<br/>[[:Category:Alberta_Recreation_or_Attractions_Frequencies]]|
 +
Similar=[[Template:Cat_StateSpcEvtsFreq]]<br/>[[:Template:Cat_StateUtilFreq]]<br/>[[:Template:Cat_StateWeatherFreq]]
 +
}}
 +
|-
 +
|}
 +
 
 +
====Categories-Templates: Federal/Military Frequencies====
 +
{| {{table}} width="100%"
 +
|-
 +
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories-Templates: Federal/Military Frequencies}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateAirShowsFreq|
 +
Params=State, State2, StateParentNotFreq, Other, Country, HideParent3, Parent4, Parent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:New York Air Show Frequencies]]|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateMilAvFreq|
 +
Params=State. State2, Other, Country, HideParent3, Articles, MoreText, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:California Military Aviation Frequencies]]|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_StateANGFreq|
 +
Params=State, Other, Country, HideParent4,&nbsp;HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:Maryland Air National Guard Frequencies]]|
 +
Similar=[[:Template:Cat_StateARNGFreq]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_USFedFreqInState|
 +
Params=OtherFreqInState, Agency, State, Other, Other2, HideParent3, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:US Land Management Frequencies in Nevada]]|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForTemp|
 +
TmpltName=Cat_USMilFreqInState|
 +
Params=OtherFreqInState, MilBranch, State, Other, Other2, HideParent3, Parent4, HideParent5, HideParent6, HideParent7|
 +
StateEx=[[:Category:United States Air Force Frequencies in New York]]|
 +
Similar=
 +
}}
 +
|-
 +
|}
 +
 
 +
===Parameter-Use Examples: Categories===
 +
*Selected examples that illustrate various combinations of parameters:
 +
====Categories: Top-level "Theme"-Frequencies====
 +
{| {{table}} width="100%"
 +
|-
 +
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories: Top-level "Theme" Frequencies}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Wiki Frequencies|
 +
Params=State, State2, StateParentNotFreq, HideOtherInTitle, HideOtherInList, Articles, HideParent3, MoreText, HideParent4,&nbsp;HideParent5, HideParent6, HideParent7|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Air Show Frequencies|
 +
Params=State, State2, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, Parent4, Parent5, HideParent6, HideParent7|
 +
Similar= [[:Category:Business Frequencies]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Amateur Radio Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, HideParent4, HideParent5, HideParent6, HideParent7|
 +
Similar=[[:Category:Education Frequencies]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Amateur Radio Repeaters|
 +
Params=State, Other, OtherIsNotFreq, HideOtherInTitle, HideOtherInList, HideParent4, HideParent5, HideParent6, HideParent7|
 +
Similar=''{{Color|red|Unique Special Case}}''
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Air National Guard Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Parent4, HideParent5, HideParent6, HideParent7|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Medical Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, HideParent4, HideParent5, HideParent6, HideParent7|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Railroads Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, HideParent4, HideParent5, HideParent6, HideParent7|
 +
Similar=
 +
}}
 +
|-
 +
|}
 +
 
 +
====Categories: Aviation Frequencies for a Specific Theme====
 +
{| {{table}} width="100%"
 +
|-
 +
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories: Aviation Frequencies for a Specific Theme}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Fire Services Aviation Frequencies|
 +
Params=State, Other, Articles, HideParent4,&nbsp;HideParent5, HideParent6, HideParent7|
 +
Similar=[[:Category:Law Enforcement Aviation Frequencies]]<br/>[[:Category:Medical Aviation Frequencies]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=Military Aviation Frequencies|
 +
Params=State, State2, Other, HideOtherInTitle, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7|
 +
Similar=
 +
}}
 +
|-
 +
|}
 +
 
 +
====Categories: CSX Transportation Frequencies====
 +
{| {{table}} width="100%"
 +
|-
 +
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Category:CSX Transportation Frequencies}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=CSX Transportation Frequencies|
 +
Params=State, State2, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, Parent4, Parent5, HideParent6,&nbsp;HideParent7|
 +
Similar=
 +
}}
 +
|-
 +
|}
 +
 
 +
====Categories: US Agency Frequencies====
 +
{| {{table}} width="100%"
 
|-
 
|-
| '''(second parameter)''' || || || ||  
+
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories: US Agency Frequencies}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=US Federal Government Frequencies|
 +
Params=State. StateParentNotFreq, Other, HideOtherInTitle, HideParent3, MoreText, HideParent4,&nbsp;HideParent5, HideParent6, HideParent7|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=US Civil Air Patrol Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, Parent4, Parent5, Parent6, HideParent7|
 +
Similar=
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=US Federal Prisons Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, HideParent4, HideParent5, HideParent6, HideParent7|
 +
Similar=[[:Category:US Bureau of Reclamation Frequencies]]
 +
}}
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=US Land Management Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Parent4, HideParent5, HideParent6, HideParent7|
 +
Similar=
 +
}}
 
|-
 
|-
| '''(add additional row for each additional parameter)''' ||  ||  ||  ||
 
 
|}
 
|}
  
===Examples===
+
====Categories: United States Military Branch Frequencies====
 +
{| {{table}} width="100%"
 +
|-
 +
| colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Category:United States Air Force Frequencies}}}'''
 +
| bgcolor="yellow" align="center" | '''Parameters&nbsp;used'''
 +
{{Text_CatStateOtherFreq/doc/TblRowForCat|
 +
CatName=United States Air Force Frequencies|
 +
Params=State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, HideParent4,&nbsp;HideParent5, HideParent6, HideParent7|
 +
Similar=[[:Category:United States Army Frequencies]]<br/>[[:Category:United States Coast Guard Frequencies]]<br/>[[:Category:United States Navy Frequencies]]
 +
}}
 +
|-
 +
|}
 +
 
 +
===How To...===
 
*The horizontal lines below separate examples for clarity and do not appear when template is invoked.
 
*The horizontal lines below separate examples for clarity and do not appear when template is invoked.
 
----
 
----
 
----
 
----
====How to invoke this template for ...(idea 1)====
+
 
*<nowiki>{{template_name|required parameters and values}}</nowiki>
+
====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:
 +
<nowiki>{{Text_CatStateOtherFreq|
 +
State={{{State}}}|
 +
StateParentNotFreq=|
 +
Other={{{FreqParent|Wiki}}}|
 +
HideOtherInTitle=|
 +
HideParent3=|
 +
MoreText={{{MoreText|}}}|
 +
HideParent4=|
 +
HideParent5=|
 +
HideParent6=|
 +
HideParent7=}}</nowiki>
 
----
 
----
 
=====Result=====
 
=====Result=====
.(either show the verbatim result, or describe it in sufficient detail)
+
*See [[:Template:Cat_StateFreq]] for the actual category-template.
 +
 
 
----
 
----
 
----
 
----
  
====How to invoke this template for ...(idea 2)====
+
====How to invoke this template for a simpler US (Agency) Frequencies in (State) TEMPLATE====
*<nowiki>{{template_name|required parameters and different values}}</nowiki>
+
*'''Template:Cat_USFedFreqInState''' is an example of a simpler category-template that is used to build (US Federal Government) agency-level "Frequencies" categories:
 +
<nowiki>{{Text_CatStateOtherFreq|
 +
OtherFreqInState=US {{{Agency}}} Frequencies in {{{State}}}|
 +
Other={{{Agency}}}|
 +
State={{{State}}}|
 +
Other2=US {{{Agency}}}|
 +
HideParent3=|
 +
Parent4=US {{{Agency}}} in {{{State}}}|
 +
HideParent5=|
 +
HideParent6=|
 +
HideParent7=}}</nowiki>
 
----
 
----
 
=====Result=====
 
=====Result=====
.(either show the verbatim result, or describe it in sufficient detail)
+
* See [[:Template:Cat_USFedFreqInState]] for the actual category-template.
 
----
 
----
 
----
 
----
  
====How to invoke this template for ...(idea 3)====
+
====How to invoke this template for a simpler United States (MilBranch) Frequencies in (State) TEMPLATE====
*<nowiki>{{template_name|required parameters and values that override defaults}}</nowiki>
+
*'''Template:Cat_USMilFreqInState''' is an example of a simpler category-template that is used to build (United States Military) Branch-level "Frequencies" categories:
 +
<nowiki>{{Text_CatStateOtherFreq|
 +
OtherFreqInState=United States {{{MilBranch}}} Frequencies in {{{State}}}|
 +
Other={{{MilBranch}}}|
 +
State={{{State}}}|
 +
Other2=United States {{{MilBranch}}}|
 +
HideParent3=|
 +
Parent4=United States {{{MilBranch}}} in {{{State}}}|
 +
HideParent5=|
 +
HideParent6=|
 +
HideParent7=}}</nowiki>
 
----
 
----
 
=====Result=====
 
=====Result=====
.(either show the verbatim result, or describe it in sufficient detail)
+
* See [[:Template:Cat_USMilFreqInState]] for the actual category-template.
 
----
 
----
 
----
 
----
  
====How to invoke this template for ...(idea 4)====
+
====How to invoke this template for a (theme) frequencies CATEGORY====
*<nowiki>{{template_name|all parameters and values in more complex or advanced configuration}}</nowiki>
+
*'''Category:Air_National_Guard_Frequencies''' is an example of a Theme-level "Frequencies" category:
 +
<nowiki>{{Text_CatStateOtherFreq|
 +
State=Air National Guard|
 +
StateParentNotFreq=|
 +
Other=United States Air Force|
 +
HideOtherInTitle=|
 +
HideParent3=|
 +
Parent4=Military Aviation Frequencies|
 +
HideParent5=|
 +
HideParent6=|
 +
HideParent7=|}}</nowiki>
 
----
 
----
 
=====Result=====
 
=====Result=====
.(either show the verbatim result, or describe it in sufficient detail)
+
* See [[:Category:Air_National_Guard_Frequencies]] for the actual category.
 
----
 
----
 
----
 
----
  
====How to invoke this template for ...(idea 5)====
+
====How to avoid common error(s) while invoking this template====
*<nowiki>{{template_name|parameters and values that produce unexpected but useful result}}</nowiki>
+
*'''Purpose: To avoid unintended spaces in parameter-values'''
----
+
**'''Technique:''' Place the vertical bar at end of parameter-value, not at left-margin.
=====Result=====
+
 
.(either show the verbatim result, or describe it in sufficient detail)
+
 
----
+
*'''Purpose: To correctly assign no-value to a parameter'''
----
+
**'''Technique:''' Place the vertical bar at end of parameter-value, not at left-margin.
====How to avoid common error(s) while invoking this template for ...(idea 6)====
+
 
*<nowiki>{{template_name|parameters and values to show how not to invoke this template}}</nowiki>
+
 
----
+
*'''Purpose: To avoid confusion with template's closing braces'''
=====Result=====
+
**'''Technique:''' Put "Hide..." parameters at end of template-call to help ensure the closing braces are used and not confused with the value of another parameter.
.(either show the verbatim result, or describe it in sufficient detail)
+
 
 +
 
 +
*'''Example:''' [[:Category:Air_National_Guard_Frequencies]]
 +
**The following template-code is correct, because
 +
*#The vertical-bar ends immediately after each parameter-value, or immediately after an equal-sign thereby indicating "no value":
 +
*#The template's closing pair of braces immediately follows the last parameter-value and is not on a separate line where it could become confusing and orphaned or even deleted during later editing.
 +
*#The "HideParent..." parameters are placed at the end and immediately followed by the template's closing braces.  This becomes more apparent when using parameters "Articles" and "MoreText".
 +
<nowiki>{{Text_CatStateOtherFreq|
 +
State=Air National Guard|
 +
StateParentNotFreq=|
 +
Other=United States Air Force|
 +
HideOtherInTitle=|
 +
HideParent3=|
 +
Parent4=Military Aviation Frequencies|
 +
HideParent5=|
 +
HideParent6=|
 +
HideParent7=}}</nowiki>
 +
 
 +
:*The following template-code is '''''not correct''''', because it introduces unintended spaces and risks the closing braces becoming orphaned, lost, or deleted during later editing, especially if values are assigned later to parameters "'''Articles'''" and/or "'''MoreText'''":
 +
<nowiki>{{Text_CatStateOtherFreq
 +
|State=Air National Guard
 +
|StateParentNotFreq=
 +
|Other=United States Air Force
 +
|HideOtherInTitle=
 +
|HideParent3=
 +
|Parent4=Military Aviation Frequencies
 +
|HideParent5=
 +
|HideParent6=
 +
|HideParent7=
 +
}}</nowiki>
 +
 
 
----
 
----
 
----
 
----
Line 96: Line 720:
  
  
Return to: <nowiki>[[:Template:(template_name)]]</nowiki>
+
Return to: [[:Template:Text_CatStateOtherFreq]], [[:Template:Text_CatStateOther/doc/Compare]]
  
<nowiki>[[Category:Documentation]]</nowiki>
+
[[Category:Documentation]]

Revision as of 13:52, 22 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

InfoBox project related:
Template:ForTestingOnly
OLD: NEW:






.



Documentation Sub-page for Template:Text_CatStateOther

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

Parameter Name Parameter Details
State Notes:
  • 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' sub-categories for example.
State2 Expected Value(s):
  • not specified (Default value)
  • specified with specific value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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 Notes:
  • A value is Required unless BOTH HideOtherInTitle and HideOtherInList are utilized to hide the value of Other
Other2 Expected Value(s):
  • not specified (Default value)
  • specified with specific value
Notes:
  • 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.
  • Also, see notes about parameter HideOtherInList
OtherIsNotFreq Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • When not specified, the word "Frequencies" is appended to the Other (or Other2 if used) value in the title and 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 title and in the categories-list.
  • With rare exception, Please do not assign a specific value to this parameter.
OtherFreqInState Expected Value(s):
  • not specified (Default value)
  • specified with a State-parameter related value. Examples:
    • OtherFreqInState=US {{{Agency}}} Frequencies in {{{State}}}|
    • OtherFreqInState=United States {{{MilBranch}}} Frequencies in {{{State}}}|
Notes:
  • 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 still should be assigned appropriately.
Country Expected Value(s):
  • not specified (Default value)
  • specified with specific value, followed by a non-breaking space (&nbsp;)
    • Example: Country=Canada&nbsp;|
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.
  • 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 Automatic Value(s):

Using values from parameters above, either:

  • State Other, or State2 Other, or State Other2, or State2 Other2
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 cannot be manually assigned by the Wiki-editor; but can be hidden using HideParent3 listed below.
Parent4 Expected Value(s):
  • not specified (Default value)
  • specified with specific value
Notes:
  • When specified, the Parent4 value is displayed in the categories-list.
  • When not specified, please use HideParent4 to hide Parent4.
Parent5 Expected Value(s):
  • not specified (Default value)
  • specified with specific value
Notes:
  • When specified, the Parent5 value is displayed in the categories-list.
  • When not specified, please use HideParent5 to hide Parent5.
Parent6 Expected Value(s):
  • not specified (Default value)
  • specified with specific value
Notes:
  • When specified, the Parent6 value is displayed in the categories-list.
  • When not specified, please use HideParent6 to hide Parent6.
Parent7 Expected Value(s):
  • not specified (Default value)
  • specified with specific value
Notes:
  • When specified, the Parent7 value is displayed in the categories-list.
  • When not specified, please use HideParent7 to hide Parent7.
Articles Expected Value(s):
  • not specified (Default value)
  • specified with specific value, that begins with a non-breaking space (&nbsp;). Example:
    • Articles=&nbsp;that list amateur radio repeaters in {{{State}}},|
Notes:
  • Below the categories-list is the following statement (without quotes):

    "Lists all the articles...as submitted by the members."
    • The ... in the line quoted 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 Expected Value(s):
  • not specified (Default value)
  • specified with specific value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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 Expected Value(s):
  • not specified (Default value)
  • specified with no value
Notes:
  • 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.
  • Please note:
    • The entire list of user-specified parameters is listed here for convenient copy-pasting.
    • Please read the above table for instruction, and see the examples later in this page, on how to use the appropriate parameters.
    • There will never be a case when all of the following parameters are used at the same time. Only use the needed parameters. Thanks.
    • Parameter "Parent3" is not listed here because its value is automatic, not user-specified.
{{Text_CatStateOtherFreq|
State=|
State2=|
StateParentNotFreq=|
Other=|
Other2=|
OtherIsNotFreq=|
HideOtherInTitle=|
HideOtherInList=|
Country=|
Articles=|
MoreText=|
Parent4=|
Parent5=|
Parent6=|
Parent7=|
HideParent3=|
HideParent4=|
HideParent5=|
HideParent6=|
HideParent7=}}

Parameter-Use Examples: Categories-Templates

  • Selected examples that illustrate various combinations of parameters:

Categories-Templates: Emergency Services Frequencies

Categories-Templates: Emergency Services Frequencies} Parameters used
Categories-Template example: Template:Cat_StateFireSvcsFreq State, Other, Country,
HideParent4, HideParent5,
HideParent6, HideParent7
State-specific example(s): Category:Texas_Fire_Services_Frequencies
Category:Canada_Fire_Services_Frequencies
Category:Ontario_Fire_Services_Frequencies
   Template(s) with similar syntax: Template:Cat_StateLawEnfFreq
Template:Cat_StateMedicalFreq
Categories-Template example: Template:Cat_StateFireSvcsAvFreq State, State2, Other, Country, Articles, HideParent3, Parent4, Parent5, HideParent6, HideParent7
State-specific example(s): Category:Texas_Fire_Services_Aviation_Frequencies
   Template(s) with similar syntax: Template:Cat_StateLawEnfAvFreq
Template:Cat_StateMedAvFreq

Categories-Templates: General Services Frequencies

Categories-Templates: General Services Frequencies} Parameters used
Categories-Template example: Template:Cat_StateAvFreq State, Other, Country,
HideParent4, HideParent5,
HideParent6, HideParent7
State-specific example(s): Category:Texas_Aviation_Frequencies
Category:Bermuda_Aviation_Frequencies
Category:Canada_Aviation_Frequencies
Category:Ontario_Aviation_Frequencies
   Template(s) with similar syntax: Template:Cat_StateAmateurFreq
Template:Cat_StateMjrEvtDisFreq
Categories-Template example: Template:Cat_StateAmateurRptr State, State2, Other, Country, OtherIsNotFreq, HideOtherInList, Articles, HideParent3, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:Texas_Amateur_Radio_Repeaters
Category:Canada_Amateur_Radio_Repeaters
Category:British_Columbia_Amateur_Radio_Repeaters
   Template(s) with similar syntax:
Categories-Template example: Template:Cat_StateBusFreq State, Other, Country, HideParent3, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:Texas_Business_Frequencies
Category:Canada_Business_Frequencies
Category:Ontario_Business_Frequencies
   Template(s) with similar syntax:
Categories-Template example: Template:Cat_StateBusComPrvFreq State, State2, StateParentNotFreq, Other, Country, HideParent3, MoreText, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:California_Communications_Providers_Frequencies
Category:Australia_Communications_Providers_Frequencies
Category:New_South_Wales_Communications_Providers_Frequencies
   Template(s) with similar syntax:
Categories-Template example: Template:Cat_StateBusFastFoodFreq State, State2, StateParentNotFreq, Other, Country, HideParent3, HideParent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:New_York_Fast_Food_Frequencies
Category:Canada_Fast_Food_Frequencies
Category:Alberta_Fast_Food_Frequencies
   Template(s) with similar syntax:
Categories-Template example: Template:Cat_StateCivilAvFreq State, State2, Other, Country, Articles, HideParent3, MoreText, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:Idaho_Civil_Aviation_Frequencies
Category:Canada_Civil_Aviation_Frequencies
Category:Nova_Scotia_Civil_Aviation_Frequencies
   Template(s) with similar syntax: Template:Cat_StateUtilComCarFreq
Categories-Template example: Template:Cat_StateCSXFreq State, State2, StateParentNotFreq, Other, Country, HideParent3, Parent4, Parent5, Parent6, HideParent7
State-specific example(s): Category:Florida_CSX_Transportation_Frequencies
Category:Canada_CSX_Transportation_Frequencies
Category:Quebec_CSX_Transportation_Frequencies
   Template(s) with similar syntax: Template:Cat_StateUtilComCarFreq
Categories-Template example: Template:Cat_StateEducFreq State, Other, Country, Articles, HideParent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:Michigan_Education_Frequencies
   Template(s) with similar syntax: Template:Cat_StateMediaFreq
Template:Cat_StateSportsFreq
Categories-Template example: Template:Cat_StateGrndTransFreq State. Other. Country. MoreText. HideParent4. HideParent5. HideParent6. HideParent7
State-specific example(s): Category:New_York_Ground_Transportation_Frequencies
Category:Canada_Ground_Transportation_Frequencies
Category:Quebec_Ground_Transportation_Frequencies
   Template(s) with similar syntax: Template:Cat_StateMarineFreq
Categories-Template example: Template:Cat_StateMotorFrtFreq State, State2, StateParentNotFreq, Other, Country, HideParent3, Articles, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:New_York_Motor_Freight_Frequencies
Category:Canada_Motor_Freight_Frequencies
Category:Quebec_Motor_Freight_Frequencies
   Template(s) with similar syntax: Template:Cat_StateRailFreq
Categories-Template example: Template:Cat_StateRecAtrFreq State, Other, Country, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:North_Carolina_Recreation_or_Attractions_Frequencies
Category:Canada_Recreation_or_Attractions_Frequencies
Category:Alberta_Recreation_or_Attractions_Frequencies
   Template(s) with similar syntax: Template:Cat_StateSpcEvtsFreq
Template:Cat_StateUtilFreq
Template:Cat_StateWeatherFreq

Categories-Templates: Federal/Military Frequencies

Categories-Templates: Federal/Military Frequencies} Parameters used
Categories-Template example: Template:Cat_StateAirShowsFreq State, State2, StateParentNotFreq, Other, Country, HideParent3, Parent4, Parent5, HideParent6, HideParent7
State-specific example(s): Category:New York Air Show Frequencies
   Template(s) with similar syntax:
Categories-Template example: Template:Cat_StateMilAvFreq State. State2, Other, Country, HideParent3, Articles, MoreText, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:California Military Aviation Frequencies
   Template(s) with similar syntax:
Categories-Template example: Template:Cat_StateANGFreq State, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:Maryland Air National Guard Frequencies
   Template(s) with similar syntax: Template:Cat_StateARNGFreq
Categories-Template example: Template:Cat_USFedFreqInState OtherFreqInState, Agency, State, Other, Other2, HideParent3, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:US Land Management Frequencies in Nevada
   Template(s) with similar syntax:
Categories-Template example: Template:Cat_USMilFreqInState OtherFreqInState, MilBranch, State, Other, Other2, HideParent3, Parent4, HideParent5, HideParent6, HideParent7
State-specific example(s): Category:United States Air Force Frequencies in New York
   Template(s) with similar syntax:

Parameter-Use Examples: Categories

  • Selected examples that illustrate various combinations of parameters:

Categories: Top-level "Theme"-Frequencies

Categories: Top-level "Theme" Frequencies} Parameters used
Categories example: Category:Wiki Frequencies State, State2, StateParentNotFreq, HideOtherInTitle, HideOtherInList, Articles, HideParent3, MoreText, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax:
Categories example: Category:Air Show Frequencies State, State2, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, Parent4, Parent5, HideParent6, HideParent7
   Categories with similar syntax: Category:Business Frequencies
Categories example: Category:Amateur Radio Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax: Category:Education Frequencies
Categories example: Category:Amateur Radio Repeaters State, Other, OtherIsNotFreq, HideOtherInTitle, HideOtherInList, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax: Unique Special Case
Categories example: Category:Air National Guard Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Parent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax:
Categories example: Category:Medical Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax:
Categories example: Category:Railroads Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax:

Categories: Aviation Frequencies for a Specific Theme

Categories: Aviation Frequencies for a Specific Theme} Parameters used
Categories example: Category:Fire Services Aviation Frequencies State, Other, Articles, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax: Category:Law Enforcement Aviation Frequencies
Category:Medical Aviation Frequencies
Categories example: Category:Military Aviation Frequencies State, State2, Other, HideOtherInTitle, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax:

Categories: CSX Transportation Frequencies

Category:CSX Transportation Frequencies} Parameters used
Categories example: Category:CSX Transportation Frequencies State, State2, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, Parent4, Parent5, HideParent6, HideParent7
   Categories with similar syntax:

Categories: US Agency Frequencies

Categories: US Agency Frequencies} Parameters used
Categories example: Category:US Federal Government Frequencies State. StateParentNotFreq, Other, HideOtherInTitle, HideParent3, MoreText, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax:
Categories example: Category:US Civil Air Patrol Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Articles, Parent4, Parent5, Parent6, HideParent7
   Categories with similar syntax:
Categories example: Category:US Federal Prisons Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax: Category:US Bureau of Reclamation Frequencies
Categories example: Category:US Land Management Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, Parent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax:

Categories: United States Military Branch Frequencies

Category:United States Air Force Frequencies} Parameters used
Categories example: Category:United States Air Force Frequencies State, StateParentNotFreq, Other, HideOtherInTitle, HideParent3, HideParent4, HideParent5, HideParent6, HideParent7
   Categories with similar syntax: Category:United States Army Frequencies
Category:United States Coast Guard Frequencies
Category:United States Navy Frequencies

How To...

  • 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

  • Template:Cat_USFedFreqInState is an example of a simpler category-template that is used to build (US Federal Government) agency-level "Frequencies" categories:
{{Text_CatStateOtherFreq|
OtherFreqInState=US {{{Agency}}} Frequencies in {{{State}}}|
Other={{{Agency}}}|
State={{{State}}}|
Other2=US {{{Agency}}}|
HideParent3=|
Parent4=US {{{Agency}}} in {{{State}}}|
HideParent5=|
HideParent6=|
HideParent7=}}

Result


How to invoke this template for a simpler United States (MilBranch) Frequencies in (State) TEMPLATE

  • Template:Cat_USMilFreqInState is an example of a simpler category-template that is used to build (United States Military) Branch-level "Frequencies" categories:
{{Text_CatStateOtherFreq|
OtherFreqInState=United States {{{MilBranch}}} Frequencies in {{{State}}}|
Other={{{MilBranch}}}|
State={{{State}}}|
Other2=United States {{{MilBranch}}}|
HideParent3=|
Parent4=United States {{{MilBranch}}} in {{{State}}}|
HideParent5=|
HideParent6=|
HideParent7=}}

Result


How to invoke this template for a (theme) frequencies CATEGORY

  • Category:Air_National_Guard_Frequencies is an example of a Theme-level "Frequencies" category:
{{Text_CatStateOtherFreq|
State=Air National Guard|
StateParentNotFreq=|
Other=United States Air Force|
HideOtherInTitle=|
HideParent3=|
Parent4=Military Aviation Frequencies|
HideParent5=|
HideParent6=|
HideParent7=|}}

Result


How to avoid common error(s) while invoking this template

  • Purpose: To avoid unintended spaces in parameter-values
    • Technique: Place the vertical bar at end of parameter-value, not at left-margin.


  • Purpose: To correctly assign no-value to a parameter
    • Technique: Place the vertical bar at end of parameter-value, not at left-margin.


  • Purpose: To avoid confusion with template's closing braces
    • Technique: Put "Hide..." parameters at end of template-call to help ensure the closing braces are used and not confused with the value of another parameter.


  • Example: Category:Air_National_Guard_Frequencies
    • The following template-code is correct, because
    1. The vertical-bar ends immediately after each parameter-value, or immediately after an equal-sign thereby indicating "no value":
    2. The template's closing pair of braces immediately follows the last parameter-value and is not on a separate line where it could become confusing and orphaned or even deleted during later editing.
    3. The "HideParent..." parameters are placed at the end and immediately followed by the template's closing braces. This becomes more apparent when using parameters "Articles" and "MoreText".
{{Text_CatStateOtherFreq|
State=Air National Guard|
StateParentNotFreq=|
Other=United States Air Force|
HideOtherInTitle=|
HideParent3=|
Parent4=Military Aviation Frequencies|
HideParent5=|
HideParent6=|
HideParent7=}}
  • The following template-code is not correct, because it introduces unintended spaces and risks the closing braces becoming orphaned, lost, or deleted during later editing, especially if values are assigned later to parameters "Articles" and/or "MoreText":
{{Text_CatStateOtherFreq
|State=Air National Guard
|StateParentNotFreq=
|Other=United States Air Force
|HideOtherInTitle=
|HideParent3=
|Parent4=Military Aviation Frequencies
|HideParent5=
|HideParent6=
|HideParent7=
}}





Return to: Template:Text_CatStateOtherFreq, Template:Text_CatStateOther/doc/Compare