Template:Documentation subpage/doc
From TF Library
Contents |
Usage
- REDIRECT Delete 24
- or
- REDIRECT Delete 24
Userbox documentation
To set this template to use "userbox" and "userbox page" rather than "template" and "template page" or "user template" and "user template page", use:
- REDIRECT Delete 24
- or
- REDIRECT Delete 24
Text customization
The parameters == Usage == This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first
- REDIRECT Delete 24 parameter is empty) an unnamed example parameter.
Examples
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the
- REDIRECT Delete 24 template)
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4). and/or == Usage == This template is for giving examples of template parameter source code (useful in template documentation and talk page discussions of template code). It must have one or two parameters itself. The first is the name of the example parameter to display (this may be empty, but it must be present), and the second (optional) one is a value for the first example parameter, or (if the first
- REDIRECT Delete 24 parameter is empty) an unnamed example parameter.
Examples
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
- (for unnamed parameters in the example code; note the empty first parameter in the
- REDIRECT Delete 24 template)
- REDIRECT Delete 24
- renders as
- Template loop detected: Template:Para
When using literal, pre-specified values, simply provide the value (appearance as in example 3). When illustrating hypothetical, variable or user-definable values, use <var>value</var> (appearance as in example 2), and the same should be done for non-literal, example parameters (as in example 4). can be used to set the text of, respectively, the template's first and second lines. If text1 is set but not text2, both lines' text will derive from text1:
Template:Hidden begin
{{Documentation subpage |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}
Template:Documentation subpage
Template:Hidden end
Template:Hidden begin
{{Documentation subpage |text2='''''text2 appears here'''''}}
Template:Documentation subpage
Template:Hidden end
Template:Hidden begin
{{Documentation subpage |text1='''''text1 appears here'''''}}
Template:Documentation subpage
Template:Hidden end