Template:Quote: Difference between revisions

From Habbox Wiki
Jump to navigation Jump to search
Laura (talk | contribs)
mNo edit summary
Laura (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{|
<includeonly>{|
| rowspan = 2 style="font: bold 5em/0.02em 'Georgia', 'Times New Roman', 'Times', serif; color: #ccc; border-right: 3px solid #ccc; padding: 25px 20px 0em 0.2em;" | &ldquo;
| rowspan = 2 style="color: #ccc; border-right: 3px solid #ccc; padding: 25px 20px 0em 0.2em;" | &ldquo;
| style="font-family: 'Georgia', 'Times New Roman', 'Times', serif; font-style: italic; line-height: 1.53846em; padding-left: 15px; font-size: 1.1em;" |&ldquo;{{{1}}}&rdquo;
| style="line-height: 1.53846em; padding-left: 15px; font-size: 1.1em;" |&ldquo;{{{1}}}&rdquo;
|-
|-
| style="text-align: left; font-size: 0.9em; font-style: italic; margin-top: 0; padding-left: 120px;" | {{#if:{{{3|}}}|&mdash;  [{{{3}}} {{{2}}}]|{{#if:{{{2|}}}|&mdash;  {{{2}}}}} }}
| style="text-align: left; font-size: 0.9em; font-style: italic; margin-top: 0; padding-left: 120px;" | {{#if:{{{3|}}}|&mdash;  [{{{3}}} {{{2}}}]|{{#if:{{{2|}}}|&mdash;  {{{2}}}}} }}

Revision as of 18:06, 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|quotetext=|author=|link=}}

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}}

“{{{1}}}”


Quoted Text with Author

{{Quote|quotetext=Example Text|author=Author}}

“{{{1}}}”


Quoted Text with Linked Source

{{Quote|quotetext=Example Text|author=Author name|link=https://www.example.com/}}

“{{{1}}}”