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.)
Line 1: Line 1:
<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;">
+
<includeonly>
<tr><td colspan="2"><div id="infoboxinternal">
+
{| class="infobox" style="width:30em;"
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#cccccc; border-collapse:collapse; color:#000000;">
+
|-
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#FFF}}};">{{{image|}}}</td></tr>
+
! colspan=2 style="background:#ffcc66; font-size:130%; height:35px; vertical-align:middle;" | {{PAGENAME}}
{{t|1=|1{{{hideb|}}}=<tr><th colspan="2" font-weight:normal; style="text-align:center; background:#cccccc;">'''Requirements'''</th></tr>}}
+
|-
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{F|#FFF}}}">
+
{{#if: {{{image|}}} |
<td style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">'''Base&nbsp;Level:'''</td>
+
{{!}} colspan=2 {{!}} [[{{{image}}}|center|420px]]
<td class="infoboxcell" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff;">
+
{{!}}- }}
{{{levelreq|}}}
+
! colspan=2 style="background:#ffcc66; height:25px; vertical-align:middle;" | Requirements
</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|}}}
+
|
</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;">
+
|style="width:150px;"|
{{{classreq|}}}
+
|-
</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;">
+
{{#if: {{{levelreq|}}} |
{{{skillreq|}}}
+
{{!}} '''Base Level:''' {{!}}{{!}} {{{levelreq}}}
</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;">
+
{{!}}- }}
{{{partyreq|}}}
+
{{#if: {{{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;">
+
{{!}} '''Job Level:''' {{!}}{{!}} {{{joblevelreq}}}
{{{itemreq|}}}
+
{{!}}- }}
</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;">
+
{{#if: {{{classreq|}}} |
{{{nitemreq|}}}
+
{{!}} '''Job Class:''' {{!}}{{!}} {{{classreq}}}
</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;">
+
{{!}}- }}
{{{zenyreq|}}}
+
{{#if: {{{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;">
+
{{!}} '''Skill Requirements:''' {{!}}{{!}} {{{skillreq}}}
{{{hunting|}}}
+
{{!}}- }}
</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;">
+
{{#if: {{{partyreq|}}} |
{{{questreq|}}}
+
{{!}} '''Party:''' {{!}}{{!}} {{{partyreq}}}
</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;">
+
{{!}}- }}
{{{questscoreq|}}}
+
{{#if: {{{itemreq|}}} |
</td></tr>|1{{{questscoreq|}}}=}} {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" font-weight:normal; style="text-align:center; background:#cccccc;">'''Rewards'''</th>
+
{{!}} '''Items (Consumed):''' {{!}}{{!}} {{{itemreq}}}
</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;">
+
{{!}}- }}
{{{baseexpreward|}}}
+
{{#if: {{{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;">
+
{{!}} '''Items (Not Consumed):''' {{!}}{{!}} {{{nitemreq}}}
{{{jobexpreward|}}}
+
{{!}}- }}
</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;">
+
{{#if: {{{zenyreq|}}} |
{{{itemreward|}}}
+
{{!}} '''Zeny:''' {{!}}{{!}} {{{zenyreq}}}
</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;">
+
{{!}}- }}
{{{qreward|}}}
+
{{#if: {{{repreq|}}} |
</td></tr>|1{{{qreward|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td></tr></table>
+
{{!}} '''Reputation Requirements:''' {{!}}{{!}} {{{repreq}}}
<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 52: Line 144:
 
|nitemreq=
 
|nitemreq=
 
|zenyreq=
 
|zenyreq=
 +
|repreq=
 
|hunting=
 
|hunting=
 
|questreq=
 
|questreq=
Line 59: Line 152:
 
|itemreward=
 
|itemreward=
 
|qreward=
 
|qreward=
 +
|repreward=
 +
|qcooldown=
 +
|eventnote=
 
}}
 
}}
 
</pre>
 
</pre>
 
[[category:template]]</noinclude>
 
[[category:template]]</noinclude>

Revision as of 22:07, 14 September 2019



{{PAGENAME}}
Requirements
Base Level: {{{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}}}

Rewards
Base Experience: {{{baseexpreward}}}
Job Experience: {{{jobexpreward}}}
Item(s): {{{itemreward}}}
Quest Rewards: {{{qreward}}}
Reputation Rewards: {{{repreward}}}

Other Details
Quest Cooldown: {{{qcooldown}}}

{{{eventnote}}}

Usage

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