Difference between revisions of "Template:Quest"

From HeRO Wiki
Jump to: navigation, search
(Revamp of the quest table, it should be easier to update and maintain now. Added a few more parameters to the table.)
(Undo revision 15652 by Plant (talk))
Line 1: Line 1:
<includeonly>
+
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:400px; background:#cccccc; border-collapse:collapse; border:1px solid #999999; font-size:100%; line-height:1.5;">
{| class="infobox" style="width:30em;"
+
<tr><td colspan="2"><div id="infoboxinternal">
|-
+
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#cccccc; border-collapse:collapse; color:#000000;">
! colspan=2 style="background:#ffcc66; font-size:130%; height:35px; vertical-align:middle;" | {{PAGENAME}}
+
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#FFF}}};">{{{image|}}}</td></tr>
|-
+
{{t|1=|1{{{hideb|}}}=<tr><th colspan="2" font-weight:normal; style="text-align:center; background:#cccccc;">'''Requirements'''</th></tr>}}
{{#if: {{{image|}}} |
+
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}">
{{!}} colspan=2 {{!}} [[{{{image}}}|center|420px]]
+
<td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Base&nbsp;Level:'''</td>
{{!}}- }}
+
<td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
! colspan=2 style="background:#ffcc66; height:25px; vertical-align:middle;" | Requirements
+
{{{levelreq|}}}
|-
+
</td></tr>|1{{{levelreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Job&nbsp;Level:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
|
+
{{{joblevelreq|}}}
|style="width:150px;"|
+
</td></tr>|1{{{joblevelreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Class:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
|-
+
{{{classreq|}}}
{{#if: {{{levelreq|}}} |
+
</td></tr>|1{{{classreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Skill&nbsp;Requirements:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{!}} '''Base Level:''' {{!}}{{!}} {{{levelreq}}}
+
{{{skillreq|}}}
{{!}}- }}
+
</td></tr>|1{{{skillreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Party:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{#if: {{{joblevelreq|}}} |
+
{{{partyreq|}}}
{{!}} '''Job Level:''' {{!}}{{!}} {{{joblevelreq}}}
+
</td></tr>|1{{{partyreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Item(s)&nbsp;(Consumed):'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{!}}- }}
+
{{{itemreq|}}}
{{#if: {{{classreq|}}} |
+
</td></tr>|1{{{itemreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Item(s)&nbsp;(Not Consumed):'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{!}} '''Job Class:''' {{!}}{{!}} {{{classreq}}}
+
{{{nitemreq|}}}
{{!}}- }}
+
</td></tr>|1{{{nitemreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Zeny:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{#if: {{{skillreq|}}} |
+
{{{zenyreq|}}}
{{!}} '''Skill Requirements:''' {{!}}{{!}} {{{skillreq}}}
+
</td></tr>|1{{{zenyreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Hunting:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{!}}- }}
+
{{{hunting|}}}
{{#if: {{{partyreq|}}} |
+
</td></tr>|1{{{hunting|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Quest&nbsp;Prerequisite(s):'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{!}} '''Party:''' {{!}}{{!}} {{{partyreq}}}
+
{{{questreq|}}}
{{!}}- }}
+
</td></tr>|1{{{questreq|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Other Requirement(s):'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{#if: {{{itemreq|}}} |
+
{{{questscoreq|}}}
{{!}} '''Items (Consumed):''' {{!}}{{!}} {{{itemreq}}}
+
</td></tr>|1{{{questscoreq|}}}=}} {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" font-weight:normal; style="text-align:center; background:#cccccc;">'''Rewards'''</th>
{{!}}- }}
+
</tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Base&nbsp;Experience:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{#if: {{{nitemreq|}}} |
+
{{{baseexpreward|}}}
{{!}} '''Items (Not Consumed):''' {{!}}{{!}} {{{nitemreq}}}
+
</td></tr>|1{{{baseexpreward|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Job&nbsp;Experience:'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{!}}- }}
+
{{{jobexpreward|}}}
{{#if: {{{zenyreq|}}} |
+
</td></tr>|1{{{jobexpreward|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #; border-bottom: 1px solid #fff;">'''Item(s):'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{!}} '''Zeny:''' {{!}}{{!}} {{{zenyreq}}}
+
{{{itemreward|}}}
{{!}}- }}
+
</td></tr>|1{{{itemreward|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}"><td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Quest Reward(s):'''</td><td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
{{#if: {{{repreq|}}} |
+
{{{qreward|}}}
{{!}} '''Reputation Requirements:''' {{!}}{{!}} {{{repreq}}}
+
</td></tr>|1{{{qreward|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td></tr></table>
{{!}}- }}
+
<noinclude>[[category:template]]
{{#if: {{{hunting|}}} |
+
{{!}} '''Hunting:''' {{!}}{{!}} {{{hunting}}}
+
{{!}}- }}
+
{{#if: {{{questsreq|}}} |
+
{{!}} '''Quest Prerequisites:''' {{!}}{{!}} {{{questreq}}}
+
{{!}}- }}
+
{{#if: {{{questscoreq|}}} |
+
{{!}} '''Other Requirements:''' {{!}}{{!}} {{{questscoreq}}}<br><br>
+
{{!}}- }}
+
! colspan=2 style="background:#ffcc66; height:25px; vertical-align:middle;" | Rewards
+
|- 
+
{{#if: {{{baseexpreward|}}} |
+
{{!}} '''Base Experience:''' {{!}}{{!}} {{{baseexpreward}}}
+
{{!}}- }}
+
{{#if: {{{jobexpreward|}}} |
+
{{!}} '''Job Experience:''' {{!}}{{!}} {{{jobexpreward}}}
+
{{!}}- }}
+
{{#if: {{{itemreward|}}} |
+
{{!}} '''Item(s):''' {{!}}{{!}} {{{itemreward}}}
+
{{!}}- }}
+
{{#if: {{{qreward|}}} |
+
{{!}} '''Quest Rewards:''' {{!}}{{!}} {{{qreward}}}  
+
{{!}}- }}
+
{{#if: {{{repreward|}}} |
+
{{!}} '''Reputation Rewards:''' {{!}}{{!}} {{{repreward}}}<br><br>
+
{{!}}- }}
+
! colspan=2 style="background:#ffcc66; height:25px; vertical-align:middle;" | Other Details
+
|- 
+
{{#if: {{{qcooldown|}}} |
+
{{!}} '''Quest Cooldown:''' {{!}}{{!}} {{{qcooldown}}}<br><br>
+
{{!}}- }}
+
{{#if: {{{eventnote|}}} |
+
{{!}} colspan=2 style="background:#ffcc66;" {{!}} '''{{{eventnote}}}'''<br><br>
+
{{!}}- }}
+
|}
+
</includeonly>
+
  
<noinclude>
 
  
{| class="infobox" style="width:30em;"
 
|-
 
! colspan=2 style="background:#ffcc66; font-size:130%; height:35px; vertical-align:middle;" | <nowiki>{{PAGENAME}}</nowiki>
 
|-
 
| colspan=2 | [[Image:TBA.png|center|400px]]
 
|-
 
! colspan=2 style="background:#ffcc66; height:25px; vertical-align:middle;" | Requirements
 
|-
 
|
 
|style="width:150px;"|
 
|-
 
| '''Base Level:''' || style="width:150pt;" | {{{levelreq}}}
 
|-
 
| '''Job Level:''' || {{{joblevelreq}}}
 
|-
 
| '''Job Class:''' || {{{classreq}}}
 
|-
 
| '''Skill Requirements:''' || {{{skillreq}}}
 
|-
 
| '''Party:''' || {{{partyreq}}}
 
|-
 
| '''Items (Consumed):''' || {{{itemreq}}}
 
|-
 
| '''Items (Not Consumed):''' || {{{nitemreq}}}
 
|-
 
| '''Zeny:''' || {{{zenyreq}}}
 
|-
 
| '''Reputation Requirements:''' || {{{repreq}}}
 
|-
 
| '''Quest Prerequisites:''' || {{{questsreq}}}
 
|- 
 
| '''Other Requirements:''' || {{{questscoreq}}}<br><br>
 
|-
 
! colspan=2 style="background:#ffcc66; height:25px; vertical-align:middle;" | Rewards
 
|- 
 
| '''Base Experience:''' || {{{baseexpreward}}}
 
|-
 
| '''Job Experience:''' || {{{jobexpreward}}} 
 
|-
 
| '''Item(s):''' || {{{itemreward}}}
 
|-
 
| '''Quest Rewards:''' || {{{qreward}}}
 
|-
 
| '''Reputation Rewards:''' || {{{repreward}}}<br><br>
 
|-
 
! colspan=2 style="background:#ffcc66; height:25px; vertical-align:middle;" | Other Details
 
|- 
 
| '''Quest Cooldown:''' || {{{qcooldown}}}<br><br>
 
|
 
|-
 
| colspan=2 style="background:#ffcc66;" | '''{{{eventnote}}}'''
 
|}
 
 
{{clear}}
 
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{quest
 
{{quest
|image=
 
 
|levelreq=
 
|levelreq=
 
|joblevelreq=
 
|joblevelreq=
Line 144: Line 52:
 
|nitemreq=
 
|nitemreq=
 
|zenyreq=
 
|zenyreq=
|repreq=
 
 
|hunting=
 
|hunting=
 
|questreq=
 
|questreq=
Line 152: Line 59:
 
|itemreward=
 
|itemreward=
 
|qreward=
 
|qreward=
|repreward=
 
|qcooldown=
 
|eventnote=
 
 
}}
 
}}
 
</pre>
 
</pre>
 
[[category:template]]</noinclude>
 
[[category:template]]</noinclude>

Revision as of 22:11, 14 September 2019

Requirements
Rewards


Usage

{{quest
|levelreq=
|joblevelreq=
|classreq=
|skillreq=
|partyreq=
|itemreq=
|nitemreq=
|zenyreq=
|hunting=
|questreq=
|questscoreq=
|baseexpreward=
|jobexpreward=
|itemreward=
|qreward=
}}