Template:Journal entry InfoBox

Usage
This InfoBox is used by T:Journal entry.
 * name can be changed to the name of the quest (if the pagename is not the same).
 * pagename should always be the full page name of the page using this template. This ensures that any categorization applied to the page is not applied to any other pages that may transclude this page. When moving a page using this template make sure to change this parameter as well.
 * level range is used to indicate that this quest can only be acquired after a certain level or can't be completed after a certain level. Leaving it empty will display a green "All levels".
 * xp is used for quests that have xp. This xp is displayed as solo/casual xp value. If the quest has more difficulties, then it is probably associated with a dungeon and should use Quest instead.
 * journal section The tab of the Quest Journal that this quest is under. Value should not be a link.
 * loc The location that this quest takes place in. Leave empty if the quest is all over the place.
 * bestower The NPC(s) or item(s) that can bestow this quest. Leave empty if this quest is bestowed automatically.
 * bestow loc The location that this quest is aqcuired in. Leave empty if the quest can be aqcuired in many places.
 * npc The NPC(s) that you need to contact to finish the quest or take your reward. Leave empty if none.
 * relevant quest is used to indicate that this journal entry is leading up to or is a follow up of some other quest(s). Leave empty if it's a standalone quest.
 * mappic Add a map for this mission if it needs one.
 * mappic note The note under the map.
 * maplegend Does this map use the Map Legend? yes or no.

CATEGORIZATION
The pages that use this template may become part of (depending on content):
 * Category:Journal entries or subcategories.

Note: Some of the categorization is only applied to the page with the same name as the parameter pagename. If you see a page that this template should categorize but it doesn't, check if pagename has the correct value.

CODE
{{#if: {{{pagename|}}}| {{{!}} | TEMPLATE WARNING: pagename parameter needs filling for categories to be applied. {{{!}} }} style="clear: right; float: right; text-align: center; border: 1px #999 solid; margin: 4px; min-width:266px; max-width:400px;" {{#ifeq:{{FULLPAGENAME}}|{{{pagename|}}}||}} {{{journal section}}} | {{#ifeq:{{FULLPAGENAME}}|{{{pagename|}}}||}} Unknown }} {{#if: {{{loc|}}} | {{!}}- {{!}} {{#var:columnstyle}} {{!}} Takes place in: {{!}} {{{loc}}} }} {{#if: {{{bestower|}}} | {{!}}- {{!}} {{#var:columnstyle}} {{!}} Bestowed by: {{!}} {{{bestower}}} }} {{#if: {{{bestow loc|}}} | {{!}}- {{!}} {{#var:columnstyle}} {{!}} Quest acquired in: {{!}} {{{bestow loc}}} }} {{#if: {{{npc|}}} | {{!}}- {{!}} {{#var:columnstyle}} {{!}} NPC contact: {{!}} {{{npc}}} }} {{#if: {{{relevant quest|}}} | {{!}}- {{!}} {{#var:columnstyle}} {{!}} Relevant quest(s): {{!}} {{{relevant quest}}} }} {{#if: {{{mappic|}}} | {{!}}- {{!}} colspan="2" {{!}} }}}|{{{mappic}}}|No Map.jpg}}|thumb|right|230px|{{{mappic note|{{{name}}} map}}} {{#switch:{{{maplegend|}}}|yes=([[Map Legend|legend)|#default=}} ]] }}
 * - style="{{css:table/1/header|grey}}"
 * colspan="2" | {{{name}}}
 * {{#var:columnstyle}} | {{Popup|Level range|Being outside this level range means the quest either can't be bestowed or can't be completed.}}:
 * {{#if: {{{level range|}}}|{{{level range}}}| All levels }}
 * {{#var:columnstyle}} | XP:
 * {{#if: {{{xp|}}} |{{Xpcolors|solo={{{xp}}}}}| No xp }}
 * {{#var:columnstyle}} | Journal section:
 * {{#if: {{{journal section|}}} |
 * {{#var:columnstyle}} | Journal section:
 * {{#if: {{{journal section|}}} |
 * {{#if: {{{journal section|}}} |
 * }