Template:Attribution: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{categorise|}}}|[[Category:By {{{ | <includeonly>{{#if:{{{categorise|}}}|[[Category:By {{{1}}}]]}}</includeonly> by {{#ifexist:File:{{{1}}}.png| [[File:{{{by}}}.png||25px|link={{{1}}}|class=circular]]}} [[{{{1}}}]] | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": { | |||
"aliases": [ | |||
"by", | |||
"creator", | |||
"name", | |||
"artist" | |||
], | |||
"label": "Creator", | |||
"description": "The name of the person who made the thing being attributed.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"categorise": { | "categorise": { | ||
"label": "Categorise", | "label": "Categorise", | ||
Line 9: | Line 21: | ||
"type": "boolean", | "type": "boolean", | ||
"default": "false" | "default": "false" | ||
} | } | ||
}, | }, | ||
"description": "Attribute something to someone.", | "description": "Attribute something to someone.", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
"categorise" | "categorise" | ||
], | ], |