Vorlage:Uppercase: Unterschied zwischen den Versionen
Aus EnzyklopAtys
(Die Seite wurde neu angelegt: „<includeonly>{{#vardefine:String|{{lc:{{{1|}}}}}}}{{#var:String}}</includeonly><noinclude>{{Trad |DE =Template:Uppercase |DEs =4 |ES =Template:Uppercase |ESs…“) |
|||
Zeile 1: | Zeile 1: | ||
− | <includeonly>{{#vardefine:String|{{ | + | <includeonly>{{#vardefine:String|{{uc:{{{1|}}}}}}}{{#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 | ||
Zeile 9: | Zeile 9: | ||
}} | }} | ||
− | This template converts a string to | + | This template converts a string to uppercase. |
− | *See also the sister template: [[template: | + | *See also the sister template: [[template:Lowercase|Lowercase]] |
== Usage: == | == Usage: == | ||
− | <syntaxhighlight lang="html+handlebars">{{ | + | <syntaxhighlight lang="html+handlebars">{{Recruitment|<String>}}</syntaxhighlight> |
== Parameter == | == Parameter == | ||
There is just one parameter : <syntaxhighlight lang="html+handlebars" inline><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>{{ | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|yes}}</syntaxhighlight> <big>⟶</big> {{Uppercase|Yes}} |
− | : <syntaxhighlight lang="html+handlebars" inline>{{ | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|Jena}}</syntaxhighlight> <big>⟶</big> {{Uppercase|Jena}} |
− | : <syntaxhighlight lang="html+handlebars" inline>{{ | + | : <syntaxhighlight lang="html+handlebars" inline>{{Uppercase|нет}}</syntaxhighlight> <big>⟶</big> {{Uppercase|нет}} |
[[Category:Utility templates]]</noinclude> | [[Category:Utility templates]]</noinclude> |
Aktuelle Version vom 29. März 2021, 18:13 Uhr
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|нет}}
⟶ НЕТ