Template:Quest Links: Difference between revisions
imported>Tlosk No edit summary |
imported>Tlosk No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[{{PAGENAME}}#Walk Through|Guide]] - [[{{PAGENAME}}#Items|Items]] - [[{{PAGENAME}}#Maps|Maps]] - [[{{PAGENAME}}#Images|Images]] - [[{{PAGENAME}}#Lore & Dialog|Lore]]</includeonly><noinclude> | <includeonly>[[{{PAGENAME}}#Walk Through|Guide]] - [[{{PAGENAME}}#Items|Items]]{{#ifeq:{{{No Map}}}|| - [[{{PAGENAME}}#Maps|Maps]]|}} - [[{{PAGENAME}}#Images|Images]] - [[{{PAGENAME}}#Lore & Dialog|Lore]]</includeonly><noinclude> | ||
{{Related|Wiki Templates}} | {{Related|Wiki Templates}} | ||
== Syntax == | == Syntax == | ||
'''Standard''' | |||
<pre style="width:auto; overflow:auto"> | |||
{{Quest Links}} | |||
</pre> | |||
'''Optional Omissions''' | |||
<pre style="width:auto; overflow:auto"> | <pre style="width:auto; overflow:auto"> | ||
{{Quest Links}} | {{Quest Links|No Guide|No Items|No Maps|No Images|No Lore}} | ||
</pre> | </pre> | ||
Line 11: | Line 16: | ||
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 <nowiki>{{PAGENAME}}</nowiki>, 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). | 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 <nowiki>{{PAGENAME}}</nowiki>, 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 {{Quest Links|No Map}}. You can omit more than one section, e.g., {{Quest Links|No Maps|No Images}}. | |||
For example: | For example: | ||
Line 34: | Line 40: | ||
|} | |} | ||
{{Quest Links}} | |||
{{Quest Links|No Map}} | |||
</noinclude> | </noinclude> |
Revision as of 08:41, 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