Template:Hastranscript: Difference between revisions

no edit summary
(Created page with "<includeonly>{{#switch:{{lc:{{{transclude}}}}}|y|yes={{#invoke:hastranscript|main}}|n|no|#default={{#if:{{{2|}}}|{{Hastranscript/t|{{{1|}}}|{{{2|}}}}}|{{Hastranscript/t|{{{1|}}}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>")
 
No edit summary
Tag: Reverted
Line 1:
<includeonly>{| class="messagebox hasdialogue" style="border: 0;"
<includeonly>{{#switch:{{lc:{{{transclude}}}}}|y|yes={{#invoke:hastranscript|main}}|n|no|#default={{#if:{{{2|}}}|{{Hastranscript/t|{{{1|}}}|{{{2|}}}}}|{{Hastranscript/t|{{{1|}}}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
| class="center" | {{#switch: {{lc: {{{1}}} }}
| #default = This article has an associated transcript page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for the transcript.
| npc = This article on an NPC has an associated dialogue page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations with this NPC.{{#vardefine:speaksincount|{{#ask:[[Transcript:+]][[Transcript NPCs::{{{name|{{PAGENAME}}}}}]][[Display title of::!Dialogue for {{{name|{{PAGENAME}}}}}]]|format=count}}}}{{#ifexpr: {{#var:speaksincount}} > 0|<br>'''[{{SERVER}}/w/Special:Ask?limit=500&q={{URLENCODE:[[Transcript:+]] [[Transcript NPCs::{{PAGENAME}}]] [[Display title of::!Dialogue for {{PAGENAME}}]]}}&p=format=ul Click here]''' for a list of other transcripts that this NPC speaks in.}}
| pet = This article on a pet has an associated dialogue page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations with this pet.
| quest = This article on a quest has an associated dialogue page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations encountered throughout the quest.{{#ifexist:Transcript:{{PAGENAME}}/Journal|<br>'''[[Transcript:{{PAGENAME}}/Journal|Click here]]''' for a transcript of the quest's journal entry.}}
| miniquest = This article on a miniquest has an associated dialogue page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations encountered throughout the miniquest.{{#ifexist:Transcript:{{PAGENAME}}/Journal|<br>'''[[Transcript:{{PAGENAME}}/Journal|Click here]]''' for a transcript of the miniquest's journal entry.}}
| event = This article on an event has an associated dialogue page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for a transcript of possible conversations encountered throughout the event.
| item = This article on an item has an associated transcript page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for the transcript.
| scenery = This article on scenery has an associated transcript page.<br>'''[[{{{2|Transcript:{{PAGENAME}}}}}|Click here]]''' for the transcript.
}}
|}<!--
{{#switch: {{lc:{{{1|}}}}}
| npc = {{#ifexpr: {{#var:speaksincount}} > 0 |
<table class="messagebox hasdialogue speaksin" style="border: 0;padding: 0 10px;">
<td><div style="text-align: center;padding: 0.2em 0;">Transcripts {{{name|{{PAGENAME}}}}} speaks in:</div><hr><div class="{{#ifexpr: {{#var:speaksincount}} > 1 |speaksin-list|}}" style="padding-bottom: 0.5em;">{{#ask:
[[Transcript:+]]
[[Transcript NPCs::{{{name|{{PAGENAME}}}}}]]
[[Display title of::!Dialogue for {{{name|{{PAGENAME}}}}}]]
|format=ul
|default=<div style="text-align: center; column-span: all;">{{{name|{{PAGENAME}}}}} does not speak in any other dialogues (currently transcribed on the wiki).</div>
}}</div></td></table>}}
|}}--></includeonly><noinclude>{{/doc}}</noinclude>