Difference between revisions of "Template:QuoteList"

From UnderWiki
Jump to navigation Jump to search
(Of course, I can debug it by calling it from its own noinclude section and previewing it. Hrm, except, not always.)
(stoopid cacheing!)
Line 1: Line 1:
 
<includeonly>Quotes: <div class="mw-collapsible  mw-collapsed">
 
<includeonly>Quotes: <div class="mw-collapsible  mw-collapsed">
*{{#if:{{{2|}}}|{{{2|}}}: |}}<b>{{{3|}}}</b>
+
*{{#if:{{{2|}}}|{{{2|}}}:&nbsp;xyzzy|}}<b>{{{3|}}}</b>
 
*: {{#if:{{{4|}}}| – {{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}}|}} {{#if:{{{1|}}}| – {{{1|}}} |}}
 
*: {{#if:{{{4|}}}| – {{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}}|}} {{#if:{{{1|}}}| – {{{1|}}} |}}
 
{{#if:{{{6|}}}|
 
{{#if:{{{6|}}}|

Revision as of 22:02, 14 January 2019


The purpose of this template is to provide a collapsible block of up to (at the time of writing) 20 quotes. This is a lot cheaper than calling Quote twenty times, so prevents pages complaining about "too many expensive parser calls".

Usage

Each line has four elements, in this order:

  • 1 the variable reference name;
  • 2 the title;
  • 3 the quoted text (REQUIRED!);
  • 4 the speaker and/or any notes about the quote.

While most of these can be empty, the separators for all fields must be present.

Example

{{QuoteList<br> | Reference name | Title | Big ol' blob o' quoted texts | NPC who said that |<br> | Signage/spectre | Warning | specter warren ahead! | Graffiti (in-joke about Warren Spector) |<br> ...<br> | Reference name | | Quoted texts - likely the most common way this'll be used |<br> | MapRegion/gatetovaultofnyx || ENTRANCE TO VAULT OF NYX |<br> ...<br> }}

ToDo

This is pretty horrible.

Quotes:

  • 2Note from Hig Harkens2 : xyzzy 3HH THEORY #11: DIG DEEPLY ENOUGH HERE & YOU WILL FIND REPRESENTATIONS OF EVERY CULTURES' MYTHS OF THE UNDERWORLD3
    – 4Hig Harkens4 – 1SignageTitles/cultures1


Quotes:

  • 2Note from Hig Harkens2 : xyzzy 3HH THEORY #11: DIG DEEPLY ENOUGH HERE & YOU WILL FIND REPRESENTATIONS OF EVERY CULTURES' MYTHS OF THE UNDERWORLD3
    – 4Hig Harkens4 – 1SignageTitles/cultures1
– 10One of a series of graffiti he left around the place.10


Quotes:

  • Note From Hig Harkens: xyzzyHH THEORY #2: DEEP SLUGS HAVE A RICH INNER LIFE
    – Signage/deepslug
Note From Hig Harkens:HH THEORY #19: THE DEEP SLUGS ARE STRANGE REMNANTS OF A CURSED GOD
– Signage/slugs
The Underworld is a hard place to have a soft body. Even Deep Slugs, common fodder for Abyssal beasts, have a thick hide. Heed their example. Seek this stout body armor, Hide of Deep Slugs, and try it for a time. It awaits somewhere in THE UNDERSWAMP.
– QuestDescription/Swamp1_Gather_003
DEEP SLUGS dwell near the bottom of The Underworld's food chain. Yet the Dwarves of THE EXPEDITION value them for science rather than sustenance. They use Ripper Pome to lure slugs for study. Alas, supplies are limited in the Dwarves' exile. Recover the Ripper Pome in THE UNDERSWAMP.
– QuestDescription/Swamp1_Gather_008