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="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;
| style="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;{{{quotetext}}}&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:{{{link|}}}|&mdash;  [{{{link}}} {{{author}}}]|{{#if:{{{author|}}}|&mdash;  {{{author}}}}} }}
|}</includeonly>
|}</includeonly>


Line 12: Line 12:
{
{
"params": {
"params": {
"Quoted text": {
"quotetext": {
"description": "The text you're quoting",
"description": "The text you're quoting",
"required": true
"required": true,
"example": "This is a quote from a user",
"type": "content"
},
},
"The link to where the quote is from": {},
"link": {
"The author/attribute of the quote": {}
"description": "The link to website where the quote originated",
"example": "https://habbox.com",
"type": "url"
},
"author": {
"description": "The attribute or author of the quote",
"example": "Laura, HabboxForum",
"type": "content"
}
},
},
"paramOrder": [
"paramOrder": [
"Quoted text",
"quotetext",
"The link to where the quote is from",
"link",
"The author/attribute of the quote"
"author"
]
],
"description": "A template to insert a styled quote on a page"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
[[Category:Quote Templates]]
[[Category:Quote Templates]]

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

“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







A template to insert a styled quote on a page

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
quotetextquotetext

The text you're quoting

Example
This is a quote from a user
Contentrequired
linklink

The link to website where the quote originated

Example
https://habbox.com
URLoptional
authorauthor

The attribute or author of the quote

Example
Laura, HabboxForum
Contentoptional