Template:Quote/doc: Difference between revisions
create documentation |
template data |
||
Line 1: | Line 1: | ||
=== | === Configuration === | ||
<code><nowiki>{{quote|QUOTE TEXT|AUTHOR|SUBJECT|IMAGE}}</nowiki></code> | <code><nowiki>{{quote|QUOTE TEXT|AUTHOR|SUBJECT|IMAGE}}</nowiki></code> | ||
Line 20: | Line 20: | ||
Note: Images get resized to 64px. | Note: Images get resized to 64px. | ||
=== Parameters === | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Text", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Author", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"3": { | |||
"label": "Topic", | |||
"description": "Will append \"on (TOPIC)\" to the end of the author", | |||
"type": "string" | |||
}, | |||
"4": { | |||
"label": "Image", | |||
"description": "Add an image to the left of the quote.", | |||
"example": "Trollface.svg", | |||
"type": "wiki-file-name" | |||
} | |||
}, | |||
"format": "inline" | |||
} | |||
</templatedata> |