Template:Quote: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
switch to template styles
 
Rexidos (talk | contribs)
m Removing extra newline
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<templatestyles src="Template:Quote/styles.css"/><!--
<includeonly><blockquote style="background-color: Azure; border: solid thin lightgray;  padding-left: .5em; overflow:auto">''"{{{1}}}"''{{#if:{{{2|}}} | <br /> —{{{2}}} }}{{#if:{{{3|}}} |,&nbsp;''{{{3}}}'' }}{{#if:{{{4|}}} | &nbsp;({{{4}}}) }}{{#if:{{{5|}}}|{{{5}}} }}</blockquote></includeonly><noinclude>
--><blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}[[Category:Pages incorrectly using the quote template]]</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}{{#if:{{{sign|}}}{{{cite|}}}{{{author|}}}{{{by|}}}{{{personquoted|}}}{{{source|}}}{{{ts|}}}{{{title|}}}{{{publication|}}}{{{quotesource|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{char|}}}{{{character|}}}|{{#if:{{{multiline|}}}|<nowiki />}}
This template is used primarily for quoting real-world people, most often when they are speaking in person, on social media and forums, etc.  Also use this template if a person writes an introduction or preface to a sourcebook, it's attributable to a single person, and does not include game mechanics.
<div class="templatequotecite">—&thinsp;<cite>{{#if:{{{char|{{{character|}}}}}}|{{{char|{{{character|}}}}}}, in&#32;}}{{Comma separated entries
 
  | {{if empty|{{{sign|}}}|{{{cite|}}}|{{{author|}}}|{{{by|}}}|{{{personquoted|}}}|{{{2|}}}}}
==Usage ==
| {{if empty|{{{title|}}}|{{{publication|}}}|{{{ts|}}}|{{{quotesource|}}}|{{{3|}}}}}
'''Do not''' place extra line-breaks after the quote.
| {{if empty|{{{source|}}}|{{{4|}}}}}
 
}}</cite></div>
The basic implementation of this template, with source inline (quote text, name, and source are required parameters:
}}
<pre>Inline text.
</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[Category:Pages incorrectly using the quote template]]}}<noinclude>
{{quote|Your Text Goes Here|Author's Name|source|year or dd mmm yyyy}}
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
More inline text.
</noinclude>
</pre>
Displays as:
<div style="border:1px solid lightgray; padding-left: 1em">Inline text.
{{quote|Your Text Goes Here|Author's Name|source|year}}
:::OR
{{quote|Your Text Goes Here|Author's Name|source|dd mmm yyyy}}
More inline text.<references /></div>
 
Your quote '''''must''''' be cited. Author and source are minimum requirements. After the year, you may place an citation parameter which will be included in the "References" section.
   
Use the [[Template:Cite sourcebook|<nowiki>{{csb|}}</nowiki>]] template or <code><nowiki><ref>standard references</ref></nowiki></code> as normal for these citations.
<pre>Inline text.
{{quote|Your Text Goes Here|Author's name|source|year|citation}}
More inline text.
</pre>
Displays as:
<div style="border:1px solid lightgray; padding-left: 1em">Inline text.
{{quote|Your Text Goes Here|Author's name|source|year|<ref>citation</ref>}}
More inline text.<references /></div>
 
== Examples ==
<pre>{{quote|The World of Greyhawk is yours, now — yours to do with as you wish.|Allan Hammack|The World of Greyhawk|1980|{{csb|Folio|3}} }}</pre>
 
Displays as:
 
{{quote|The World of Greyhawk is yours, now — yours to do with as you wish.|Allen Hammack|WoG folio|1980|{{csb|Folio|3}} }}<references/>
 
----
Or:
<pre>{{quote|... tailor the world to suit the needs of your players. ... It is your world — welcome to it!|Steve Winter and Allan Hammack|The World of Greyhawk|1983|<ref>''[[World of Greyhawk]]'' (1983), p.2, ''Glossography''</ref> }}</pre>
 
Displays as:  
{{quote|... tailor the world to suit the needs of your players. ... It is your world — welcome to it!|Steve Winter and Allen Hammack|World of Greyhawk|1983|
<ref>''[[World of Greyhawk Fantasy Game Setting]]'' (1983), p.2, ''Glossography''</ref> }}<references/>
[[Category:Citation templates]]
[[Category:Format templates]]</noinclude>

Latest revision as of 11:30, 3 September 2025

This template is used primarily for quoting real-world people, most often when they are speaking in person, on social media and forums, etc. Also use this template if a person writes an introduction or preface to a sourcebook, it's attributable to a single person, and does not include game mechanics.

Usage

Do not place extra line-breaks after the quote.

The basic implementation of this template, with source inline (quote text, name, and source are required parameters:

Inline text. 
{{quote|Your Text Goes Here|Author's Name|source|year or dd mmm yyyy}}
More inline text.

Displays as:

Inline text.

"Your Text Goes Here"
—Author's Name, source (year)

OR

"Your Text Goes Here"
—Author's Name, source (dd mmm yyyy)

More inline text.

Your quote must be cited. Author and source are minimum requirements. After the year, you may place an citation parameter which will be included in the "References" section.

Use the {{csb|}} template or <ref>standard references</ref> as normal for these citations.

Inline text. 
{{quote|Your Text Goes Here|Author's name|source|year|citation}}
More inline text.

Displays as:

Inline text.

"Your Text Goes Here"
—Author's name, source (year)[1]

More inline text.
  1. citation

Examples

{{quote|The World of Greyhawk is yours, now — yours to do with as you wish.|Allan Hammack|The World of Greyhawk|1980|{{csb|Folio|3}} }}

Displays as:

"The World of Greyhawk is yours, now — yours to do with as you wish."
—Allen Hammack, WoG folio (1980)[1]


Or:

{{quote|... tailor the world to suit the needs of your players. ... It is your world — welcome to it!|Steve Winter and Allan Hammack|The World of Greyhawk|1983|<ref>''[[World of Greyhawk]]'' (1983), p.2, ''Glossography''</ref> }}

Displays as:

"... tailor the world to suit the needs of your players. ... It is your world — welcome to it!"
—Steve Winter and Allen Hammack, World of Greyhawk (1983)[1]

  1. World of Greyhawk Fantasy Game Setting (1983), p.2, Glossography