« Issue/2037/Has property description » : différence entre les versions

De Semantic MediaWiki - Sandbox
m (Kghbln a déplacé la page Issue/2037 Has property description vers Issue/2037/Has property description sans laisser de redirection : namefix)
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
 
(5 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
== Sandbox provided imported vocabulary ==
 
; Data
Property pages in category [[:Category:Imported vocabulary|imported vocabulary]].
 
; Syntax
<pre>
{{#ask:
{{#ask:
  [[Property:+]]
  [[Property:+]]
Ligne 7 : Ligne 12 :
  |mainlabel=Property
  |mainlabel=Property
  |format=broadtable
  |format=broadtable
  |outro=In case no property description is shown not translation for the property description has yet been added 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
PropertyDescription"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:homepageURL
Foaf:knowsPage
Foaf:nameTexte

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.

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.