Actions

User

Difference between revisions of "QDP2012/30/1"

From The RadioReference Wiki

< User:QDP2012‎ | 30
m
m
Line 5: Line 5:
 
====Purpose====
 
====Purpose====
 
*'''[[:Template:Text_CatGeneral]]''' is designed to be a single-source text-template that provides a common and uniform structure for the text that is displayed in the mid-sections of both '''[[:Template:Text_CatStateOther]]''' and '''[[:Template:Text_CatStateOtherFreq]]'''.   
 
*'''[[:Template:Text_CatGeneral]]''' is designed to be a single-source text-template that provides a common and uniform structure for the text that is displayed in the mid-sections of both '''[[:Template:Text_CatStateOther]]''' and '''[[:Template:Text_CatStateOtherFreq]]'''.   
*Variables listed below allow the main message to be shown or hidden, and/or custom-messages to be displayed when provided.
+
*Variables listed below allow the default message to be shown or hidden, and/or custom-messages to be displayed when provided.
 +
*The default message is intended for frequencies-related categories, and contains instructions about submitting information to the Frequency Database.
  
 
====Directly Invoked By====
 
====Directly Invoked By====
Line 26: Line 27:
 
*or specified with no value  
 
*or specified with no value  
 
||unspecified ||  
 
||unspecified ||  
* When unspecified, the main message displays (and will be above any custom message specified by the MoreText variable).<br/>
+
* When unspecified, the default message displays (and will be above any custom message specified by the MoreText variable).<br/>
*When specified with no value, the main message is hidden.<br/>
+
*When specified with no value, the default message is hidden.<br/>
 
----
 
----
*'''[[:Template:Text_CatStateOther]]''' hides the main message.
+
*'''[[:Template:Text_CatStateOther]]''' hides the default message.
*'''[[:Template:Text_CatStateOtherFreq]]''' displays the main message.
+
*'''[[:Template:Text_CatStateOtherFreq]]''' displays the default message.
  
 
----
 
----
Line 40: Line 41:
 
|| unspecified ||
 
|| unspecified ||
 
*When unspecified, this variable is hidden.<br/>
 
*When unspecified, this variable is hidden.<br/>
*When specified, any custom message assigned to this variable with be displayed.  If the main message is not hidden (using the HideFreqText variable), then the main message will be displayed above the custom message.
+
*When specified, any custom message assigned to this variable with be displayed.  If the default message is not hidden (using the HideFreqText variable), then the default message will be displayed above the custom message.
 
----
 
----
 
*'''[[:Template:Text_CatStateOther]]''' allows a custom message via MoreText.
 
*'''[[:Template:Text_CatStateOther]]''' allows a custom message via MoreText.

Revision as of 19:40, 6 September 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_CatGeneral

Scope of Use

Purpose

  • Template:Text_CatGeneral is designed to be a single-source text-template that provides a common and uniform structure for the text that is displayed in the mid-sections of both Template:Text_CatStateOther and Template:Text_CatStateOtherFreq.
  • Variables listed below allow the default message to be shown or hidden, and/or custom-messages to be displayed when provided.
  • The default message is intended for frequencies-related categories, and contains instructions about submitting information to the Frequency Database.

Directly Invoked By

Not Intended For


Variables

  • Specified values will override default values.
  • Specified values and Default values are all case-sensitive.
Variable Name Var Description Expected Value(s) Default Value Notes
HideFreqText
  • either unspecified
  • or specified with no value
unspecified
  • When unspecified, the default message displays (and will be above any custom message specified by the MoreText variable).
  • When specified with no value, the default message is hidden.


  • Caution: Please do not specify an actual value for this variable, as the results will be beyond the designs of both this template and the template(s) that are expected to invoke this template.
MoreText
  • either unspecified
  • or specified with a custom-message
unspecified
  • When unspecified, this variable is hidden.
  • When specified, any custom message assigned to this variable with be displayed. If the default message is not hidden (using the HideFreqText variable), then the default message will be displayed above the custom message.

Examples

  • The horizontal lines below separate examples for clarity and do not appear when template is invoked.


How to invoke this template to show only the default message

  • {{Text_CatGeneral}}

Result


How to invoke this template to show both default and custom messages

  • {{Text_CatGeneral|MoreText=<br/><br/>This is a custom message.}}

Result


How to invoke this template to show only a custom message

  • {{Text_CatGeneral|HideFreqText=|MoreText=<br/><br/>This is a custom message.}}

Result


How to invoke this template to show neither the default nor a custom message

  • {{Text_CatGeneral|HideFreqText=|MoreText=|}}

Result