Template:Quote: Difference between revisions
Abra Saghast (talk | contribs) m formatting linebreaks |
Abra Saghast (talk | contribs) m tweaking display of non-included parameters |
||
| Line 1: | Line 1: | ||
<includeonly><blockquote style="background-color: Azure; border: solid thin lightgray; padding-left: .5em">''"{{{1}}}"''<br /> —{{{2}}}, {{{3}}}{{#if:{{{4|}}}|{{{4}}}| | }}</blockquote></includeonly> | <includeonly><blockquote style="background-color: Azure; border: solid thin lightgray; padding-left: .5em">''"{{{1}}}"''{{#if:{{{2|}}} | <br /> —{{{2}}} }}{{#if:{{{3|}}} | ,{{{3}}} }}{{#if:{{{4|}}} | ({{{4}}}) }}{{#if:{{{5|}}}|{{{5}}} }}</blockquote></includeonly> | ||
<noinclude> | <noinclude> | ||
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. | 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. | ||
| Line 8: | Line 8: | ||
The basic implementation of this template, with source inline (quote text, name, and source are required parameters: | The basic implementation of this template, with source inline (quote text, name, and source are required parameters: | ||
<pre>Inline text. | <pre>Inline text. | ||
{{quote|Your Text Goes Here|Author's Name|source | {{quote|Your Text Goes Here|Author's Name|source|year or dd mmm yyyy}} | ||
More inline text. | More inline text. | ||
</pre> | </pre> | ||
| Line 14: | Line 14: | ||
<div style="border:1px solid lightgray; padding-left: 1em">Inline text. | <div style="border:1px solid lightgray; padding-left: 1em">Inline text. | ||
{{quote|Your Text Goes Here|Author's Name|source | {{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> | More inline text.<references /></div> | ||
== Examples == | == Examples == | ||
Or, you may include an optional citation included in the "References" section: | {{quote|Stuff and junk}} | ||
Or, you may include an optional citation included to be included in the "References" section: | |||
<pre>Inline text. | <pre>Inline text. | ||
{{quote|Your Text Goes Here| | {{quote|Your Text Goes Here|Author's name|source|year|citation}} | ||
More inline text. | More inline text. | ||
</pre> | </pre> | ||
Displays as: | Displays as: | ||
<div style="border:1px solid lightgray; padding-left: 1em">Inline text. | <div style="border:1px solid lightgray; padding-left: 1em">Inline text. | ||
{{quote|Your Text Goes Here| | {{quote|Your Text Goes Here|Author's name|source|year|<ref>citation</ref>}} | ||
More inline text.<references /></div> | More inline text.<references /></div> | ||
You may use the [[Template:Cite sourcebook|<nowiki>{{csb|}}</nowiki> template]] as normal to place a citation in for the quote, which will appear in the "References" section. | You may use the [[Template:Cite sourcebook|<nowiki>{{csb|}}</nowiki> template]] as normal to place a citation in for the quote, which will appear in the "References" section. | ||
<pre>{{quote|The World of Greyhawk is yours, now — yours to do with as you wish.|Allan Hammack|The World of Greyhawk | <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: | Displays as: | ||
{{quote|The World of Greyhawk is yours, now — yours to do with as you wish.|Allan Hammack| | {{quote|The World of Greyhawk is yours, now — yours to do with as you wish.|Allan Hammack|WoG folio|1980|{{csb|Folio|3}} }}<references/> | ||
---- | ---- | ||
| Line 39: | Line 42: | ||
You may use the <nowiki><ref></nowiki> HTML tag to place a citation in for the quote, which will appear in the "References" section. | You may use the <nowiki><ref></nowiki> HTML tag to place a citation in for the quote, which will appear in the "References" section. | ||
<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 | <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: | Displays as: | ||
{{quote|... tailor the world to suit the needs of your players. ... It is your world — welcome to it!|Steve Winter and Allan Hammack|World of Greyhawk | {{quote|... tailor the world to suit the needs of your players. ... It is your world — welcome to it!|Steve Winter and Allan Hammack|World of Greyhawk|1983| | ||
<ref>''[[World of Greyhawk Fantasy Game Setting]]'' (1983), p.2, ''Glossography''</ref> }}<references/></noinclude> | <ref>''[[World of Greyhawk Fantasy Game Setting]]'' (1983), p.2, ''Glossography''</ref> }}<references/></noinclude> | ||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
Revision as of 11:00, 11 June 2023
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:
"Your Text Goes Here"
—Author's Name ,source (year)
- OR
More inline text."Your Text Goes Here"
—Author's Name ,source (dd mmm yyyy)
Examples
"Stuff and junk"
Or, you may include an optional citation included to be included in the "References" section:
Inline text.
{{quote|Your Text Goes Here|Author's name|source|year|citation}}
More inline text.
Displays as:
You may use the {{csb|}} template as normal to place a citation in for the quote, which will appear in the "References" section.
{{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."
—Allan Hammack ,WoG folio (1980)[1]
- ↑ The World of Greyhawk Fantasy World Setting (1980), p.3.
Or:
You may use the <ref> HTML tag to place a citation in for the quote, which will appear in the "References" section.
{{{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 Allan Hammack ,World of Greyhawk (1983)[1]
- ↑ World of Greyhawk Fantasy Game Setting (1983), p.2, Glossography