Difference between revisions of "Template:Q"

From BDI Data
Jump to: navigation, search
(Undo revision 4123 by DavidFichtmueller (talk))
m (something is missing here...)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Template:Item]]
+
<includeonly>{{#ifeq: {{str left|{{{1|}}}|1}} | Q 
 +
| [[{{{1|}}}|{{label|{{{1|}}}}} <small>{{int:parentheses|{{{1|}}}}}</small>]]
 +
| [[Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>{{int:parentheses|Q{{{1|}}}}}</small>]]
 +
}}</includeonly><noinclude>{{documentation}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": {
 +
"fr": "item",
 +
"en": "item"
 +
},
 +
"description": {
 +
"fr": "l'item à afficher",
 +
"en": "the item to show"
 +
},
 +
"type": "wiki-page-name",
 +
"required": true,
 +
"suggested": true
 +
}
 +
},
 +
"description": {
 +
"en": "Displays an item label in user language and a link to its wikipage",
 +
"fr": "Affiche le le label et un lien vers la page d'un item"
 +
}
 +
}
 +
</templatedata>
 +
</noinclude>

Revision as of 12:15, 14 May 2016

Template:Documentation <templatedata> { "params": { "1": { "label": { "fr": "item", "en": "item" }, "description": { "fr": "l'item à afficher", "en": "the item to show" }, "type": "wiki-page-name", "required": true, "suggested": true } }, "description": { "en": "Displays an item label in user language and a link to its wikipage", "fr": "Affiche le le label et un lien vers la page d'un item" } } </templatedata>