Template:Nowrap/doc: Difference between revisions
More actions
m use {{TemplateBox}} |
Add support for {{nowrap/sandbox}} |
||
| Line 1: | Line 1: | ||
{{TemplateBox | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
{{TemplateBox{{\sandbox}} | |||
|1 = 1 | |1 = 1 | ||
|1d-en = Your text to be shown | |1d-en = Your text to be shown | ||
|1label = text | |1label = text | ||
|1aliases = <!-- List of aliases, separated by / (a slash) --> | |1aliases = <!-- List of aliases, separated by / (a slash) --> | ||
|1type = | |1type = line | ||
|1def = <!-- default value for the parameter --> | |1def = <!-- default value for the parameter --> | ||
|1stat = required | |1stat = required | ||
| name = nowrap{{\sandbox}} | |||
| mbox = | |||
{{Uses TemplateStyles|Template:Nowrap/styles.css}} | |||
|desc = <!-- Description of the template --> | |desc = <!-- Description of the template --> | ||
|namespace = all | |namespace = all | ||
|usergroup = all | |usergroup = all | ||
|usage-notes = ;Handling interpreted characters | |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, | ||
| Line 34: | Line 37: | ||
|mustbesubst = | |mustbesubst = | ||
|useTemplateData = 1 | |useTemplateData = 1 | ||
}}<includeonly> | }} | ||
<!--Categories--> | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Formatting templates|{{PAGENAME}}]] | [[Category:Formatting templates|{{PAGENAME}}]] | ||
</includeonly> | }}</includeonly> | ||
Revision as of 10:59, 3 September 2021
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.