Template:Conj-or/doc: Difference between revisions
Template page
More actions
mNo edit summary |
Replace red-link Template:Label transclusions with hardcoded project names (Label deprecation) |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
{{TemplateBox | {{TemplateBox | ||
|1 = lang | |1 = lang | ||
| Line 7: | Line 8: | ||
|1stat = optional | |1stat = optional | ||
|name=Conj- | |name=Conj-or | ||
|desc=Returns the word "or" in the language setting of the user's interface.<br/>Currently in use at {{Tl|In category}}, {{Tl|Subcat}}, {{Tl|Conj}}. | |desc=Returns the word "or" in the language setting of the user's interface.<br/>Currently in use at {{Tl|In category}}, {{Tl|Subcat}}, {{Tl|Conj}}. | ||
|desc-de=Diese Vorlage gibt das Wort | |desc-de=Diese Vorlage gibt das Wort „oder“ in der Sprache des Benutzerschnittstellenparameters zurück.<br/>Derzeit verwendet in {{Tl|In category}}, {{Tl|Subcat}}, {{tl|Conj}}. | ||
|desc-fr=Ce modèle renvoie le mot "ou" dans la langue du paramètre de l'interface de l'utilisateur.<br/>Actuellement utilisé à {{Tl|In category}}, {{Tl|Subcat}}. | |desc-fr=Ce modèle renvoie le mot "ou" dans la langue du paramètre de l'interface de l'utilisateur.<br/>Actuellement utilisé à {{Tl|In category}}, {{Tl|Subcat}}. | ||
|namespace=all | |namespace=all | ||
| Line 17: | Line 18: | ||
|type= | |type= | ||
|example= | |example= | ||
|example-value= | |||
|i18n-method=mediawiki-msg | |i18n-method=mediawiki-msg | ||
|i18n-desc= | |i18n-desc= | ||
|seealso= | |seealso= | ||
* {{Tlx|Conj- | * {{Tlx|Conj-and}} | ||
|setscats= | |setscats= | ||
|lines= | |lines= | ||
| Line 27: | Line 29: | ||
}} | }} | ||
== | == Example == | ||
* " | * "{{mono|<nowiki><bdi>1{{Conj-or}}2</bdi></nowiki>}}" gives "<bdi>1{{Conj-or}}2</bdi>" | ||
* " | * "{{mono|<nowiki><bdi>1{{Conj-or|lang=en}}2</bdi></nowiki>}}" gives "<bdi>1{{Conj-or|lang=en}}2</bdi>" | ||
* " | * "{{mono|<nowiki><bdi>1{{Conj-or|lang=ar}}2</bdi></nowiki>}}" gives "<bdi>1{{Conj-or|lang=ar}}2</bdi>" | ||
* "< | * "{{mono|<nowiki><bdi>1{{Conj-or|lang=zh}}2</bdi></nowiki>}}" gives "<bdi>1{{Conj-or|lang=zh}}2</bdi>" | ||
* "{{mono|<nowiki><bdi>1{{Conj-or|lang=xx}}2</bdi></nowiki>}}" gives "<bdi>1{{Conj-or|lang=xx}}2</bdi>" | |||
< | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Multilingual tags: Other|{{PAGENAME}}]] | [[Category:Multilingual tags: Other|{{PAGENAME}}]] | ||
[[Category:Internationalization templates using LangSwitch|{{PAGENAME}}]] | [[Category:Internationalization templates using LangSwitch|{{PAGENAME}}]] | ||
</includeonly> | }}</includeonly> | ||
Latest revision as of 17:31, 10 August 2026
Returns the word "or" in the language setting of the user's interface.
Currently in use at {{In category}}, {{Subcat}}, {{Conj}}.
Usage
{{Conj-or |lang= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
lang | Language code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences). | code | en | optional |
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
See also
- {{Conj-and}}
Localization
This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).
Example
- "<bdi>1{{Conj-or}}2</bdi>" gives "1 or 2"
- "<bdi>1{{Conj-or|lang=en}}2</bdi>" gives "1 or 2"
- "<bdi>1{{Conj-or|lang=ar}}2</bdi>" gives "1 أو 2"
- "<bdi>1{{Conj-or|lang=zh}}2</bdi>" gives "1或2"
- "<bdi>1{{Conj-or|lang=xx}}2</bdi>" gives "1 or 2"