Template:Quest Links: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>[[{{PAGENAME}}#Walk Through|Guide]] - [[{{PAGENAME}}#Items|Items]]{{#ifeq:{{{No Map}}}|| - [[{{PAGENAME}}#Maps|Maps]]|}} - [[{{PAGENAME}}#Images|Images]] - [[{{PAGENAME}}#Lore & Dialog|Lore]]</includeonly><noinclude>
<includeonly>[[{{PAGENAME}}#Walk Through|Guide]] - [[{{PAGENAME}}#Items|Items]]{{#ifeq:{{{No Maps}}}|| - [[{{PAGENAME}}#Maps|Maps]]|}} - [[{{PAGENAME}}#Images|Images]] - [[{{PAGENAME}}#Lore & Dialog|Lore]]</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==

Revision as of 09:42, 8 January 2009

Related topics: Wiki Templates

Syntax

Standard

{{Quest Links}}

Optional Omissions

{{Quest Links|No Guide|No Items|No Maps|No Images|No Lore}}

Usage

Provides links to the major sections of a quest writeup that can be inserted into the header of the quest summary table, primary reason is because quest writeups do not normally have a Table of Contents. Note that the template uses relative links {{PAGENAME}}, so will automatically link to the sections for the page it is on (the links in the example below are red because this page does not have these sections).

If the page does not have a particular section, and is unlikely to add the section, you can omit the link by adding a No Link parameter. For example if there will never be a maps section, use Guide - Items - Images - Lore. You can omit more than one section, e.g., Guide - Items - Images - Lore.

For example:

{|class=quest-summary
!colspan=2 class=quest-summary-header| Quest Summary<br>{{Quest Links}}
|-
![[Quest Type]]
| [[Solo/Group]]
|-
|}

displays as:

Quest Summary
Guide - Items - Images - Lore
Quest Type Solo/Group

Guide - Items - Images - Lore Guide - Items - Images - Lore