Différences entre les versions de « Issue/2037/Has property description »
De Semantic MediaWiki - Sandbox
(better) |
Balise : Éditeur de wikicode 2017 |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | + | ||
+ | ; Data | ||
+ | Property pages in category [[:Category:Imported vocabulary|imported vocabulary]]. | ||
+ | |||
+ | ; Syntax | ||
+ | <pre> | ||
{{#ask: | {{#ask: | ||
[[Property:+]] | [[Property:+]] | ||
Ligne 9 : | Ligne 14 : | ||
|outro=In case no property description is shown for a particular property no translation has yet been added to it for language code '''{{USERLANGUAGECODE}}'''. | |outro=In case no property description is shown for a particular property no translation has yet been added to it for language code '''{{USERLANGUAGECODE}}'''. | ||
}} | }} | ||
+ | </pre> | ||
+ | |||
+ | ; Result | ||
+ | {{#ask: | ||
+ | [[Property:+]] | ||
+ | [[Category:Imported vocabulary]] | ||
+ | |?Has property description=Description|+lang={{USERLANGUAGECODE}} | ||
+ | |?Has type=Datatype | ||
+ | |mainlabel=Property | ||
+ | |format=broadtable | ||
+ | |outro=In case no property description 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:47
- Data
Property pages in category imported vocabulary.
- Syntax
{{#ask: [[Property:+]] [[Category:Imported vocabulary]] |?Has property description=Description|+lang={{USERLANGUAGECODE}} |?Has type=Datatype |mainlabel=Property |format=broadtable |outro=In case no property description is shown for a particular property no translation has yet been added to it for language code '''{{USERLANGUAGECODE}}'''. }}
- Result
Property | Description« Has property description <span style="font-size:small;">(Property description)</span> » est une propriété prédéfinie fournie par MediaWiki Sémantique et qui permet de décrire une propriété dans le contexte d’une langue. | Datatype« A le type <span style="font-size:small;">(Has type)</span> » est une propriété prédéfinie fournie par MediaWiki Sémantique et qui décrit le type de donnée d’une propriété. |
---|---|---|
Foaf:homepage | URL | |
Foaf:knows | Page | |
Foaf:name | Texte |
In case no property description 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.