Template:P: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== TemplateData == | |||
<templatedata>{ | |||
== | "description": { | ||
"en": "Create a localized link to a property", | |||
"fr": "Crée un lien vers une propriété, traduit dans la langue de l’utilisateur" | |||
}, | |||
"format": "inline", | |||
} | |||
"params": { | "params": { | ||
" | "1": { | ||
"label": " | "label": { | ||
"description": " | "en": "Property", | ||
"example": "{{ | "fr": "Propriété", | ||
"type": " | "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" | |||
} | |||
} | } | ||
} | } | ||
}</templatedata> | |||
} | |||
</templatedata |
Revision as of 15:02, 8 March 2023
TemplateData
Create a localized link to a property
Parameter | Description | Type | Status | |
---|---|---|---|---|
Property | 1 | Property identifier
| String | required |
Anchor | anchor | Create an anchor for the link
| String | optional |
Show identifier | show_p | Show the property identifier after its localized name
| String | optional |