Template:P: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
== TemplateData ==
{{Documentation|content=
<templatedata>{
== Usage ==
"description": {
 
"en": "Create a localized link to a property",
Information about usage.
"fr": "Crée un lien vers une propriété, traduit dans la langue de l’utilisateur"
 
},
== More example headings ==
"format": "inline",
 
More example contents
 
[[Category:Example category]]
[[Category:Example category 2]]
}}
<templatedata>
{
"params": {
"params": {
"number": {
"1": {
"label": "P",
"label": {
"description": "property number to display",
"en": "Property",
"example": "{{P|15}}",
"fr": "Propriété",
"type": "number"
"zh-hans": "属性"
},
"description": {
"en": "Property identifier",
"fr": "Identifiant de la propriété",
"zh-hans": "属性标识符"
},
"example": {
"en": "P31",
"fr": "P31"
},
"type": "string",
"required": true
},
"anchor": {
"label": {
"en": "Anchor",
"fr": "Ancre",
"zh-hans": "锚点"
},
"description": {
"en": "Create an anchor for the link",
"fr": "Créer une ancre pour le lien",
"zh-hans": "创建链接锚点"
},
"example": {
"en": "\"yes\" or \"no\"",
"fr": "\"yes\" ou \"no\"",
"zh-hans": "\"yes\"或\"no\""
},
"type": "string",
"default": {
"en": "no",
"fr": "no"
}
},
"show_p": {
"label": {
"en": "Show identifier",
"fr": "Afficher l’identiant",
"zh-hans": "显示标识符"
},
"description": {
"en": "Show the property identifier after its localized name",
"fr": "Affiche l’identifiant de la propriété après son nom traduit"
},
"example": {
"en": "\"yes\" or \"no\"",
"fr": "\"yes\" ou \"no\""
},
"type": "string",
"default": {
"en": "yes",
"fr": "yes"
}
}
}
},
}
"description": "This template is for displaying properties (P values) in documentation",
}</templatedata>
"paramOrder": [
"number"
],
"format": "inline"
}
</templatedata></noinclude>

Navigation menu