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== | ||
− | |||
===Scope of Use=== | ===Scope of Use=== | ||
====Purpose==== | ====Purpose==== | ||
− | *'''[[:Template: | + | *'''[[:Template:Text_CatStateOther]]''' is designed to be a "text"-template which: |
− | **functions as the base upon which individual | + | **functions as the base upon which individual categories, and simpler categories-templates are built. ''(Please use'' '''''[[:Template:Text_CatStateOtherFreq]]''''' ''for "...Frequencies" related templates and categories.)'' |
− | ***This creates a standardized presentation-style for the text displayed on all individual | + | ***This creates a standardized presentation-style for the text displayed on all individual categories and all category-templates. Exceptions should be few. |
− | **naturally applies to state-, county-, and country-based | + | **naturally applies to state-, county-, and country-based categories |
− | **is also intended to be used to create | + | **is also intended to be used to create categories that are not state-, county-, or country-based, such as top-level theme-based categories. |
====Directly Invoked By==== | ====Directly Invoked By==== | ||
− | *'''[[:Template: | + | *'''[[:Template:Text_CatStateOther]]''' should be directly invoked only by |
− | **simpler | + | **simpler categories-templates, or |
− | **top-level theme-based | + | **top-level theme-based categories, or |
− | **individual | + | **individual categories for which a simpler categories-template does not exist. |
====Not Intended For==== | ====Not Intended For==== | ||
− | *'''[[:Template: | + | *'''[[:Template:Text_CatStateOther]]''' should not be directly invoked by anything other than "categories" pages, or simpler "categories"-templates. |
===Parameters=== | ===Parameters=== | ||
Line 26: | Line 25: | ||
*Specified values, Default values, and Parameter names are all case-sensitive. | *Specified values, Default values, and Parameter names are all case-sensitive. | ||
*'''''Please Note:''''' | *'''''Please Note:''''' | ||
− | **For consistency and | + | **For consistency and convenience, the parameter-names in the list below have been chosen to closely match the parameter-names used in '''[[:Template:Text_CatStateOtherFreq]]''' and '''[[:Template:Text_CatStateOtherNonRRDB]]'''. |
− | **If parameter-names must be added or changed, please make the appropriate corresponding changes to '''[[:Template: | + | **If parameter-names must be added or changed, please make the appropriate corresponding changes to '''[[:Template:Text_CatStateOtherFreq]]''' and '''[[:Template:Text_CatStateOtherNonRRDB]]''' also. Please also update the related documentation pages, including [[:Template:Text_CatStateOther/doc/Compare]] |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
Line 51: | Line 50: | ||
* When specified with a specific value, the specific value is used to override '''State''' in the categories-list, but not in the title. | * 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. | **'''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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- bgcolor="lightyellow" <!-- ***** parameter row ***** --> | |- bgcolor="lightyellow" <!-- ***** parameter row ***** --> | ||
Line 83: | Line 69: | ||
* When specified with a specific value, the specific value is used to override '''Other''' in the categories-list, but not in the title. | * When specified with a specific value, the specific value is used to override '''Other''' in the categories-list, but not in the title. | ||
*Also, see notes about parameter '''HideOtherInList''' | *Also, see notes about parameter '''HideOtherInList''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- <!-- ***** parameter row ***** --> | |- <!-- ***** parameter row ***** --> | ||
− | | rowspan="2" | ''' | + | | rowspan="2" | '''OtherInState''' |
| align="right" | Expected Value(s): | | align="right" | Expected Value(s): | ||
|| | || | ||
* not specified '''''(Default value)''''' | * not specified '''''(Default value)''''' | ||
* specified with a '''State'''-parameter related value. Examples: | * specified with a '''State'''-parameter related value. Examples: | ||
− | ** <tt> | + | ** <tt>OtherInState=<nowiki>US {{{Agency}}} in {{{State}}}</nowiki>|</tt> |
− | ** <tt> | + | ** <tt>OtherInState=<nowiki>United States {{{MilBranch}}} in {{{State}}}</nowiki>|</tt> |
|- | |- | ||
| align="right" | Notes: | | align="right" | Notes: | ||
Line 127: | Line 99: | ||
*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''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- bgcolor="lightyellow" <!-- ***** parameter row ***** --> | |- bgcolor="lightyellow" <!-- ***** parameter row ***** --> | ||
Line 241: | Line 201: | ||
* 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 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 | * 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. | *Please do not assign a specific value to this parameter. | ||
Line 317: | Line 264: | ||
**Parameter "Parent3" is not listed here because its value is automatic, not user-specified. | **Parameter "Parent3" is not listed here because its value is automatic, not user-specified. | ||
− | <nowiki>{{</nowiki> | + | <nowiki>{{</nowiki>Text_CatStateOther| |
State=| | State=| | ||
State2=| | State2=| | ||
− | |||
Other=| | Other=| | ||
Other2=| | Other2=| | ||
− | + | OtherInState=| | |
HideOtherInTitle=| | HideOtherInTitle=| | ||
HideOtherInList=| | HideOtherInList=| | ||
Line 341: | Line 287: | ||
===Parameter-Use Examples: Categories-Templates=== | ===Parameter-Use Examples: Categories-Templates=== | ||
*Selected examples that illustrate various combinations of parameters: | *Selected examples that illustrate various combinations of parameters: | ||
− | ====Categories-Templates: Emergency Services | + | ====Categories-Templates: Emergency Services==== |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
|- | |- | ||
− | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories-Templates: Emergency Services | + | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories-Templates: Emergency Services}}}''' |
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateFireSvcs| |
Params=State, Other, Country,<br/>HideParent4, HideParent5,<br/>HideParent6, HideParent7| | Params=State, Other, Country,<br/>HideParent4, HideParent5,<br/>HideParent6, HideParent7| | ||
− | StateEx=[[:Category: | + | StateEx=[[:Category:Texas_Fire_Services]]<br/>[[:Category:Canada_Fire_Services]]<br/>[[:Category:Ontario_Fire_Services]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateLawEnf]]<br/>[[:Template:Cat_StateMedical]]| |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateFireSvcsAv| |
Params=State, State2, Other, Country, Articles, HideParent3, Parent4, Parent5, HideParent6, HideParent7| | Params=State, State2, Other, Country, Articles, HideParent3, Parent4, Parent5, HideParent6, HideParent7| | ||
− | StateEx=[[:Category: | + | StateEx=[[:Category:Texas_Fire_Services_Aviation]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateLawEnfAv]]<br/>[[:Template:Cat_StateMedAv]] |
}} | }} | ||
|- | |- | ||
|} | |} | ||
− | ====Categories-Templates: General Services | + | ====Categories-Templates: General Services==== |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
|- | |- | ||
− | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories-Templates: General Services | + | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories-Templates: General Services}}}''' |
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateAv| |
Params=State, Other, Country,<br/>HideParent4, HideParent5,<br/>HideParent6, HideParent7| | Params=State, Other, Country,<br/>HideParent4, HideParent5,<br/>HideParent6, HideParent7| | ||
− | StateEx=[[:Category: | + | StateEx=[[:Category:Texas_Aviation]]<br/>[[:Category:Bermuda_Aviation]]<br/>[[:Category:Canada_Aviation]]<br/>[[:Category:Ontario_Aviation]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateAmateur]]<br/>[[:Template:Cat_StateMjrEvtDis]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateAmateur| |
− | Params=State, State2, Other, Country | + | Params=State, State2, Other, Country, HideOtherInList, Articles, HideParent3, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category: | + | StateEx=[[:Category:Texas_Amateur_Radio]]<br/>[[:Category:Canada_Amateur_Radio]]<br/>[[:Category:British_Columbia_Amateur_Radio]]| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateBus| |
− | Params=State, Other, Country | + | Params=State, Other, Country, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category: | + | StateEx=[[:Category:Texas_Businesses]]<br/>[[:Category:Canada_Businesses]]<br/>[[:Category:Ontario_Businesses]]| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateBusComPrv| |
− | Params=State, State2 | + | Params=State, State2, Other, Country, MoreText, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category: | + | StateEx=[[:Category:California_Communications_Providers]]<br/>[[:Category:Australia_Communications_Providers]]<br/>[[:Category:New_South_Wales_Communications_Providers]]| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateBusFastFood| |
− | Params=State, State2 | + | Params=State, State2, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category: | + | StateEx=[[:Category:New_York_Fast_Food]]<br/>[[:Category:Canada_Fast_Food]]<br/>[[:Category:Alberta_Fast_Food]]| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateCivilAv| |
− | Params=State, State2, Other, Country, Articles | + | Params=State, State2, Other, Country, Articles, MoreText, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category: | + | StateEx=[[:Category:Idaho_Civil_Aviation]]<br/>[[:Category:Canada_Civil_Aviation]]<br/>[[:Category:Nova_Scotia_Civil_Aviation]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateUtilComCar]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateCSX| |
− | Params=State, State2 | + | Params=State, State2, Other, Country, Parent4, Parent5, Parent6, HideParent7| |
− | StateEx=[[:Category: | + | StateEx=[[:Category:Florida_CSX_Transportation]]<br/>[[:Category:Canada_CSX_Transportation]]<br/>[[:Category:Quebec_CSX_Transportation]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateUtilComCar]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateEduc| |
Params=State, Other, Country, Articles, HideParent4, HideParent5, HideParent6, HideParent7| | Params=State, Other, Country, Articles, HideParent4, HideParent5, HideParent6, HideParent7| | ||
− | StateEx=[[:Category: | + | StateEx=[[:Category:Michigan_Education]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateMedia]]<br/>[[:Template:Cat_StateSports]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateGrndTrans| |
Params=State. Other. Country. MoreText. HideParent4. HideParent5. HideParent6. HideParent7| | Params=State. Other. Country. MoreText. HideParent4. HideParent5. HideParent6. HideParent7| | ||
− | StateEx=[[:Category: | + | StateEx=[[:Category:New_York_Ground_Transportation]]<br/>[[:Category:Canada_Ground_Transportation]]<br/>[[:Category:Quebec_Ground_Transportation]]| |
− | Similar=[[Template: | + | Similar=[[Template:Cat_StateMarine]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateMotorFrt| |
− | Params=State, State2 | + | Params=State, State2, Other, Country, Articles, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category: | + | StateEx=[[:Category:New_York_Motor_Freight]]<br/>[[:Category:Canada_Motor_Freight]]<br/>[[:Category:Quebec_Motor_Freight]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateRail]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateRecAtr| |
Params=State, Other, Country, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7| | Params=State, Other, Country, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7| | ||
− | StateEx=[[:Category: | + | StateEx=[[:Category:North_Carolina_Recreation_or_Attractions]]<br/>[[:Category:Canada_Recreation_or_Attractions]]<br/>[[:Category:Alberta_Recreation_or_Attractions]]| |
− | Similar=[[Template: | + | Similar=[[Template:Cat_StateSpcEvts]]<br/>[[:Template:Cat_StateUtil]]<br/>[[:Template:Cat_StateWeather]] |
}} | }} | ||
|- | |- | ||
Line 441: | Line 387: | ||
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateAirShows| |
− | Params=State, State2 | + | Params=State, State2, Other, Country, Parent4, Parent5, HideParent6, HideParent7| |
− | StateEx=[[:Category:New York Air | + | StateEx=[[:Category:New York Air Shows]]| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateMilAv| |
− | Params=State. State2, Other, Country | + | Params=State. State2, Other, Country, Articles, MoreText, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category:California Military Aviation | + | StateEx=[[:Category:California Military Aviation]]| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_StateANG| |
Params=State, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7| | Params=State, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7| | ||
− | StateEx=[[:Category:Maryland Air National Guard | + | StateEx=[[:Category:Maryland Air National Guard]]| |
− | Similar=[[:Template: | + | Similar=[[:Template:Cat_StateARNG]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_USFedInState| |
− | Params= | + | Params=OtherInState, Agency, State, Other, Other2, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category:US Land Management | + | StateEx=[[:Category:US Land Management in Nevada]]| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForTemp| | {{Text_CatStateOtherFreq/doc/TblRowForTemp| | ||
− | TmpltName= | + | TmpltName=Cat_USMilInState| |
− | Params= | + | Params=OtherInState, MilBranch, State, Other, Other2, Parent4, HideParent5, HideParent6, HideParent7| |
− | StateEx=[[:Category:United States Air Force | + | StateEx=[[:Category:United States Air Force in New York]]| |
Similar= | Similar= | ||
}} | }} | ||
Line 475: | Line 421: | ||
===Parameter-Use Examples: Categories=== | ===Parameter-Use Examples: Categories=== | ||
*Selected examples that illustrate various combinations of parameters: | *Selected examples that illustrate various combinations of parameters: | ||
− | ====Categories: Top-level " | + | ====Categories: Top-level "Themes"==== |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
|- | |- | ||
− | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories: Top-level " | + | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories: Top-level "Themes"}}}''' |
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | + | CatName=Air Shows| | |
− | + | Params=State, State2, Other, HideOtherInTitle, Articles, Parent4, Parent5, HideParent6, HideParent7| | |
− | + | Similar= [[:Category:Businesses]] | |
− | |||
− | |||
− | CatName=Air | ||
− | Params=State, State2 | ||
− | Similar= [[:Category: | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=Amateur Radio | + | CatName=Amateur Radio| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, Articles, HideParent4, HideParent5, HideParent6, HideParent7| |
− | Similar=[[:Category:Education | + | Similar=[[:Category:Education]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | + | CatName=Air National Guard| | |
− | + | Params=State, Other, HideOtherInTitle, Parent4, HideParent5, HideParent6, HideParent7| | |
− | |||
− | |||
− | |||
− | CatName=Air National Guard | ||
− | Params=State | ||
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=Medical | + | CatName=Medical| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, HideParent4, HideParent5, HideParent6, HideParent7| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=Railroads | + | CatName=Railroads| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, Articles, HideParent4, HideParent5, HideParent6, HideParent7| |
Similar= | Similar= | ||
}} | }} | ||
Line 518: | Line 454: | ||
|} | |} | ||
− | ====Categories: Aviation | + | ====Categories: Aviation for a Specific Theme==== |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
|- | |- | ||
− | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories: Aviation | + | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Categories: Aviation for a Specific Theme}}}''' |
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=Fire Services Aviation | + | CatName=Fire Services Aviation| |
Params=State, Other, Articles, HideParent4, HideParent5, HideParent6, HideParent7| | Params=State, Other, Articles, HideParent4, HideParent5, HideParent6, HideParent7| | ||
− | Similar=[[:Category:Law Enforcement Aviation | + | Similar=[[:Category:Law Enforcement Aviation]]<br/>[[:Category:Medical Aviation]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=Military Aviation | + | CatName=Military Aviation| |
Params=State, State2, Other, HideOtherInTitle, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7| | Params=State, State2, Other, HideOtherInTitle, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7| | ||
Similar= | Similar= | ||
Line 536: | Line 472: | ||
|} | |} | ||
− | ====Categories: CSX Transportation | + | ====Categories: CSX Transportation==== |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
|- | |- | ||
− | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Category:CSX Transportation | + | | colspan="2" bgcolor="darkblue" align="left" | '''{{Color|white|Category:CSX Transportation}}}''' |
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=CSX Transportation | + | CatName=CSX Transportation| |
− | Params=State, State2 | + | Params=State, State2, Other, HideOtherInTitle, Articles, Parent4, Parent5, HideParent6, HideParent7| |
Similar= | Similar= | ||
}} | }} | ||
Line 549: | Line 485: | ||
|} | |} | ||
− | ====Categories: US Agency | + | ====Categories: US Agency==== |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
|- | |- | ||
Line 555: | Line 491: | ||
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=US Federal Government | + | CatName=US Federal Government| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, MoreText, HideParent4, HideParent5, HideParent6, HideParent7| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=US Civil Air Patrol | + | CatName=US Civil Air Patrol| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, Articles, Parent4, Parent5, Parent6, HideParent7| |
Similar= | Similar= | ||
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=US Federal Prisons | + | CatName=US Federal Prisons| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, HideParent4, HideParent5, HideParent6, HideParent7| |
− | Similar=[[:Category:US Bureau of Reclamation | + | Similar=[[:Category:US Bureau of Reclamation]] |
}} | }} | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=US Land Management | + | CatName=US Land Management| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, Parent4, HideParent5, HideParent6, HideParent7| |
Similar= | Similar= | ||
}} | }} | ||
Line 577: | Line 513: | ||
|} | |} | ||
− | ====Categories: United States Military Branch | + | ====Categories: United States Military Branch==== |
{| {{table}} width="100%" | {| {{table}} width="100%" | ||
|- | |- | ||
Line 583: | Line 519: | ||
| bgcolor="yellow" align="center" | '''Parameters used''' | | bgcolor="yellow" align="center" | '''Parameters used''' | ||
{{Text_CatStateOtherFreq/doc/TblRowForCat| | {{Text_CatStateOtherFreq/doc/TblRowForCat| | ||
− | CatName=United States Air Force | + | CatName=United States Air Force| |
− | Params=State | + | Params=State, Other, HideOtherInTitle, HideParent4, HideParent5, HideParent6, HideParent7| |
− | Similar=[[:Category:United States Army | + | Similar=[[:Category:United States Army]]<br/>[[:Category:United States Coast Guard]]<br/>[[:Category:United States Navy]] |
}} | }} | ||
|- | |- | ||
Line 595: | Line 531: | ||
---- | ---- | ||
− | ====How to invoke this template for a simpler (state) | + | ====How to invoke this template for a simpler (state) 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, | + | *'''Template_CatStateFreq''' is an example of a simpler category-template that is used to build state-level, district-level, province-level, or country-level, categories: |
− | <nowiki>{{ | + | <nowiki>{{Text_CatStateOther| |
State={{{State}}}| | State={{{State}}}| | ||
− | |||
Other={{{FreqParent|Wiki}}}| | Other={{{FreqParent|Wiki}}}| | ||
HideOtherInTitle=| | HideOtherInTitle=| | ||
− | |||
MoreText={{{MoreText|}}}| | MoreText={{{MoreText|}}}| | ||
HideParent4=| | HideParent4=| | ||
Line 610: | Line 544: | ||
---- | ---- | ||
=====Result===== | =====Result===== | ||
− | *See [[:Template: | + | *See [[:Template:Cat_State]] for the actual category-template. |
---- | ---- | ||
---- | ---- | ||
− | ====How to invoke this template for a simpler US (Agency) | + | ====How to invoke this template for a simpler US (Agency) in (State) TEMPLATE==== |
− | *'''Template: | + | *'''Template:Cat_USFedInState''' is an example of a simpler category-template that is used to build (US Federal Government) agency-level categories: |
− | <nowiki>{{ | + | <nowiki>{{Text_CatStateOther| |
− | + | OtherInState=US {{{Agency}}} in {{{State}}}| | |
Other={{{Agency}}}| | Other={{{Agency}}}| | ||
State={{{State}}}| | State={{{State}}}| | ||
Other2=US {{{Agency}}}| | Other2=US {{{Agency}}}| | ||
− | |||
Parent4=US {{{Agency}}} in {{{State}}}| | Parent4=US {{{Agency}}} in {{{State}}}| | ||
HideParent5=| | HideParent5=| | ||
Line 629: | Line 562: | ||
---- | ---- | ||
=====Result===== | =====Result===== | ||
− | * See [[:Template: | + | * See [[:Template:Cat_USFedInState]] for the actual category-template. |
---- | ---- | ||
---- | ---- | ||
− | ====How to invoke this template for a simpler United States (MilBranch) | + | ====How to invoke this template for a simpler United States (MilBranch) in (State) TEMPLATE==== |
− | *'''Template: | + | *'''Template:Cat_USMilInState''' is an example of a simpler category-template that is used to build (United States Military) Branch-level categories: |
− | <nowiki>{{ | + | <nowiki>{{Text_CatStateOther| |
− | + | OtherInState=United States {{{MilBranch}}} in {{{State}}}| | |
Other={{{MilBranch}}}| | Other={{{MilBranch}}}| | ||
State={{{State}}}| | State={{{State}}}| | ||
Other2=United States {{{MilBranch}}}| | Other2=United States {{{MilBranch}}}| | ||
− | |||
Parent4=United States {{{MilBranch}}} in {{{State}}}| | Parent4=United States {{{MilBranch}}} in {{{State}}}| | ||
HideParent5=| | HideParent5=| | ||
Line 647: | Line 579: | ||
---- | ---- | ||
=====Result===== | =====Result===== | ||
− | * See [[:Template: | + | * See [[:Template:Cat_USMilInState]] for the actual category-template. |
---- | ---- | ||
---- | ---- | ||
− | ====How to invoke this template for a (theme) | + | ====How to invoke this template for a (theme) CATEGORY==== |
− | *'''Category: | + | *'''Category:Air_National_Guard''' is an example of a Theme-level category: |
− | <nowiki>{{ | + | <nowiki>{{Text_CatStateOther| |
State=Air National Guard| | State=Air National Guard| | ||
− | |||
Other=United States Air Force| | Other=United States Air Force| | ||
HideOtherInTitle=| | HideOtherInTitle=| | ||
− | + | Parent4=Military Aviation| | |
− | Parent4=Military Aviation | ||
HideParent5=| | HideParent5=| | ||
HideParent6=| | HideParent6=| | ||
Line 665: | Line 595: | ||
---- | ---- | ||
=====Result===== | =====Result===== | ||
− | * See [[:Category: | + | * See [[:Category:Air_National_Guard]] for the actual category. |
---- | ---- | ||
---- | ---- | ||
Line 682: | Line 612: | ||
− | *'''Example:''' [[:Category: | + | *'''Example:''' [[:Category:Air_National_Guard]] |
**The following template-code is correct, because | **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 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 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". | *#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>{{ | + | <nowiki>{{Text_CatStateOther| |
State=Air National Guard| | State=Air National Guard| | ||
− | |||
Other=United States Air Force| | Other=United States Air Force| | ||
HideOtherInTitle=| | HideOtherInTitle=| | ||
− | |||
Parent4=Military Aviation Frequencies| | Parent4=Military Aviation Frequencies| | ||
HideParent5=| | HideParent5=| | ||
Line 699: | Line 627: | ||
:*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'''": | :*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>{{ | + | <nowiki>{{Text_CatStateOther |
|State=Air National Guard | |State=Air National Guard | ||
− | |||
|Other=United States Air Force | |Other=United States Air Force | ||
|HideOtherInTitle= | |HideOtherInTitle= | ||
− | |||
|Parent4=Military Aviation Frequencies | |Parent4=Military Aviation Frequencies | ||
|HideParent5= | |HideParent5= | ||
Line 720: | Line 646: | ||
− | Return to: [[:Template: | + | Return to: [[:Template:Text_CatStateOther]], [[:Template:Text_CatStateOther/doc/Compare]] |
[[Category:Documentation]] | [[Category:Documentation]] |
Revision as of 15:26, 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 | |||
.
Contents
- 1 Documentation Sub-page for Template:Text_CatStateOther
- 1.1 Scope of Use
- 1.2 Parameters
- 1.3 Parameter-Use Examples: Categories-Templates
- 1.4 Parameter-Use Examples: Categories
- 1.5 How To...
- 1.5.1 How to invoke this template for a simpler (state) TEMPLATE
- 1.5.2 How to invoke this template for a simpler US (Agency) in (State) TEMPLATE
- 1.5.3 How to invoke this template for a simpler United States (MilBranch) in (State) TEMPLATE
- 1.5.4 How to invoke this template for a (theme) CATEGORY
- 1.5.5 How to avoid common error(s) while invoking this template
Documentation Sub-page for Template:Text_CatStateOther
Scope of Use
Purpose
- Template:Text_CatStateOther is designed to be a "text"-template which:
- functions as the base upon which individual categories, and simpler categories-templates are built. (Please use Template:Text_CatStateOtherFreq for "...Frequencies" related templates and categories.)
- This creates a standardized presentation-style for the text displayed on all individual categories and all category-templates. Exceptions should be few.
- naturally applies to state-, county-, and country-based categories
- is also intended to be used to create categories that are not state-, county-, or country-based, such as top-level theme-based categories.
- functions as the base upon which individual categories, and simpler categories-templates are built. (Please use Template:Text_CatStateOtherFreq for "...Frequencies" related templates and categories.)
Directly Invoked By
- Template:Text_CatStateOther should be directly invoked only by
- simpler categories-templates, or
- top-level theme-based categories, or
- individual categories for which a simpler categories-template does not exist.
Not Intended For
- Template:Text_CatStateOther should not be directly invoked by anything other than "categories" pages, or simpler "categories"-templates.
Parameters
- Specified values will override default values.
- Specified values, Default values, and Parameter names are all case-sensitive.
- Please Note:
- For consistency and convenience, the parameter-names in the list below have been chosen to closely match the parameter-names used in Template:Text_CatStateOtherFreq and Template:Text_CatStateOtherNonRRDB.
- If parameter-names must be added or changed, please make the appropriate corresponding changes to Template:Text_CatStateOtherFreq and Template:Text_CatStateOtherNonRRDB also. Please also update the related documentation pages, including Template:Text_CatStateOther/doc/Compare
Parameter Name | Parameter Details | |
---|---|---|
State | Notes: |
|
State2 | Expected Value(s): |
|
Notes: |
| |
Other | Notes: |
|
Other2 | Expected Value(s): |
|
Notes: |
| |
OtherInState | Expected Value(s): |
|
Notes: |
| |
Country | Expected Value(s): |
|
Notes: |
| |
Parent4 | Expected Value(s): |
|
Notes: |
| |
Parent5 | Expected Value(s): |
|
Notes: |
| |
Parent6 | Expected Value(s): |
|
Notes: |
| |
Parent7 | Expected Value(s): |
|
Notes: |
| |
Articles | Expected Value(s): |
|
Notes: |
| |
MoreText | Expected Value(s): |
|
Notes: |
| |
HideOtherInTitle | Expected Value(s): |
|
Notes: |
| |
HideOtherInList | Expected Value(s): |
|
Notes: |
| |
HideParent4 | Expected Value(s): |
|
Notes: |
| |
HideParent5 | Expected Value(s): |
|
Notes: |
| |
HideParent6 | Expected Value(s): |
|
Notes: |
| |
HideParent7 | Expected Value(s): |
|
Notes: |
|
- 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_CatStateOther| State=| State2=| Other=| Other2=| OtherInState=| 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
Categories-Templates: Emergency Services} | Parameters used | |
Categories-Template example: | Template:Cat_StateFireSvcs | State, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Texas_Fire_Services Category:Canada_Fire_Services Category:Ontario_Fire_Services | |
Template(s) with similar syntax: | Template:Cat_StateLawEnf Template:Cat_StateMedical | |
Categories-Template example: | Template:Cat_StateFireSvcsAv | State, State2, Other, Country, Articles, HideParent3, Parent4, Parent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Texas_Fire_Services_Aviation | |
Template(s) with similar syntax: | Template:Cat_StateLawEnfAv Template:Cat_StateMedAv |
Categories-Templates: General Services
Categories-Templates: General Services} | Parameters used | |
Categories-Template example: | Template:Cat_StateAv | State, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Texas_Aviation Category:Bermuda_Aviation Category:Canada_Aviation Category:Ontario_Aviation | |
Template(s) with similar syntax: | Template:Cat_StateAmateur Template:Cat_StateMjrEvtDis | |
Categories-Template example: | Template:Cat_StateAmateur | State, State2, Other, Country, HideOtherInList, Articles, HideParent3, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Texas_Amateur_Radio Category:Canada_Amateur_Radio Category:British_Columbia_Amateur_Radio | |
Template(s) with similar syntax: | ||
Categories-Template example: | Template:Cat_StateBus | State, Other, Country, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Texas_Businesses Category:Canada_Businesses Category:Ontario_Businesses | |
Template(s) with similar syntax: | ||
Categories-Template example: | Template:Cat_StateBusComPrv | State, State2, Other, Country, MoreText, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:California_Communications_Providers Category:Australia_Communications_Providers Category:New_South_Wales_Communications_Providers | |
Template(s) with similar syntax: | ||
Categories-Template example: | Template:Cat_StateBusFastFood | State, State2, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:New_York_Fast_Food Category:Canada_Fast_Food Category:Alberta_Fast_Food | |
Template(s) with similar syntax: | ||
Categories-Template example: | Template:Cat_StateCivilAv | State, State2, Other, Country, Articles, MoreText, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Idaho_Civil_Aviation Category:Canada_Civil_Aviation Category:Nova_Scotia_Civil_Aviation | |
Template(s) with similar syntax: | Template:Cat_StateUtilComCar | |
Categories-Template example: | Template:Cat_StateCSX | State, State2, Other, Country, Parent4, Parent5, Parent6, HideParent7 |
State-specific example(s): | Category:Florida_CSX_Transportation Category:Canada_CSX_Transportation Category:Quebec_CSX_Transportation | |
Template(s) with similar syntax: | Template:Cat_StateUtilComCar | |
Categories-Template example: | Template:Cat_StateEduc | State, Other, Country, Articles, HideParent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Michigan_Education | |
Template(s) with similar syntax: | Template:Cat_StateMedia Template:Cat_StateSports | |
Categories-Template example: | Template:Cat_StateGrndTrans | State. Other. Country. MoreText. HideParent4. HideParent5. HideParent6. HideParent7 |
State-specific example(s): | Category:New_York_Ground_Transportation Category:Canada_Ground_Transportation Category:Quebec_Ground_Transportation | |
Template(s) with similar syntax: | Template:Cat_StateMarine | |
Categories-Template example: | Template:Cat_StateMotorFrt | State, State2, Other, Country, Articles, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:New_York_Motor_Freight Category:Canada_Motor_Freight Category:Quebec_Motor_Freight | |
Template(s) with similar syntax: | Template:Cat_StateRail | |
Categories-Template example: | Template:Cat_StateRecAtr | State, Other, Country, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:North_Carolina_Recreation_or_Attractions Category:Canada_Recreation_or_Attractions Category:Alberta_Recreation_or_Attractions | |
Template(s) with similar syntax: | Template:Cat_StateSpcEvts Template:Cat_StateUtil Template:Cat_StateWeather |
Categories-Templates: Federal/Military Frequencies
Categories-Templates: Federal/Military Frequencies} | Parameters used | |
Categories-Template example: | Template:Cat_StateAirShows | State, State2, Other, Country, Parent4, Parent5, HideParent6, HideParent7 |
State-specific example(s): | Category:New York Air Shows | |
Template(s) with similar syntax: | ||
Categories-Template example: | Template:Cat_StateMilAv | State. State2, Other, Country, Articles, MoreText, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:California Military Aviation | |
Template(s) with similar syntax: | ||
Categories-Template example: | Template:Cat_StateANG | State, Other, Country, HideParent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:Maryland Air National Guard | |
Template(s) with similar syntax: | Template:Cat_StateARNG | |
Categories-Template example: | Template:Cat_USFedInState | OtherInState, Agency, State, Other, Other2, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:US Land Management in Nevada | |
Template(s) with similar syntax: | ||
Categories-Template example: | Template:Cat_USMilInState | OtherInState, MilBranch, State, Other, Other2, Parent4, HideParent5, HideParent6, HideParent7 |
State-specific example(s): | Category:United States Air Force in New York | |
Template(s) with similar syntax: |
Parameter-Use Examples: Categories
- Selected examples that illustrate various combinations of parameters:
Categories: Top-level "Themes"
Categories: Top-level "Themes"} | Parameters used | |
Categories example: | Category:Air Shows | State, State2, Other, HideOtherInTitle, Articles, Parent4, Parent5, HideParent6, HideParent7 |
Categories with similar syntax: | Category:Businesses | |
Categories example: | Category:Amateur Radio | State, Other, HideOtherInTitle, Articles, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: | Category:Education | |
Categories example: | Category:Air National Guard | State, Other, HideOtherInTitle, Parent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: | ||
Categories example: | Category:Medical | State, Other, HideOtherInTitle, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: | ||
Categories example: | Category:Railroads | State, Other, HideOtherInTitle, Articles, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: |
Categories: Aviation for a Specific Theme
Categories: Aviation for a Specific Theme} | Parameters used | |
Categories example: | Category:Fire Services Aviation | State, Other, Articles, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: | Category:Law Enforcement Aviation Category:Medical Aviation | |
Categories example: | Category:Military Aviation | State, State2, Other, HideOtherInTitle, Articles, MoreText, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: |
Categories: CSX Transportation
Category:CSX Transportation} | Parameters used | |
Categories example: | Category:CSX Transportation | State, State2, Other, HideOtherInTitle, Articles, Parent4, Parent5, HideParent6, HideParent7 |
Categories with similar syntax: |
Categories: US Agency
Categories: US Agency Frequencies} | Parameters used | |
Categories example: | Category:US Federal Government | State, Other, HideOtherInTitle, MoreText, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: | ||
Categories example: | Category:US Civil Air Patrol | State, Other, HideOtherInTitle, Articles, Parent4, Parent5, Parent6, HideParent7 |
Categories with similar syntax: | ||
Categories example: | Category:US Federal Prisons | State, Other, HideOtherInTitle, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: | Category:US Bureau of Reclamation | |
Categories example: | Category:US Land Management | State, Other, HideOtherInTitle, Parent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: |
Categories: United States Military Branch
Category:United States Air Force Frequencies} | Parameters used | |
Categories example: | Category:United States Air Force | State, Other, HideOtherInTitle, HideParent4, HideParent5, HideParent6, HideParent7 |
Categories with similar syntax: | Category:United States Army Category:United States Coast Guard Category:United States Navy |
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) 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, categories:
{{Text_CatStateOther| State={{{State}}}| Other={{{FreqParent|Wiki}}}| HideOtherInTitle=| MoreText={{{MoreText|}}}| HideParent4=| HideParent5=| HideParent6=| HideParent7=}}
Result
- See Template:Cat_State for the actual category-template.
How to invoke this template for a simpler US (Agency) in (State) TEMPLATE
- Template:Cat_USFedInState is an example of a simpler category-template that is used to build (US Federal Government) agency-level categories:
{{Text_CatStateOther| OtherInState=US {{{Agency}}} in {{{State}}}| Other={{{Agency}}}| State={{{State}}}| Other2=US {{{Agency}}}| Parent4=US {{{Agency}}} in {{{State}}}| HideParent5=| HideParent6=| HideParent7=}}
Result
- See Template:Cat_USFedInState for the actual category-template.
How to invoke this template for a simpler United States (MilBranch) in (State) TEMPLATE
- Template:Cat_USMilInState is an example of a simpler category-template that is used to build (United States Military) Branch-level categories:
{{Text_CatStateOther| OtherInState=United States {{{MilBranch}}} in {{{State}}}| Other={{{MilBranch}}}| State={{{State}}}| Other2=United States {{{MilBranch}}}| Parent4=United States {{{MilBranch}}} in {{{State}}}| HideParent5=| HideParent6=| HideParent7=}}
Result
- See Template:Cat_USMilInState for the actual category-template.
How to invoke this template for a (theme) CATEGORY
- Category:Air_National_Guard is an example of a Theme-level category:
{{Text_CatStateOther| State=Air National Guard| Other=United States Air Force| HideOtherInTitle=| Parent4=Military Aviation| HideParent5=| HideParent6=| HideParent7=|}}
Result
- See Category:Air_National_Guard for the actual category.
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
- 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".
{{Text_CatStateOther| State=Air National Guard| Other=United States Air Force| HideOtherInTitle=| 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_CatStateOther |State=Air National Guard |Other=United States Air Force |HideOtherInTitle= |Parent4=Military Aviation Frequencies |HideParent5= |HideParent6= |HideParent7= }}
Return to: Template:Text_CatStateOther, Template:Text_CatStateOther/doc/Compare