Template:GroupQuote/doc: Difference between revisions
Created page |
|||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
The GroupQuote template is used to display sets of quotations for | The GroupQuote template is used to display sets of quotations for a location or character in Dragon Quest games. Each game/console combination should have an entirely separate GroupQuote table. | ||
==Usage== | ==Usage== | ||
In almost all cases, using this template should be preceded by a '''Quotes''' heading on the article it is being transcluded onto. This is because there is no label marking the table as quotation data within this template | In almost all cases, using this template should be preceded by a '''Quotes''' heading on the article it is being transcluded onto. This is because there is no label marking the table as quotation data within this template. | ||
===Header=== | ===Header=== | ||
A header call to this template should be the first usage of this template on any page. | A header call to this template should be the first usage of this template on any page. | ||
<pre>{{GroupQuote|header}}</pre> | <pre>{{GroupQuote|header|source=[[Midenhall]]|game={{Dragon Quest II}}|console=GBC}}</pre> | ||
*header: A required parameter which marks this as the start of a quote table. | *header: A required parameter which marks this as the start of a quote table. | ||
*source: The source of the quotes. Can be a character or location. Should be an interwiki link when possible. An optional parameter. | |||
*game: The game this group of quotes comes from. | |||
*console: The console version of the game. | |||
===Entries=== | ===Entries=== | ||
Each entry in the quote table is represented by a single template call. | Each entry in the quote table is represented by a single template call. | ||
<pre>{{GroupQuote|entry|quote=Ninjas are cool}}</pre> | <pre>{{GroupQuote|entry|quote=Ninjas are cool|quotee=[[User:Pagoda|Pagoda]]}}</pre> | ||
*entry: A required parameter which marks this as a single teleportal table entry. | *entry: A required parameter which marks this as a single teleportal table entry. | ||
*quote: The text of the quotation. | *quote: The text of the quotation. | ||
*quotee: The person who gave the quote. Note that many times this will be generic, but try to be descriptive of the person. This parameter is optional when the source is a character. | |||
===Footer=== | ===Footer=== | ||
The footer call marks the end of the Teleportal table. | The footer call marks the end of the Teleportal table. | ||
| Line 18: | Line 23: | ||
==Example== | ==Example== | ||
===Sample=== | ===Sample=== | ||
{{GroupQuote|header}} | {{GroupQuote|header|source=[[Tantegel]]|game={{Dragon Quest}}|console=NES}} | ||
{{GroupQuote|entry|quote=Ninjas are the coolest!}} | {{GroupQuote|entry|quote=Ninjas are the coolest!|quotee=[[Ragnar McRyan]]}} | ||
{{GroupQuote|entry|quote=I remember single sprite map tiles for castles.}} | {{GroupQuote|entry|quote=I remember single sprite map tiles for castles.|quotee=[[King Lorik]]}} | ||
{{GroupQuote|footer}} | |||
===Code=== | |||
<pre> | |||
{{GroupQuote|header|source=[[Tantegel]]|game={{Dragon Quest}}|console=NES}} | |||
{{GroupQuote|entry|quote=Ninjas are the coolest!|quotee=[[Ragnar McRyan]]}} | |||
{{GroupQuote|entry|quote=I remember single sprite map tiles for castles.|quotee=[[King Lorik]]}} | |||
{{GroupQuote|footer}} | |||
</pre> | |||
===Sample=== | |||
{{GroupQuote|header|source=[[Pankraz]]|game={{Dragon Quest V}}|console=SNES}} | |||
{{GroupQuote|entry|quote=Why can't I be the legendary hero?}} | |||
{{GroupQuote|entry|quote=I'm a king! Even though I'm hiding it.}} | |||
{{GroupQuote|footer}} | {{GroupQuote|footer}} | ||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
{{GroupQuote|header}} | {{GroupQuote|header|source=[[Pankraz]]|game={{Dragon Quest V}}|console=SNES}} | ||
{{GroupQuote|entry|quote= | {{GroupQuote|entry|quote=Why can't I be the legendary hero?}} | ||
{{GroupQuote|entry|quote=I | {{GroupQuote|entry|quote=I'm a king! Even though I'm hiding it.}} | ||
{{GroupQuote|footer}} | {{GroupQuote|footer}} | ||
</pre> | </pre> | ||
Latest revision as of 09:03, 29 February 2020
The GroupQuote template is used to display sets of quotations for a location or character in Dragon Quest games. Each game/console combination should have an entirely separate GroupQuote table.
Usage[edit source]
In almost all cases, using this template should be preceded by a Quotes heading on the article it is being transcluded onto. This is because there is no label marking the table as quotation data within this template.
Header[edit source]
A header call to this template should be the first usage of this template on any page.
{{GroupQuote|header|source=[[Midenhall]]|game={{Dragon Quest II}}|console=GBC}}
- header: A required parameter which marks this as the start of a quote table.
- source: The source of the quotes. Can be a character or location. Should be an interwiki link when possible. An optional parameter.
- game: The game this group of quotes comes from.
- console: The console version of the game.
Entries[edit source]
Each entry in the quote table is represented by a single template call.
{{GroupQuote|entry|quote=Ninjas are cool|quotee=[[User:Pagoda|Pagoda]]}}
- entry: A required parameter which marks this as a single teleportal table entry.
- quote: The text of the quotation.
- quotee: The person who gave the quote. Note that many times this will be generic, but try to be descriptive of the person. This parameter is optional when the source is a character.
[edit source]
The footer call marks the end of the Teleportal table.
{{GroupQuote|footer}}
- footer: A required parameter marking the template as the footer.
Example[edit source]
Sample[edit source]
Template:GroupQuote Template:GroupQuote Template:GroupQuote Template:GroupQuote
Code[edit source]
{{GroupQuote|header|source=[[Tantegel]]|game={{Dragon Quest}}|console=NES}}
{{GroupQuote|entry|quote=Ninjas are the coolest!|quotee=[[Ragnar McRyan]]}}
{{GroupQuote|entry|quote=I remember single sprite map tiles for castles.|quotee=[[King Lorik]]}}
{{GroupQuote|footer}}
Sample[edit source]
Template:GroupQuote Template:GroupQuote Template:GroupQuote Template:GroupQuote
Code[edit source]
{{GroupQuote|header|source=[[Pankraz]]|game={{Dragon Quest V}}|console=SNES}}
{{GroupQuote|entry|quote=Why can't I be the legendary hero?}}
{{GroupQuote|entry|quote=I'm a king! Even though I'm hiding it.}}
{{GroupQuote|footer}}