Template:Quote/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
== | == Parameters == | ||
* '''quotetext''' - the text to quote | |||
* '''author''' - the author or attribute name | |||
* '''link''' - an HTML link to here the quote was originally posted | |||
===Quoted Text=== | ===Quoted Text=== | ||
<code><nowiki>{{Quote|Example Text}}</nowiki></code> | <code><nowiki>{{Quote|quotetext=Example Text}}</nowiki></code> | ||
{{Quote|Example Text}} | {{Quote|quotetext=Example Text}} | ||
===Quoted Text with Author=== | ===Quoted Text with Author=== | ||
<code><nowiki>{{Quote| | <code><nowiki>{{Quote|quotetext=Example Text|author=Author}}</nowiki></code> | ||
{{Quote| | {{Quote|quotetext=Example Text|author=Author}} | ||
===Quoted Text with Linked Source=== | ===Quoted Text with Linked Source=== | ||
<code><nowiki>{{Quote| | <code><nowiki>{{Quote|quotetext=Example Text|author=Author name|link=https://www.example.com/}}</nowiki></code> | ||
{{Quote| | {{Quote|quotetext=Example Text|author=Author name|link=https://www.example.com/}} | ||
[[Category:Quote Templates]] | [[Category:Quote Templates]] |
Revision as of 20:23, 16 October 2021
{{Quote}} adds a quote to a page including optional paramaters for Author (attribution) and Linked Source (where the quote is from)
Usage
To use the Quote template use the following layout:
{{Quote|Quoted Text|Author|Source}}
The first parameter is the text of the quote, the second parameter is the person (or entity) who said it, and the third parameter is where the quote came from (paste a whole URL here).
Parameters
- quotetext - the text to quote
- author - the author or attribute name
- link - an HTML link to here the quote was originally posted
Quoted Text
{{Quote|quotetext=Example Text}}
“ | “Example Text” |
Quoted Text with Author
{{Quote|quotetext=Example Text|author=Author}}
“ | “Example Text” |
— Author |
Quoted Text with Linked Source
{{Quote|quotetext=Example Text|author=Author name|link=https://www.example.com/}}
“ | “Example Text” |
— Author name |