Template:Quote/doc: Difference between revisions

From Habbox Wiki
Jump to navigation Jump to search
Laura (talk | contribs)
mNo edit summary
Laura (talk | contribs)
m added headings
Line 1: Line 1:
{{tlx|Quote}} adds a quote to a page including optional paramaters for Author (attribution) and Linked Source (where the quote is from)
{{tlx|Quote}} adds a quote to a page including optional paramaters for Author (attribution) and Linked Source (where the quote is from)
== Usage ==
== Usage ==
To use the Quote template use the following layout: <pre>{{Quote|Quoted Text|Author|Source}}</pre>  
To use the Quote template use the following layout: <pre>{{Quote|Quoted Text|Author|Source}}</pre>  


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).
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 ==
== Parameters ==


Line 14: Line 10:
* '''link''' - an HTML link to here the quote was originally posted
* '''link''' - an HTML link to here the quote was originally posted


==Examples==
===Quoted Text===
===Quoted Text===
<code><nowiki>{{Quote|quotetext=Example Text}}</nowiki></code>
<code><nowiki>{{Quote|quotetext=Example Text}}</nowiki></code>

Revision as of 20:24, 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

Examples

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