Différences entre les versions de « Issue/2037/Has property description »

De Semantic MediaWiki - Sandbox
(neu)
 
Balise : Éditeur de wikicode 2017
 
(6 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« 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: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.