Difference between revisions of "Template:Quest Infobox"
Jump to navigation
Jump to search
WikimanBot (talk | contribs) |
WikimanBot (talk | contribs) (style cleanup) |
||
Line 1: | Line 1: | ||
− | {| class="infobox | + | {| class="infobox" style="border-spacing:0; color:#626262; width:320px;" |
|- | |- | ||
| class="infobox-h1" colspan="2" | {{{name|Quest name}}} | | class="infobox-h1" colspan="2" | {{{name|Quest name}}} | ||
|- <!-- quest type is controlled with a switch, allowing for easy addition of quest types if necessary --> | |- <!-- quest type is controlled with a switch, allowing for easy addition of quest types if necessary --> | ||
− | + | ! colspan="2" | {{#switch:{{{type|}}}| main = Main Storyline | side = Sidequest | unmarked = Unmarked quest (No notes)}}<noinclude>Quest type (main/side/unmarked)</noinclude><nowiki> | |
Line 15: | Line 15: | ||
{{!}}- title="{{{name|(quest name)}}} image" | {{!}}- title="{{{name|(quest name)}}} image" | ||
− | + | ! colspan="2" padding-top:5px; padding-bottom:8px;" {{!}} [[File:{{#if:{{{image|}}}|{{{image|}}}|misc_icon.png}}{{!}}300x200px]] | |
|}}<nowiki> | |}}<nowiki> | ||
Line 23: | Line 23: | ||
</nowiki> | </nowiki> | ||
|- | |- | ||
− | + | ! colspan="2" class="infobox-th" | <span class="infobox-h2">Quest information</span> | |
|- | |- | ||
| class="infobox-leftcol" | Location | | class="infobox-leftcol" | Location | ||
− | | class="infobox-rightcol" | | + | | class="infobox-rightcol" | {{{location|a place or<br>a list of places<br>must be set.}}} |
− | {{{location|a place or<br>a list of places<br>must be set.}}} | ||
|- | |- | ||
| class="infobox-leftcol" | Given by | | class="infobox-leftcol" | Given by | ||
− | | class="infobox-rightcol" | | + | | class="infobox-rightcol" | {{{givenby|quest giver<br>must be set.}}} |
− | {{{givenby|quest giver<br>must be set.}}} | ||
|- | |- | ||
| class="infobox-leftcol" | Rewards | | class="infobox-leftcol" | Rewards | ||
− | | class="infobox-rightcol" | | + | | class="infobox-rightcol" | {{{rewards|quest rewards go here<br>XP, money, items, etc.<br>must be set.}}}<nowiki> |
− | {{{rewards|quest rewards go here<br>XP, money, items, etc.<br>must be set.}}}<nowiki> | ||
Line 49: | Line 46: | ||
{{#if:<noinclude>string</noinclude>{{{related|}}}{{{previous|}}}{{{next|}}} | {{#if:<noinclude>string</noinclude>{{{related|}}}{{{previous|}}}{{{next|}}} | ||
|{{!}}- | |{{!}}- | ||
− | + | ! colspan="2" class="infobox-th" {{!}} <span class="infobox-h2">Related quests</span><nowiki> | |
Line 58: | Line 55: | ||
|​ <!-- zero-width space to stop mediawiki being silly --> | |​ <!-- zero-width space to stop mediawiki being silly --> | ||
{{!}}- | {{!}}- | ||
− | + | ! colspan="3" {{!}} {{{related|Related quest name or<br>a list of them (optional)}}} | |
|}}<nowiki> | |}}<nowiki> | ||
Line 70: | Line 67: | ||
{{!}}- <!-- if previous is not set, omit section --> | {{!}}- <!-- if previous is not set, omit section --> | ||
{{#if:<noinclude>string</noinclude>{{{previous|}}} | {{#if:<noinclude>string</noinclude>{{{previous|}}} | ||
− | | | + | |! width="50%" valign="top" {{!}} '''Previous:''' |
{{{previous|Previous quest name (optional)}}} | {{{previous|Previous quest name (optional)}}} | ||
|}}<nowiki> | |}}<nowiki> | ||
Line 80: | Line 77: | ||
{{#if:<noinclude>string</noinclude>{{{previous|}}} | {{#if:<noinclude>string</noinclude>{{{previous|}}} | ||
|{{#if:<noinclude>string</noinclude>{{{next|}}} | |{{#if:<noinclude>string</noinclude>{{{next|}}} | ||
− | | | + | |! style="border-right:#AE5700 1px solid; padding:0px;" {{!}} |
|}} | |}} | ||
|}}<nowiki> | |}}<nowiki> | ||
Line 89: | Line 86: | ||
</nowiki><!-- if next is not set, omit section --> | </nowiki><!-- if next is not set, omit section --> | ||
{{#if:<noinclude>string</noinclude>{{{next|}}} | {{#if:<noinclude>string</noinclude>{{{next|}}} | ||
− | | | + | |! width="50%" valign="top" {{!}} '''Follow-up:''' |
{{{next|Next quest name (optional)}}} | {{{next|Next quest name (optional)}}} | ||
|}} | |}} |
Revision as of 12:32, 16 October 2017
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Quest_Infobox/doc to view this documentation. (edit) (How does this work?)
Visit Template:Quest_Infobox/doc to view this documentation. (edit) (How does this work?)
Usage
Paste the following code into the top of an article, filling all known fields:
{{Quest Infobox | name = | type = main or side | image = <!-- note: quest image MUST have 3:2 aspect ratio, typically 300x200 pixels --> | location = | givenby = | rewards = | related = | previous = previous quest in a chain | next = next quest in a chain }}
Examples
Retake the outposts | |||||
Main Storyline | |||||
---|---|---|---|---|---|
Quest information | |||||
Location | South Gate Outposts | ||||
Given by | Hadrian Tanner | ||||
Rewards | 1000 classic XP / 1 oddity XP
Retook all 5 outposts: Retook only 3-4 outposts: | ||||
Related quests | |||||
|
{{Quest Infobox | name = Retake the outposts | type = main | image = Outposts power generator.png | location = [[South Gate Outposts]] | givenby = [[Hadrian Tanner]] | rewards = 1000 classic XP / 1 oddity XP Retook all 5 outposts:<br>450 [[SGS Credits]] Retook only 3-4 outposts:<br>300 [[SGS Credits]] | related = | previous = [[Tutorial]] | next = [[Bret's task]] }}