Difference between revisions of "Template:Uppercase"
From EncyclopAtys
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 16: | Line 15: | ||
<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}} | |
− | {{Uppercase|Yes}} | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|Jena}}</syntaxhighlight> <big>⟶</big> {{Uppercase|Jena}} |
− | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|нет}}</syntaxhighlight> <big>⟶</big> {{Uppercase|нет}} | |
− | {{Uppercase|Jena}} | ||
− | |||
− | {{Uppercase|нет}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 18:05, 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|нет}}
⟶ НЕТ