Difference between revisions of "Template:Quest Infobox"
Jump to navigation
Jump to search
m |
(i forgot what i was doing but i think the infobox looks better now) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | {| style={{Infobox common style}} width="320px" | + | {| cellspacing="0" style={{Infobox common style}} width="320px" |
|- | |- | ||
| colspan="2" style="text-align:center; font-weight:bold; font-size:140%; color:#AE5700;" | {{{name|Quest name}}} | | colspan="2" style="text-align:center; font-weight:bold; font-size:140%; color:#AE5700;" | {{{name|Quest name}}} | ||
Line 27: | Line 27: | ||
|- | |- | ||
− | | width="30%" valign="top" align="right" | Location | + | | width="30%" style="padding-right:0.4em;" valign="top" align="right" | Location |
| width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" | | | width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" | | ||
{{{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.}}} | ||
|- | |- | ||
− | | width="30%" valign="top" align="right" | Given by | + | | width="30%" style="padding-right:0.4em;" valign="top" align="right" | Given by |
| width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" | | | width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" | | ||
{{{givenby|quest giver<br>must be set.}}} | {{{givenby|quest giver<br>must be set.}}} | ||
|- | |- | ||
− | | width="30%" valign="top" align="right" | Rewards | + | | width="30%" style="padding-right:0.4em;" valign="top" align="right" | Rewards |
| width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" | | | width="70%" style="font-size:90%; border-left:#AE5700 1px solid; padding-left:1em;" | | ||
{{{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 47: | Line 50: | ||
{{#if:<noinclude>string</noinclude>{{{related|}}}{{{previous|}}}{{{next|}}} | {{#if:<noinclude>string</noinclude>{{{related|}}}{{{previous|}}}{{{next|}}} | ||
|{{!}}- | |{{!}}- | ||
− | {{!}} colspan=" | + | {{!}} colspan="2" style="background-color:#2E2D42; border:#AE5700 2px solid; border-radius:4px; text-align:center; font-weight:bold; color:white;" {{!}} Related quests<nowiki> |
− | |||
− | |||
− | |||
Line 59: | Line 59: | ||
|​ <!-- zero-width space to stop mediawiki being silly --> | |​ <!-- zero-width space to stop mediawiki being silly --> | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="3" style="text-align:center;" {{!}} {{{related|Related quest name or<br>a list of them (optional)}}} | + | {{!}} colspan="3" style="text-align:center; border-bottom:#AE5700 1px solid;" {{!}} {{{related|Related quest name or<br>a list of them (optional)}}} |
|}}<nowiki> | |}}<nowiki> | ||
Line 66: | Line 66: | ||
</nowiki> | </nowiki> | ||
+ | {{!}}- | ||
+ | {{!}} colspan="3" {{!}} | ||
+ | {{{!}} cellspacing="0" cellpadding="0" width="100%" <!-- open related quests table --> | ||
{{!}}- <!-- 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" style="text-align:center;" {{!}} '''Previous:''' |
− | {{!}} width="50%" valign="top" style="text-align:center;" {{!}} Previous: | ||
{{{previous|Previous quest name (optional)}}} | {{{previous|Previous quest name (optional)}}} | ||
|}}<nowiki> | |}}<nowiki> | ||
Line 79: | Line 81: | ||
{{#if:<noinclude>string</noinclude>{{{previous|}}} | {{#if:<noinclude>string</noinclude>{{{previous|}}} | ||
|{{#if:<noinclude>string</noinclude>{{{next|}}} | |{{#if:<noinclude>string</noinclude>{{{next|}}} | ||
− | |{{!}} style=" | + | |{{!}} style="border-right:#AE5700 1px solid; padding:0px;" {{!}} |
|}} | |}} | ||
|}}<nowiki> | |}}<nowiki> | ||
Line 88: | Line 90: | ||
</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" style="text-align:center;" {{!}} Follow-up: | + | |{{!}} width="50%" valign="top" style="text-align:center;" {{!}} '''Follow-up:''' |
{{{next|Next quest name (optional)}}} | {{{next|Next quest name (optional)}}} | ||
|}} | |}} |
Revision as of 14:00, 7 August 2013
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 | |||||
Given by | |||||
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]] }}