Difference between revisions of "Template:Quest Infobox"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
{| style={{Infobox common style}} width="320px"
 
{| style={{Infobox common style}} width="320px"
 
|-
 
|-
| colspan="2" style="text-align:center; font-weight:bold; font-size:127%; color:#AE5700;" | {{{name|Quest name}}}
+
| colspan="2" style="text-align:center; font-weight:bold; font-size:140%; color:#AE5700;" | {{{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 -->
Line 15: Line 15:
 
{{!}} colspan="2" {{!}} <hr style="background-color:#AE5700; height:2px;">
 
{{!}} colspan="2" {{!}} <hr style="background-color:#AE5700; height:2px;">
  
{{!}}- title="{{{name|}}} image"
+
{{!}}- title="{{{name|(quest name)}}} image"
 
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{#if:{{{image|}}}|{{{image|}}}|misc_icon.png}}{{!}}300x200px]]<noinclude><br>(optional image, will be rescaled to 300x200px)</noinclude>
 
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{#if:{{{image|}}}|{{{image|}}}|misc_icon.png}}{{!}}300x200px]]<noinclude><br>(optional image, will be rescaled to 300x200px)</noinclude>
 
|}}<nowiki>
 
|}}<nowiki>
Line 24: Line 24:
 
</nowiki>
 
</nowiki>
 
|-
 
|-
| colspan="2" | <hr style="background-color:#AE5700; height:2px;">
+
| colspan="2" style="background-color:#2E2D42; border:#AE5700 2px solid; border-radius:4px; text-align:center; font-weight:bold; color:white;" | Quest information
 
 
|-
 
| colspan="2" style="text-align:center; font-weight:bold; color:#AE5700;" | Quest data
 
 
 
|-
 
| colspan="2" | <hr style="background-color:#AE5700; height:1px;">
 
  
 
|-
 
|-
Line 56: Line 50:
 
{{{!}} width="100%" <!-- open related quests table -->
 
{{{!}} width="100%" <!-- open related quests table -->
 
{{!}}-
 
{{!}}-
{{!}} colspan="3" {{!}} <hr style="background-color:#AE5700; height:2px;">
+
{{!}} colspan="3" style="background-color:#2E2D42; border:#AE5700 2px solid; border-radius:4px; text-align:center; font-weight:bold; color:white;" {{!}} Related quests<nowiki>
 
 
{{!}}-
 
{{!}} colspan="3" style="text-align:center; font-weight:bold; color:#AE5700;" {{!}} Related quests
 
 
 
{{!}}-
 
{{!}} colspan="3" {{!}} <hr style="background-color:#AE5700; height:1px;"><nowiki>
 
  
  

Revision as of 08:57, 7 August 2013

Quest name
Quest type (main/side)

Misc icon.png
(optional image, will be rescaled to 300x200px)
Quest information
Location

a place or
a list of places
must be set.

Given by

quest giver
must be set.

Rewards

quest rewards go here
XP, money, items, etc.
must be set.

Related quests
Related quest name or
a list of them (optional)
Previous:

Previous quest name (optional)

Follow-up:

Next quest name (optional)


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?)


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

Outposts power generator.png
Quest information
Location

South Gate Outposts

Given by

Hadrian Tanner

Rewards

1000 classic XP / 1 oddity XP

Retook all 5 outposts:
450 SGS Credits

Retook only 3-4 outposts:
300 SGS Credits

Related quests

Previous:

Tutorial

Follow-up:

Bret's task

{{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]]
}}