Template:Hasdialogue/doc: Difference between revisions
Created page with "{{Documentation}} The {{t|hasdialogue}} template is used to indicate and link to a dialogue page for any given article. For NPCs, it also generates a list of all the other..." |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
The {{t|hasdialogue}} template is used to indicate and link to a dialogue page for any given article. For [[NPC]]s, it also generates a list of all the other transcripts (missions, other npcs etc) they speak in (the same as {{ | The {{t|hasdialogue}} template is used to indicate and link to a dialogue page for any given article. <!--For [[NPC]]s, it also generates a list of all the other transcripts (missions, other npcs etc) they speak in (the same as {{t|Speaksin}}). {{t|Speaksin/Page}} is used to format the individual page names in this list.--> | ||
==Usage== | ==Usage== | ||
| Line 9: | Line 9: | ||
** <code>npc</code> | ** <code>npc</code> | ||
** <code>mission</code> | ** <code>mission</code> | ||
** <code>miniquest</code> | <!--** <code>miniquest</code>--> | ||
** <code>event</code> | ** <code>event</code> | ||
*'''link''' - Optional. If the dialogue page is not found at <nowiki>Transcript:{{PAGENAME}}</nowiki> (which should only be the case in exceptional circumstances), used in place of the default link. | *'''link''' - Optional. If the dialogue page is not found at <nowiki>Transcript:{{PAGENAME}}</nowiki> (which should only be the case in exceptional circumstances), used in place of the default link. | ||
| Line 19: | Line 19: | ||
{{hasdialogue}} | {{hasdialogue}} | ||
<pre>{{hasdialogue|npc}}</pre> produces: | <pre>{{hasdialogue|Mission|journal=no}}</pre> produces: | ||
{{hasdialogue|npc}} | {{hasdialogue|Mission|journal=no}} | ||
<!--<pre>{{hasdialogue|npc}}</pre> produces: | |||
{{hasdialogue|npc}}--> | |||
<pre>{{hasdialogue|article|Transcripts}}</pre> produces: | <pre>{{hasdialogue|article|Transcripts}}</pre> produces: | ||
{{hasdialogue|article|Transcripts}} | {{hasdialogue|article|Transcripts}} | ||
<pre>{{hasdialogue|npc|name=Carter}}</pre> produces: | <!--<pre>{{hasdialogue|npc|name=Carter}}</pre> produces: | ||
{{hasdialogue|npc|name=Carter}} | {{hasdialogue|npc|name=Carter}}--> | ||
<includeonly>[[Category:Transclusion templates|{{BASEPAGENAME}}]][[Category:Transcript templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Transclusion templates|{{BASEPAGENAME}}]][[Category:Transcript templates|{{PAGENAME}}]]</includeonly> | ||