Difference between revisions of "Template:Quest Info"

From XilePK - Ragnarok Online Server
Jump to navigation Jump to search
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| style="border: 1px solid #aaaaaa; background-color: #E5E5E5; padding: 0.2em; float: right; width: 30em;"
+
<div style="border: 1px solid #aaaaaa; background-color: #E5E5E5; padding: 0.2em; float: right; width: 30em;">
|-
+
<table style="width:100%;">
! align="center" colspan=2 style="background:#A8B2BC; font-size:130%;" |
+
<tr>
{{#ifeq: {{{tipo|}}}|Normal|[[Arquivo:NQ_ico.png|link=]]|}}
+
<th align="center" colspan="2" style="background:#A8B2BC; font-size:130%;">
{{#ifeq: {{{tipo|}}}|Classe|[[Arquivo:JQ_ico.png|link=]]|}}
+
<img src="{{{icon|https://static.divine-pride.net/images/items/item/9078.png}}}" width="24" height="24" style="vertical-align:middle;" alt="Icon" /> {{PAGENAME}}
{{#ifeq: {{{tipo|}}}|Instância|[[Arquivo:SC_ico.png|link=]]|}}
+
</th>
{{#ifeq: {{{tipo|}}}|Repetível|[[Arquivo:DQ_ico.png|link=]]|}}
+
</tr>
{{#ifeq: {{{tipo|}}}|Episódio|[[Arquivo:EP_ico.png|link=]]|}}
+
{{#if: {{{story|}}} |
{{#ifeq: {{{tipo|}}}|Evento|[[Arquivo:EV_ico.png|link=]]|}}
+
<tr>
{{#ifeq: {{{tipo|}}}|Tutorial|[[Arquivo:GQ_ico.png|link=]]|}}
+
<td style="background:#f9f9f9; text-align: justify;" colspan="2">{{{story}}}</td>
{{#ifeq: {{{tipo|}}}|Livro Fantástico|[[Arquivo:VR_ico.png|link=]]|}}
+
</tr>
{{PAGENAME}}
+
}}
|-
+
<tr>
| style="background:#f9f9f9; text-align: justify;" colspan=2 | {{{historia|}}}
+
<th align="center" colspan="2" style="background:#D3D8DD;">Requirements</th>
|-
+
</tr>
! align="center" colspan=2 style="background:#D3D8DD;" | Requisitos mínimos
+
{{#if: {{{levelreq|}}} |
|-
+
<tr>
| style="background:#f9f9f9; width:120pt" | '''Nv. de base:''' || style="background:#f9f9f9" | {{{levelreq|}}}
+
<td style="background:#f9f9f9; width:40%;">'''Base Level:'''</td>
|-
+
<td style="background:#f9f9f9">{{{levelreq}}}</td>
| style="background:#f9f9f9" | '''Nv. de classe:''' || style="background:#f9f9f9" | {{{joblevelreq|}}}
+
</tr>
|-
+
}}
| style="background:#f9f9f9" | '''Tipo:''' || style="background:#f9f9f9" | {{{tipo|}}}
+
{{#if: {{{joblevelreq|}}} |
|-
+
<tr>
| style="background:#f9f9f9" | '''Classe:''' || style="background:#f9f9f9" | {{{classreq|}}}
+
<td style="background:#f9f9f9; width:40%;">'''Job Level:'''</td>
|-
+
<td style="background:#f9f9f9">{{{joblevelreq}}}</td>
| style="background:#f9f9f9" | '''Itens:''' || style="background:#f9f9f9" | {{{itemreq|}}}
+
</tr>
|-
+
}}
| style="background:#f9f9f9" | '''Zeny:''' || style="background:#f9f9f9" | {{{zenyreq|}}}
+
{{#if: {{{type|}}} |
|-
+
<tr>
| style="background:#f9f9f9" | '''Habilidade:''' || style="background:#f9f9f9" | {{{skillreq|}}}
+
<td style="background:#f9f9f9; width:40%;">'''Type:'''</td>
|-
+
<td style="background:#f9f9f9">{{{type}}}</td>
| style="background:#f9f9f9" | '''Quests anteriores:''' || style="background:#f9f9f9" | {{{questsreq|}}}
+
</tr>
|-
+
}}
! align="center" colspan=2 style="background:#D3D8DD;" | Premiação
+
{{#if: {{{classreq|}}} |
|- 
+
<tr>
| style="background:#f9f9f9" | '''EXP base:''' || style="background:#f9f9f9" | {{{baseexpreward|}}}
+
<td style="background:#f9f9f9; width:40%;">'''Class:'''</td>
|-
+
<td style="background:#f9f9f9">{{{classreq}}}</td>
| style="background:#f9f9f9" | '''EXP classe:''' || style="background:#f9f9f9" | {{{jobexpreward|}}}
+
</tr>
|-
+
}}
| style="background:#f9f9f9" | '''Itens:''' || style="background:#f9f9f9" | {{{itemreward|}}}
+
{{#if: {{{itemreq|}}} |
|-
+
<tr>
| style="background:#f9f9f9" | '''Recompensa:''' || style="background:#f9f9f9" | {{{qreward|}}}
+
<td style="background:#f9f9f9; width:40%;">'''Items:'''</td>
|-
+
<td style="background:#f9f9f9">{{{itemreq}}}</td>
|}
+
</tr>
[[Categoria: Quest]]
+
}}
 +
{{#if: {{{zenyreq|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Zeny:'''</td>
 +
<td style="background:#f9f9f9">{{{zenyreq}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{skillreq|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Skill:'''</td>
 +
<td style="background:#f9f9f9">{{{skillreq}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{questsreq|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Previous Quests:'''</td>
 +
<td style="background:#f9f9f9">{{{questsreq}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{hunting|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Hunting:'''</td>
 +
<td style="background:#f9f9f9">{{{hunting}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{npc|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''NPC:'''</td>
 +
<td style="background:#f9f9f9">{{{npc}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{location|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Location:'''</td>
 +
<td style="background:#f9f9f9">{{{location}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{duration|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Duration:'''</td>
 +
<td style="background:#f9f9f9">{{{duration}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{cooldown|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Cooldown:'''</td>
 +
<td style="background:#f9f9f9">{{{cooldown}}}</td>
 +
</tr>
 +
}}
 +
<tr>
 +
<th align="center" colspan="2" style="background:#D3D8DD;">Rewards</th>
 +
</tr>
 +
{{#if: {{{baseexpreward|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Base EXP:'''</td>
 +
<td style="background:#f9f9f9">{{{baseexpreward}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{jobexpreward|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Job EXP:'''</td>
 +
<td style="background:#f9f9f9">{{{jobexpreward}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{itemreward|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Items:'''</td>
 +
<td style="background:#f9f9f9">{{{itemreward}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{qreward|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Reward:'''</td>
 +
<td style="background:#f9f9f9">{{{qreward}}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{instanceboss|}}} |
 +
<tr>
 +
<td style="background:#f9f9f9; width:40%;">'''Instance Boss:'''</td>
 +
<td style="background:#f9f9f9">{{{instanceboss}}}</td>
 +
</tr>
 +
}}
 +
</table>
 +
</div>
 +
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Essa predefinição serve para padronizar todas páginas de Quests inseridas na Wiki.
+
This template is used to standardize all Quest pages in the Wiki.
  
== Uso ==
+
== Usage ==
 
<pre>
 
<pre>
 
{{Quest Info
 
{{Quest Info
| historia =  
+
| icon = https://static.divine-pride.net/images/items/item/9078.png
 +
| story =  
 
| levelreq =  
 
| levelreq =  
 
| joblevelreq =  
 
| joblevelreq =  
| tipo =  
+
| type =  
 
| classreq =  
 
| classreq =  
 
| itemreq =  
 
| itemreq =  
Line 61: Line 146:
 
| skillreq =  
 
| skillreq =  
 
| questsreq =  
 
| questsreq =  
 +
| hunting =
 +
| npc =
 +
| location =
 +
| duration =
 +
| cooldown =
 
| baseexpreward =  
 
| baseexpreward =  
 
| jobexpreward =  
 
| jobexpreward =  
 
| itemreward =  
 
| itemreward =  
 
| qreward =  
 
| qreward =  
 +
| instanceboss =
 
}}
 
}}
 
</pre>
 
</pre>
  
<b>Tipos de Quest Disponíveis:</b>
+
<b>Suggested Icons:</b>
* Normal
+
* Normal Quest: https://static.divine-pride.net/images/items/item/9078.png
* Classe
+
* Class Quest: https://static.divine-pride.net/images/items/item/9097.png
* Instância
+
* Instance: https://static.divine-pride.net/images/items/item/9066.png
* Repetível
+
* Event: https://static.divine-pride.net/images/items/item/7229.png
* Episódio
+
 
* Evento
+
<b>Recommended format for items:</b>
* Tutorial
+
<pre>
* Livro Fantástico
+
1x <img src="https://static.divine-pride.net/images/items/item/7005.png" width="24" height="24" alt="Item" /> <span class="plainlinks">[https://www.divine-pride.net/database/item/7005/skull Skull]</span><br>
 +
</pre>
  
[[Categoria:Predefinições]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:20, 8 April 2025


This template is used to standardize all Quest pages in the Wiki.

Usage

{{Quest Info
| icon = https://static.divine-pride.net/images/items/item/9078.png
| story = 
| levelreq = 
| joblevelreq = 
| type = 
| classreq = 
| itemreq = 
| zenyreq = 
| skillreq = 
| questsreq = 
| hunting = 
| npc = 
| location = 
| duration = 
| cooldown = 
| baseexpreward = 
| jobexpreward = 
| itemreward = 
| qreward = 
| instanceboss = 
}}

Suggested Icons:

  • Normal Quest: 9078.png
  • Class Quest: 9097.png
  • Instance: 9066.png
  • Event: 7229.png

Recommended format for items:

1x <img src="https://static.divine-pride.net/images/items/item/7005.png" width="24" height="24" alt="Item" /> <span class="plainlinks">[https://www.divine-pride.net/database/item/7005/skull Skull]</span><br>