Différences entre les versions de « Issue/2037/Has monolingual text »
De Semantic MediaWiki - Sandbox
Balise : Éditeur de wikicode 2017 |
(form) Balise : Éditeur de wikicode 2017 |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
+ | ; Data | ||
+ | [[French accents]] | ||
+ | |||
+ | ; Syntax | ||
+ | <pre> | ||
{{#ask: | {{#ask: | ||
[[Category:French accents]] | [[Category:French accents]] | ||
− | |?Has monolingual text= | + | |?Has monolingual text=Text|+lang={{USERLANGUAGECODE}} |
− | + | |mainlabel=Subobject | |
− | |mainlabel= | ||
|format=broadtable | |format=broadtable | ||
− | |outro=In case no | + | |outro=In case no text is shown for a particular property no translation has yet been added to it for language code '''{{USERLANGUAGECODE}}'''. |
}} | }} | ||
+ | </pre> | ||
+ | |||
+ | ; Result | ||
+ | {{#ask: | ||
+ | [[Category:French accents]] | ||
+ | |?Has monolingual text=Text|+lang={{USERLANGUAGECODE}} | ||
+ | |mainlabel=Subobject | ||
+ | |format=broadtable | ||
+ | |outro=In case no text is shown for a particular property no translation has yet been added to it for language code '''{{USERLANGUAGECODE}}'''. | ||
+ | }} | ||
+ | |||
+ | ; Note | ||
+ | The <code><nowiki>{{USERLANGUAGECODE}}</nowiki></code> variable is provided by the [[mediawikiwiki:Extension:MyVariables|MyVariables extension]]. |
Dernière version du 19 juin 2018 à 23:51
- Data
- Syntax
{{#ask: [[Category:French accents]] |?Has monolingual text=Text|+lang={{USERLANGUAGECODE}} |mainlabel=Subobject |format=broadtable |outro=In case no text is shown for a particular property no translation has yet been added to it for language code '''{{USERLANGUAGECODE}}'''. }}
- Result
Subobject | TextUsed to store strings of arbitrary length and associates it with a specific language via an additionally required language code. |
---|---|
French accents | ils conquièrent |
French accents | haïr |
French accents | mère |
French accents | île |
French accents | maître |
French accents | coïncidence |
French accents | égoïste |
French accents | pâte |
French accents | bête |
French accents | très |
French accents | secrète |
French accents | je mènerais |
French accents | Noël |
French accents | hôte |
French accents | astéroïde |
French accents | maïs |
In case no text is shown for a particular property no translation has yet been added to it for language code fr.
- Note
The {{USERLANGUAGECODE}}
variable is provided by the MyVariables extension.