Protected page

Template:Nicequote

From Uncyclopedia, the content-free encyclopedia
(Redirected from Template:Nice quote)
Jump to navigation Jump to search

“{{{1}}}”

– Nicequote
[edit] [purge] Test Template Info-Icon - Version (2).svg Template documentation

The same as the normal quote template, minus the stuff, and plus some other things.

Usage

Example 1

The following code will generate the quote you see below. Using the third parameter is optional.

{{Nice quote|Please don't quote me again, or I will be forced to sue you for this nonsense.|Oscar Wilde|using Wilde quotes}}

“Please don't quote me again, or I will be forced to sue you for this nonsense.”

– Oscar Wilde on using Wilde quotes

The 2nd parameter automatically becomes a wikilink if a corresponding page exists. If not, or if the current base page name matches the 2nd parameter, it will remain as plain text.[a]

Example 2

Using only the first parameter will give you the page name as the "author" by default.

{{Nice quote|'Cause we're living in a world of fools, breaking us down, when they all should let us be...}}

“'Cause we're living in a world of fools, breaking us down, when they all should let us be...”

– Nicequote
Example 3

Setting style to inline will remove the blockquote, and make the text inline (if you can believe it).

{{Nice quote|style=inline|Please don't quote me again, or I will be forced to sue you for this nonsense.|Oscar Wilde|using Wilde quotes}}

“Please don't quote me again, or I will be forced to sue you for this nonsense.” – Oscar Wilde on using Wilde quotes

Notes

  1. Specifying a link like {{Nice quote|My spleen!|[[Oscar Wilde]]}} should be theoretically fine, as the {{#ifexist:}} parser function interprets the {{{2}}} string as the literal text including the brackets, wherein the parser says that a page literally titled [[Oscar Wilde]] doesn't exist, in which case our handy dandy markup spits the wikilink back at you. Isn't that neat?

See also