Template:Infobox Quests: Difference between revisions
Jump to navigation
Jump to search
lower case doc is the convention |
Exclude preload from any categorization, some code readability improvements. |
||
Line 59: | Line 59: | ||
{{ #if: {{{questchain|}}} | {{Questbox| Quest Chain | collapsed |{{:Category:{{{questchain}}} Quests}} }} }} <!-- | {{ #if: {{{questchain|}}} | {{Questbox| Quest Chain | collapsed |{{:Category:{{{questchain}}} Quests}} }} }} <!-- | ||
CATEGORIZATION | CATEGORIZATION: | ||
-->{{ #if: {{{nocat|}}} | -->{{ #if: {{{nocat|}}} | ||
-->{{#ifeq: {{SUBPAGENAME}} | Preload | | <!-- no categorization --> | ||
| {{#ifeq: {{SUBPAGENAME}} | |||
| Preload | |||
| [[Category:Template Preloads]] | |||
| {{#if: {{{level|}}} | |||
| [[Category:Quests: Level {{{level}}}]] | |||
}}{{#if: {{{fellowshiptype|}}} | |||
Categorizing for race: | | [[Category:{{{fellowshiptype}}} Quests]] | ||
-->{{Splitter|{{{race|}}}||{{LS}}Category:| Quests]]}} | | [[Category:Solo Quests]] | ||
}}{{#if: {{{repeatable|}}} | |||
| [[Category:Repeatable Quests]] | |||
}}{{#if: {{{questgroup|{{{region}}}}}} | |||
| [[Category:{{{questgroup|{{{region}}}}}} Quests]] | |||
}}{{#if: {{{class|}}} | |||
}} | | [[Category:{{{class}}} Quests]] | ||
}}{{#if: {{{profession|}}} | |||
| [[Category:{{{profession}}} Quests]] | |||
}}<!-- Categorizing for race: -->{{Splitter | |||
| {{{race|}}} | |||
| | |||
| {{LS}}Category: | |||
| Quests]] | |||
}}{{#if: {{{questchain|}}} | |||
| [[Category:{{{questchain|}}} Quests]] | |||
}}{{#switch: {{subnamespace}} | |||
| Instance = [[Category:Instance Quests|{{realpagename}}]] | |||
| Task = [[Category:Tasks|{{realpagename}}]] | |||
| <!-- else do nothing --> | |||
}} | |||
}} | |||
}}</includeonly><noinclude>{{:Template:Infobox Quests/doc}}</noinclude> |
Revision as of 18:11, 6 December 2013
This is the template documentation for {{Infobox Quests}}. It is transcluded from Template:Infobox Quests/doc and may be directly edited there.
{{Infobox Quests | name = {{PAGENAME}} <!--Override for infobox title--> | level = <!-- as read in the quest log or "Scaling" if a scaled instance quest. --> | fellowshiptype = <!-- Session Play/Solo/Fellowship/Small Fellowship/Raid/Solo only/Epic Battle (defaults to solo --> | repeatable = <!-- Yes; or blank for No--> | icon = <!-- Epic, Task, Crafting, Session, or blank for regular quests--> | queststarter = [[NPC name]] | startinglocation = [[Starting Location]] | region1 = Starting region (for map ref) | maprefNS1 = ##.#N (Use "?" to make a "Coordinates Needed" placeholder.) | maprefEW1 = ##.#W | questender = [[NPC name]] <!-- if ender == starter these can be removed --> | endinglocation = [[Ending Location]] | region2 = Ending region (for map ref) | maprefNS2 = ##.#N (Use "?" to make a "Coordinates Needed" placeholder.) | maprefEW2 = ##.#W | region = <!-- Deprecated in favour of questgroup --> | questgroup = <!-- quest group name in quest log (e.g., region, class, introduction, prolog, book #) --> | class = <!-- Class (lvl 15/30/50/58 class quests only) --> | profession = <!-- Profession (crafting advancement quests only) --> | race = <!-- Race-specific quests (Elf, Hobbit, Race of Man or Dwarf) --> | questchain = <!-- Name of the quest chain (usually the name of the last quest of the chain) --> | reflecting-pool = If this is an instance that can be accessed at a reflecting pool, include the region name here }}
{{Infobox Quests | name = | level = | fellowshiptype = | repeatable = | icon = | epicquest = | queststarter = | startinglocation = | region1 = | maprefNS1 = | maprefEW1 = | questender = | endinglocation = | region2 = | maprefNS2 = | maprefEW2 = | questgroup = | class = | profession = | questchain = DO NOT USE unless yo have read and understood [[Category talk:Quest Chains]] }}
Don't include map ref if the appropriate region isn't given.