Editing Template:QuoteList
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly><div style="float:left">Quotes: </div><div class="mw-collapsible mw-collapsed" style="float:left"> | <includeonly><div style="float:left">Quotes: </div><div class="mw-collapsible mw-collapsed" style="float:left"> | ||
− | + | :{{#if:{{{2|}}}|{{{2|}}}: |}}<span style="font-style: bold;">{{{3|}}}</span> | |
− | : | + | :{{#if:{{{4|}}}| – {{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}}| }} {{#if:{{{1|}}}| – {{{1|}}} | }} {{#if:{{{5|}}}| ({{{5|}}}) | }} |
− | {{#if:{{{ | + | {{#if:{{{6|}}}| |
− | + | :{{#if:{{{7|}}}|{{{7|}}}: |}}<span style="font-style: bold;">{{{8|}}}</span> | |
− | + | :{{#if:{{{9|}}}| – {{#ifexist:{{{9|}}}|[[{{{9|}}}]]|{{{9|}}}}}| }} {{#if:{{{6|}}}| – {{{6|}}} | }} {{#if:{{{10|}}}| ({{{10|}}}) | }} | |
− | |||
− | |||
− | : | ||
− | |||
− | |||
− | : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|}} | |}} | ||
</div><div style="clear:both"></div></includeonly> | </div><div style="clear:both"></div></includeonly> | ||
+ | |||
<noinclude> | <noinclude> | ||
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 [[Template::Quote]] twenty times, so prevents pages complaining about "too many expensive parser calls". | 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 [[Template::Quote]] twenty times, so prevents pages complaining about "too many expensive parser calls". | ||
− | + | ||
==Usage== | ==Usage== | ||
− | Each line has | + | Each line has five elements, ''in this order'': |
− | *1 the | + | *1 the reference name; |
*2 the title; | *2 the title; | ||
*3 the quoted text (REQUIRED!); | *3 the quoted text (REQUIRED!); | ||
− | *4 the speaker and | + | *4 the speaker; |
− | + | *5 and any notes. | |
− | + | While most of these can be empty, the separators for all fields must be present. | |
− | |||
===Example=== | ===Example=== | ||
− | < | + | <nowiki>{{QuoteList |
− | |Reference name|Title|Big ol' blob o' quoted texts|NPC who said that| | + | || Reference name || Title || Big ol' blob o' quoted texts || NPC who said that || Sidenotes |
− | |Signage/spectre|Warning|specter warren ahead!|Graffiti | + | || Signage/spectre || Warning || specter warren ahead! || Graffiti || In-joke about Warren Spector |
− | + | ... | |
− | | | + | || Reference name || || Quoted texts - likely the most common way this'll be used || || |
− | + | || MapRegion/gatetovaultofnyx || || ENTRANCE TO VAULT OF NYX || || | |
− | + | ... | |
− | + | }}</nowiki> | |
− | |||
− | |Reference name| | ||
− | | | ||
− | |||
− | |MapRegion/gatetovaultofnyx||ENTRANCE TO VAULT OF NYX| | ||
− | }} | ||
− | |||
− | |||
− | |||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |