QDP2012/30/1
From The RadioReference Wiki
< User:QDP2012 | 30
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_CatGeneral
- 1.1 Scope of Use
- 1.2 Variables
- 1.3 Examples
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 main message to be shown or hidden, and/or custom-messages to be displayed when provided.
Directly Invoked By
- Template:Text_CatGeneral should be directly invoked only by Template:Text_CatStateOther and Template:Text_CatStateOtherFreq.
Not Intended For
- Template:Text_CatGeneral should not be directly invoked by any other template or category, although all templates and categories that invoke either Template:Text_CatStateOther or Template:Text_CatStateOtherFreq will indirectly invoke Template:Text_CatGeneral by transclusion.
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 |
|
unspecified |
| |
MoreText |
|
unspecified |
|
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=|}}