Difference between revisions of "Template:Q'"
Line 3: | Line 3: | ||
-->{{#if:{{ValidQid|{{IdNormalize|{{{1|}}}}}}}<!-- | -->{{#if:{{ValidQid|{{IdNormalize|{{{1|}}}}}}}<!-- | ||
#then: | #then: | ||
− | -->| | + | -->|{{Q|{{IdNormalize|{{{1}}}}}}} |
+ | <!-- {{Hideable span|external_link-reasonator| {{Reasonator|{{IdNormalize|{{{1}}}}}}}}}--> | ||
+ | <!-- {{Hideable span|external_link-SQID| {{SQID|{{IdNormalize|{{{1}}}}}}}}}--> | ||
+ | <!-- | ||
#else: | #else: | ||
− | -->| | + | -->|{{#ifexist:Item:{{IdNormalize|Q{{{1|}}}}}<!-- |
#then: | #then: | ||
− | -->| | + | -->|{{Q|{{IdNormalize|Q{{{1}}}}}}} |
+ | <!--{{Hideable span|external_link-reasonator| {{Reasonator|{{IdNormalize|Q{{{1}}}}}}}}}--> | ||
+ | <!--{{Hideable span|external_link-SQID| {{SQID|{{IdNormalize|Q{{{1}}}}}}}}}--> | ||
+ | <!-- | ||
#else: | #else: | ||
− | -->| | + | -->|{{#ifeq:{{{1|}}}|some value<!-- |
#then: | #then: | ||
− | -->| | + | -->|{{Some value}}<!-- |
#else: | #else: | ||
− | -->| | + | -->|{{#ifeq:{{{1|}}}|no value<!-- |
#then: | #then: | ||
-->|{{No value}}<!-- | -->|{{No value}}<!-- |
Latest revision as of 20:54, 23 October 2019
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
<templatedata> { "params": { "1": { "label": { "fr": "item", "en": "item", "ast": "elementu", "zh-hans": "项" }, "description": { "fr": "l'item à afficher", "en": "the item to show", "ast": "l'elementu a amosar", "zh-hans": "要显示的项" }, "type": "wiki-page-name", "required": true, "suggested": true } }, "description": { "en": "Displays an item label in a user-defined language plus a link to Reasonator (using the Q and Reasonator templates)", "ast": "Amuesa la etiqueta d'un elementu na llingua definida pol usuario xunto con un enllaz a Reasonator (usando les plantíes Q y Reasonator)", "fr": "Affiche le label et un lien vers la page d'un item, ainsi qu'un lien vers Reasonator" } } </templatedata>