Quote/doc: Difference between revisions

From The Satanic Wiki
Jump to navigation Jump to search
x>FANDOM
No edit summary
 
x>FANDOM
(to get rid of the red link for the documentation)
Line 1: Line 1:
==Description==
This module is used by most of the basic [[:Category:Quote templates|Quote templates]] and is invoked by {{t|Quote}}.
To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up.
 
==Syntax==
<pre>
{{Quote
| quote  =
| speaker =
| source  =
}}
</pre>
 
As an alternative, these can be placed in positional order.
==Samples==
{{Quote
| quote  = When you play the game of thrones, you win or you die.
| speaker = [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]]
| source  = [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]]
}}
<pre>
{{Quote
| quote  = When you play the game of thrones, you win or you die.
| speaker = [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]]
| source  = [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]]
}}
</pre>
or
 
<pre>
{{Quote
| When you play the game of thrones, you win or you die.
| [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]]
| [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]]
}}
</pre>
 
 
== Technical details ==
This template uses the [[w:Help:Lua|Lua templating language]], and more information can be found [[w:c:dev:Global_Lua_Modules/Quote|on the Global Lua Module page]]. '''For a traditional wikitext version of this template, see [[w:c:templates:Template:Quote|Quote on Templates Wiki]]'''.
<includeonly>[[Category:Quote templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 23:33, 20 January 2021

This module is used by most of the basic Quote templates and is invoked by {{Quote}}.