Template:Conj-or/doc: Difference between revisions
Template page
More actions
Undo broken CodexBot edit (label-replacement parser mishandled triple-brace template args) Tag: Undo |
Replace red-link Template:Label transclusions with hardcoded project names (Label deprecation) |
||
| Line 29: | 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}}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=en}}2</bdi></nowiki>}}" gives "<bdi>1{{Conj-or|lang=en}}2</bdi>" | ||
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"