Template:Quote: Difference between revisions

From <3 wiki
update docstring
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 3: Line 3:
{{{text}}}
{{{text}}}


<cite>— {{{author}}}{{#if:{{{date|}}}|, {{{date}}}}}</cite>
<cite>— {{{author}}}{{#if:{{{source|}}}|, {{{source}}}}}{{#if:{{{date|}}}|, {{{date}}}}}</cite>
</blockquote>
</blockquote>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example:
Example:
{{Quote|text=text displayed|author=Author name|date=2024-01-01}}
{{Quote|text=text displayed|author=Author name|source=source|date=2024-01-01}}
<templatedata>
<templatedata>
{
{
Line 25: Line 25:
"description": "When was it said? (prefer Japanese YYYY-MM-DD format)",
"description": "When was it said? (prefer Japanese YYYY-MM-DD format)",
"type": "date"
"type": "date"
},
"source": {
"description": "Book name or any other thing",
"type": "line"
}
}
},
},

Revision as of 12:19, 22 December 2024


Example:

text displayed

— Author name, source, 2024-01-01


Adds a quote to the page citing its author

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
texttext

Text of the quote itself

Stringrequired
authorauthor

Who tf said that!?

Linerequired
datedate

When was it said? (prefer Japanese YYYY-MM-DD format)

Dateoptional
sourcesource

Book name or any other thing

Lineoptional