Template:Attribution: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{categorise|}}}|[[Category:By {{{by}}}]]}}</includeonly> by {{#ifexist:File:{{{by}}}.png| [[File:{{{by}}}.png||25px|link={{{by}}}|class=circular]]}} [[{{{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"
},
"by": {
"label": "Creator",
"description": "The name of the person who made the thing being attributed.",
"type": "string",
"required": true,
"aliases": [
"creator,artist,name"
]
}
}
},
},
"description": "Attribute something to someone.",
"description": "Attribute something to someone.",
"paramOrder": [
"paramOrder": [
"by",
"1",
"categorise"
"categorise"
],
],