Quote/doc: Difference between revisions
Jump to navigation
Jump to search
x>FANDOM (to get rid of the red link for the documentation) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
==Description== | |||
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 20:04, 24 March 2021
Description
To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up.
Syntax
{{Quote | quote = | speaker = | source = }}
As an alternative, these can be placed in positional order.
Samples
When you play the game of thrones, you win or you die.
{{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"]] }}
or
{{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"]] }}
Technical details
This template uses the Lua templating language, and more information can be found on the Global Lua Module page. For a traditional wikitext version of this template, see Quote on Templates Wiki.