Difference between revisions of "Text CatStateOther/doc/Compare"
From The RadioReference Wiki
< Template:Text CatStateOther
m |
m (updated notes) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
*The parameters below are listed in the order of "likely importance" or "most often used". | *The parameters below are listed in the order of "likely importance" or "most often used". | ||
{{Text_Sortable}} | {{Text_Sortable}} | ||
− | {| {{table}} class="sortable" | + | {| {{table}} class="sortable" width="100%" |
|- | |- | ||
! Parameter Name !! Exists in<br/>[[:Template:Text_CatStateOther|Text_CatStateOther]] !! Exists in<br/>[[:Template:Text_CatStateOtherFreq|Text_CatStateOtherFreq]] !! Exists in<br/>[[:Template:Text_CatStateOtherNonRRDB|Text_CatStateOtherNonRRDB]] | ! Parameter Name !! Exists in<br/>[[:Template:Text_CatStateOther|Text_CatStateOther]] !! Exists in<br/>[[:Template:Text_CatStateOtherFreq|Text_CatStateOtherFreq]] !! Exists in<br/>[[:Template:Text_CatStateOtherNonRRDB|Text_CatStateOtherNonRRDB]] | ||
Line 50: | Line 50: | ||
| OtherFreqInState || -- || Yes || -- | | OtherFreqInState || -- || Yes || -- | ||
|- | |- | ||
− | | HideParent3 || -- || Yes (''[ | + | | HideParent3 || -- || Yes (''[[#Notes|Note 2]]'') || -- |
|- | |- | ||
| Country || Yes || Yes || Yes | | Country || Yes || Yes || Yes | ||
Line 56: | Line 56: | ||
| Articles || Yes || Yes || Yes | | Articles || Yes || Yes || Yes | ||
|- | |- | ||
− | | MoreText || Yes (''[ | + | | MoreText || Yes (''[[#Notes|Note 1]]'') || Yes (''[[#Notes|Note 1]]'') || Yes (''[[#Notes|Note 1]]'') |
|- | |- | ||
| Parent4 || Yes || Yes || Yes | | Parent4 || Yes || Yes || Yes | ||
Line 73: | Line 73: | ||
|- | |- | ||
| HideParent7 || Yes || Yes || Yes | | HideParent7 || Yes || Yes || Yes | ||
+ | |- | ||
+ | | TextHasNoParent || -- || -- || Yes (''[[#Notes|Note 3]]'') | ||
+ | |- | ||
+ | | HideAllParents || -- || -- || Yes (''[[#Notes|Note 3]]'') | ||
+ | |- | ||
+ | | SubmittedBy || -- || -- || Yes (''[[#Notes|Note 4]]'') | ||
|- | |- | ||
|} | |} | ||
Line 78: | Line 84: | ||
===Invoking Template:Text_CatGeneral=== | ===Invoking Template:Text_CatGeneral=== | ||
*The three templates above invoke [[:Template:Text_CatGeneral|Text_CatGeneral]] differently | *The three templates above invoke [[:Template:Text_CatGeneral|Text_CatGeneral]] differently | ||
− | {| {{table}} | + | {| {{table}} width="100%" |
|- | |- | ||
! [[:Template:Text_CatGeneral|Text_CatGeneral]]<br/>Parameter Name !! Used By Template<br/>[[:Template:Text_CatStateOther|Text_CatStateOther]] !! Used By Template<br/>[[:Template:Text_CatStateOtherFreq|Text_CatStateOtherFreq]] !! Used By Template<br/>[[:Template:Text_CatStateOtherNonRRDB|Text_CatStateOtherNonRRDB]] | ! [[:Template:Text_CatGeneral|Text_CatGeneral]]<br/>Parameter Name !! Used By Template<br/>[[:Template:Text_CatStateOther|Text_CatStateOther]] !! Used By Template<br/>[[:Template:Text_CatStateOtherFreq|Text_CatStateOtherFreq]] !! Used By Template<br/>[[:Template:Text_CatStateOtherNonRRDB|Text_CatStateOtherNonRRDB]] | ||
Line 86: | Line 92: | ||
| HideFreqText || Yes || -- || Yes | | HideFreqText || Yes || -- || Yes | ||
|- | |- | ||
− | | MoreText || Yes (''[ | + | | MoreText || Yes (''[[#Notes|Note 1]]'') || Yes (''[[#Notes|Note 1]]'') || Yes (''[[#Notes|Note 1]]'') |
|- | |- | ||
|} | |} | ||
Line 94: | Line 100: | ||
**Parameter '''MoreText''' exists as a parameter in the templates that invoke '''[[:Template:Text_CatGeneral|Text_CatGeneral]]''', thus allowing a "pass-through" effect so that custom messages can be displayed uniformly in all templates and categories that use '''[[:Template:Text_CatGeneral|Text_CatGeneral]]'''.<br/><br/> | **Parameter '''MoreText''' exists as a parameter in the templates that invoke '''[[:Template:Text_CatGeneral|Text_CatGeneral]]''', thus allowing a "pass-through" effect so that custom messages can be displayed uniformly in all templates and categories that use '''[[:Template:Text_CatGeneral|Text_CatGeneral]]'''.<br/><br/> | ||
*'''''Note 2''''' | *'''''Note 2''''' | ||
− | **Parameter '''HideParent3''' hides the value of "Parent3" which is a parameter that is not user-defined, but is automatically created by the template's logic. Please see '''[[:Template:Text_CatStateOtherFreq/doc|Text_CatStateOtherFreq/doc]]''' for more information. | + | **Parameter '''HideParent3''' hides the value of "Parent3" which is a parameter that is not user-defined, but is automatically created by the template's logic. Please see '''[[:Template:Text_CatStateOtherFreq/doc|Text_CatStateOtherFreq/doc]]''' for more information.<br/><br/> |
− | + | *'''''Note 3''''' | |
− | + | **Parameters '''TextHasNoParent''' and '''HideAllParents''' should be used only with the top-category for an entire category-tree; and should be used as a pair, not just one. Example: [[:Category:Gateways]].<br/><br/> | |
+ | *'''''Note 4''''' | ||
+ | **Parameter '''SubmittedBy''' should be used only when the category's articles are submitted only by administrators, not by regular members. Examples: [[:Category:Gateways]], [[:Category:Legal]] | ||
Latest revision as of 00:29, 16 April 2016
Contents
Documentation Sub-Page for Set of "Text_CatStateOther..." Templates
Introduction
- This page compares the parameter-lists of the "Text_CatStateOther..." templates listed below, which are designed to use many of the same parameters, and to invoke template "Text_CatGeneral" in different ways.
Parameter-List Comparison
- The parameters below are listed in the order of "likely importance" or "most often used".
- To sort by a particular column, click the arrow beside that column's title. Click the arrow again to reverse the sort.
Parameter Name | Exists in Text_CatStateOther |
Exists in Text_CatStateOtherFreq |
Exists in Text_CatStateOtherNonRRDB |
---|---|---|---|
State | Yes | Yes | Yes |
State2 | Yes | Yes | Yes |
StateParentNotFreq | -- | Yes | -- |
Other | Yes | Yes | Yes |
Other2 | Yes | Yes | Yes |
OtherIsNotFreq | -- | Yes | -- |
HideOtherInTitle | Yes | Yes | Yes |
HideOtherInList | Yes | Yes | Yes |
OtherInState | Yes | -- | Yes |
OtherFreqInState | -- | Yes | -- |
HideParent3 | -- | Yes (Note 2) | -- |
Country | Yes | Yes | Yes |
Articles | Yes | Yes | Yes |
MoreText | Yes (Note 1) | Yes (Note 1) | Yes (Note 1) |
Parent4 | Yes | Yes | Yes |
Parent5 | Yes | Yes | Yes |
Parent6 | Yes | Yes | Yes |
Parent7 | Yes | Yes | Yes |
HideParent4 | Yes | Yes | Yes |
HideParent5 | Yes | Yes | Yes |
HideParent6 | Yes | Yes | Yes |
HideParent7 | Yes | Yes | Yes |
TextHasNoParent | -- | -- | Yes (Note 3) |
HideAllParents | -- | -- | Yes (Note 3) |
SubmittedBy | -- | -- | Yes (Note 4) |
Invoking Template:Text_CatGeneral
- The three templates above invoke Text_CatGeneral differently
Text_CatGeneral Parameter Name |
Used By Template Text_CatStateOther |
Used By Template Text_CatStateOtherFreq |
Used By Template Text_CatStateOtherNonRRDB |
---|---|---|---|
HideRRDBText | -- | -- | Yes |
HideFreqText | Yes | -- | Yes |
MoreText | Yes (Note 1) | Yes (Note 1) | Yes (Note 1) |
Notes
- Note 1
- Parameter MoreText exists as a parameter in the templates that invoke Text_CatGeneral, thus allowing a "pass-through" effect so that custom messages can be displayed uniformly in all templates and categories that use Text_CatGeneral.
- Parameter MoreText exists as a parameter in the templates that invoke Text_CatGeneral, thus allowing a "pass-through" effect so that custom messages can be displayed uniformly in all templates and categories that use Text_CatGeneral.
- Note 2
- Parameter HideParent3 hides the value of "Parent3" which is a parameter that is not user-defined, but is automatically created by the template's logic. Please see Text_CatStateOtherFreq/doc for more information.
- Parameter HideParent3 hides the value of "Parent3" which is a parameter that is not user-defined, but is automatically created by the template's logic. Please see Text_CatStateOtherFreq/doc for more information.
- Note 3
- Parameters TextHasNoParent and HideAllParents should be used only with the top-category for an entire category-tree; and should be used as a pair, not just one. Example: Category:Gateways.
- Parameters TextHasNoParent and HideAllParents should be used only with the top-category for an entire category-tree; and should be used as a pair, not just one. Example: Category:Gateways.
- Note 4
- Parameter SubmittedBy should be used only when the category's articles are submitted only by administrators, not by regular members. Examples: Category:Gateways, Category:Legal