« Issue/2037/Has property description » : différence entre les versions
De Semantic MediaWiki - Sandbox
(better) |
Aucun résumé des modifications 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"Property description" is a predefined property that allows to describe a property in context of a language and is provided by Semantic MediaWiki. | Datatype"Has type" is a predefined property that describes the datatype of a property and is provided by Semantic MediaWiki. |
---|---|---|
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.