Quote/doc: Difference between revisions
/>FANDOM to get rid of the red link for the documentation |
m 4 revisions imported |
||
(2 intermediate revisions by one other user not shown) | |||
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> |
Latest revision as of 08:13, 2 August 2024
Description[edit | edit source]
To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up.
Syntax[edit | edit source]
{{Quote | quote = | speaker = | source = }}
As an alternative, these can be placed in positional order.
Samples[edit | edit source]
{{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[edit | edit source]
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.