Difference between revisions of "Template:Uppercase"
From EncyclopAtys
(Created page with "<includeonly>{{#vardefine:String|{{uc:{{{1|}}}}}}} {{#var:String}} }}</includeonly><noinclude>{{Trad |DE =Template:Uppercase |DEs =4 |ES =Template:Uppercase |ESs =4 |EN =Temp...") |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#vardefine:String|{{uc:{{{1|}}}}}}} | + | <includeonly>{{#vardefine:String|{{uc:{{{1|}}}}}}}{{#var:String}}</includeonly><noinclude>{{Trad |
| − | {{#var:String | ||
| − | }}</includeonly><noinclude>{{Trad | ||
|DE =Template:Uppercase |DEs =4 | |DE =Template:Uppercase |DEs =4 | ||
|ES =Template:Uppercase |ESs =4 | |ES =Template:Uppercase |ESs =4 | ||
| Line 8: | Line 6: | ||
|RU =Template:Uppercase|RUs =4 | |RU =Template:Uppercase|RUs =4 | ||
|H = | |H = | ||
| − | |palette= | + | |palette= |
}} | }} | ||
This template converts a string to uppercase. | This template converts a string to uppercase. | ||
| − | See also the sister template: [[template:Lowercase|Lowercase]] | + | |
| + | *See also the sister template: [[template:Lowercase|Lowercase]] | ||
== Usage: == | == Usage: == | ||
<syntaxhighlight lang="html+handlebars">{{Recruitment|<String>}}</syntaxhighlight> | <syntaxhighlight lang="html+handlebars">{{Recruitment|<String>}}</syntaxhighlight> | ||
== Parameter == | == Parameter == | ||
| − | There is just one parameter : <syntaxhighlight lang="html+handlebars"><String></syntaxhighlight>, the string to convert. | + | There is just one parameter : <syntaxhighlight lang="html+handlebars" inline><String></syntaxhighlight>, the string to convert. |
== Exemples == | == Exemples == | ||
| − | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|yes}}</syntaxhighlight> <big>⟶</big> {{Uppercase|Yes}} | |
| − | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|Jena}}</syntaxhighlight> <big>⟶</big> {{Uppercase|Jena}} | |
| − | {{Uppercase|Yes}} | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|нет}}</syntaxhighlight> <big>⟶</big> {{Uppercase|нет}} |
| − | + | [[Category:Utility templates]]</noinclude> | |
| − | {{Uppercase|Jena}} | ||
| − | |||
| − | {{Uppercase|нет}} | ||
| − | [[Category: | ||
Latest revision as of 17:22, 29 March 2021
This template converts a string to uppercase.
- See also the sister template: Lowercase
Usage:
{{Recruitment|<String>}}
Parameter
There is just one parameter : <String>, the string to convert.
Exemples
-
{{Uppercase|yes}}⟶ YES -
{{Uppercase|Jena}}⟶ JENA -
{{Uppercase|нет}}⟶ НЕТ