Template:Nowrap/doc: Difference between revisions
More actions
m - {{documentation}} using AWB |
m use {{TemplateBox}} |
||
| Line 1: | Line 1: | ||
{{TemplateBox | |||
<!-- | |1 = 1 | ||
|1d-en = Your text to be shown | |||
|1label = text | |||
|1aliases = <!-- List of aliases, separated by / (a slash) --> | |||
|1type = string/line | |||
|1def = <!-- default value for the parameter --> | |||
|1stat = required | |||
;Handling interpreted characters | |name = nowrap | ||
|desc = <!-- Description of the template --> | |||
|namespace = all | |||
|usergroup = all | |||
|placement = | |||
|usage-notes = ;Handling interpreted characters | |||
*For text that includes an equals sign (=), precede the text with <code>1=</code>. For example, | *For text that includes an equals sign (=), precede the text with <code>1=</code>. For example, | ||
*:<code><big><nowiki>{{nowrap| | *:<code><big><nowiki>{{nowrap|1=2 + 2 = 4}}</nowiki></big></code> | ||
*:produces 2 + 2 = 4. | *:produces 2 + 2 = 4. | ||
*For text that includes a vertical bar ( | *For text that includes a vertical bar ({{!}}), escape the bar(s) with <code><nowiki>&#124;</nowiki></code> or <code><nowiki>{{!}}</nowiki></code>. For example, | ||
*:<code><big><nowiki>{{nowrap|</nowiki>1=&#124;2&#124; < 3}}</big></code> | *:<code><big><nowiki>{{nowrap|</nowiki>1=&#124;2&#124; < 3<nowiki>}}</nowiki></big></code> | ||
*:produces | *:produces {{!}}2{{!}} < 3. | ||
|type = | |||
<includeonly> | |example = | ||
|example-value = | |||
|i18n-method = - | |||
|i18n-desc = | |||
|i18n-mediawiki-msg = | |||
|i18n-subpage = | |||
|seealso = | |||
|setscats = | |||
|lines = | |||
|shorthand = | |||
|relieson = | |||
|mustbesubst = | |||
|useTemplateData = 1 | |||
}}<includeonly> | |||
<!--Categories--> | <!--Categories--> | ||
[[Category:Formatting templates|{{PAGENAME}}]] | [[Category:Formatting templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 20:43, 11 April 2014
No description yet available.
Usage
{{nowrap |1= }}
- Handling interpreted characters
- For text that includes an equals sign (=), precede the text with
1=. For example,{{nowrap|1=2 + 2 = 4}}- produces 2 + 2 = 4.
- For text that includes a vertical bar (|), escape the bar(s) with
|or{{!}}. For example,{{nowrap|1=|2| < 3}}- produces |2| < 3.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | text | Your text to be shown | empty | required |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information
| ||||||||||
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Localization
This template is not intended to be localized.