Template:Quote/doc: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
gamepedia>Pcjbot mNo edit summary |
portalsofphereon>FANDOM m (1 revision: Starter Wiki Refresh) |
||
Line 1: | Line 1: | ||
==Description== |
|||
{{doc/start}} |
|||
To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up. |
|||
==Syntax== |
|||
This template is used to quote a person or source. The color of the quotes themselves should be changed to match the wiki skin color palette. |
|||
<pre> |
|||
{{Quote |
|||
| quote = |
|||
| speaker = |
|||
| source = |
|||
}} |
|||
</pre> |
|||
As an alternative, these can be placed in positional order. |
|||
== Usage == |
|||
==Samples== |
|||
<code><nowiki>{{Quote|This is a quote.}}</nowiki></code> prints: |
|||
{{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|This is a quote.}} |
|||
{{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> |
|||
<code><nowiki>{{Quote|This is a quote.|Author}}</nowiki></code> prints: |
|||
== Technical details == |
|||
{{Quote|This is a quote.|Author}} |
|||
This template uses the [[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:Templates|{{PAGENAME}}]][[Category:Templates/Quote|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
|||
<code><nowiki>{{Quote|This is a quote.|Author|subject}}</nowiki></code> prints: |
|||
{{Quote|This is a quote.|Author|subject}} |
|||
<code><nowiki>{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}}</nowiki></code> prints: |
|||
{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}} |
|||
<code><nowiki>{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Cleanup.svg}}</nowiki></code> prints: |
|||
{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Cleanup.svg}} |
|||
Images are automatically scaled in width to 64px. |
|||
{{doc/end}} |
Revision as of 15:11, 3 September 2019
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
“ | {{{1}}} | „ |
{{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.