Difference between revisions of "Template:Rquote"

From Roleplay UK Wiki
Jump to navigation Jump to search
m (Jaffa moved page Template:RQuote to Template:Rquote: correct caps)
m (Add templatedata)
 
Line 8: Line 8:
|}<!--Markup inserted from Template:Rquote--><noinclude>
|}<!--Markup inserted from Template:Rquote--><noinclude>
{{Documentation}}
{{Documentation}}
<templatedata>
{
"description": "Adds a quotation.",
"params": {
"align": {
"aliases": [
"1"
],
"description": "The alignment of quote on page",
"example": "left",
"type": "line",
"default": "left"
},
"text": {
"label": "text",
"description": "The text to quote",
"type": "content",
"required": true,
"aliases": [
"2",
"quote"
],
"example": "Cry \"Havoc\" and let slip the dogs of war."
},
"sign": {
"label": "sign",
"description": "The person being quoted",
"type": "content",
"required": false,
"aliases": [
"3",
"cite",
"author"
],
"example": "[[William Shakespeare]]",
"suggested": true
},
"source": {
"label": "source",
"description": "A source for the quote",
"type": "content",
"required": false,
"aliases": [
"4"
],
"example": "''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I",
"suggested": true
}
}
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 23:08, 23 August 2019

Template documentation[create]

Adds a quotation.

Template parameters

ParameterDescriptionTypeStatus
alignalign 1

The alignment of quote on page

Default
left
Example
left
Lineoptional
texttext 2 quote

The text to quote

Example
Cry "Havoc" and let slip the dogs of war.
Contentrequired
signsign 3 cite author

The person being quoted

Example
[[William Shakespeare]]
Contentsuggested
sourcesource 4

A source for the quote

Example
''[[Julius Caesar (play)|Julius Caesar]]'', act III, scene I
Contentsuggested