Template:QuestInfoBox/en: Difference between revisions

From Ymirheim Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(7 intermediate revisions by the same user not shown)
Line 20: Line 20:
</tr>
</tr>
<tr>
<tr>
<th scope="row">NPC</th>
<th scope="row">Quest giver</th>
<td>{{#ifexpr:{{#yh_data:quests|{{{1}}}|RequestNpcModelId}} > 0 | {{#yh_data:npc_prototypes|{{#yh_data:quests|{{{1}}}|RequestNpcModelId}}|Name}} | {{NA}} }}</td>
<td>{{#ifexpr:{{#yh_data:quests|{{{1}}}|RequestNpcModelId}} > 0
| [[Special:MyLanguage/{{#yh_data_eng:npc_prototypes|{{#yh_data:quests|{{{1}}}|RequestNpcModelId}}|Name}}|{{#yh_data:npc_prototypes|{{#yh_data:quests|{{{1}}}|RequestNpcModelId}}|Name}}]]
| {{NA}}
}}</td>
</tr>
</tr>
{{#if:{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeFrom}}{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeTo}}|
{{#if:{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeFrom}}{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeTo}}|
<tr>
<tr>
<th scope="row">Availability</th>
<th scope="row"><abbr title="The quest can be started during this time slot (in-game time).">Availability</abbr></th>
<td><!--
<td><!--


-->{{padleft:|5|{{padleft:{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeFrom}}|8}}}}<!--
--><span style="white-space: nowrap;">{{#time:g:i a|{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeFrom}}}}</span><!--


--> ~ <!--
--> ~ <!--


-->{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeTo}}<!--
--><span style="white-space: nowrap;">{{#time:g:i a|{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeTo}}}}</span><!--


--></td>
--></td>
Line 39: Line 42:
{{#ifexpr:{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}} > 0|
{{#ifexpr:{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}} > 0|
<tr>
<tr>
<th scope="row">Can be repeated after</th>
<th scope="row"><abbr title="The quest becomes available again after this amount of time (real time).">Can be repeated after</abbr></th>
<td>{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}} minutes</td>
<td>{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}} minutes</td>
</tr>
</tr>
Line 66: Line 69:
<table class="infobox-table">
<table class="infobox-table">
<tr>
<tr>
<td colspan="2"><!--
<td colspan="2">{{QuestRewardItemList|{{{1}}}}}</td>
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_Item1_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward_Item1_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward_Item1_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_Item2_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward_Item2_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward_Item2_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_Item3_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward_Item3_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward_Item3_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_Item4_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward_Item4_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward_Item4_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_ChoiceEnabled}} > 0|
<div class="text-align: center;">Available choices:</div><!--
--><div><!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward1_Item1_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward1_Item1_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward1_Item1_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward1_Item2_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward1_Item2_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward1_Item2_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward1_Item3_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward1_Item3_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward1_Item3_Num}}<br/>
}}<!--
 
--></div><!--
--><div class="text-align: center;">- or -</div><!--
--><div><!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward2_Item1_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward2_Item1_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward2_Item1_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward2_Item2_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward2_Item2_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward2_Item2_Num}}<br/>
}}<!--
 
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward2_Item3_Id}} > 0|
{{ItemLink|{{#yh_data:quests|{{{1}}}|Reward2_Item3_Id}}}}&nbsp;&times;{{#yh_data:quests|{{{1}}}|Reward2_Item3_Num}}<br/>
}}<!--
 
--></div>
}}<!--
 
 
 
--></td>
</tr>
</tr>



Latest revision as of 11:24, 9 July 2024

This template can be used to display an information box about a specific quest on a page.


Usage

{{QuestInfoBox|QUEST_ID}}


Examples

{{QuestInfoBox|3}}
Moritz Needs a Hand
Quest Level 1
Type Personal
Quest giver Moritz

Rewards
Experience Base: 5
Class: 0
Weapon: 0
icon Worn Underwear[!#1311100001] ×1


{{QuestInfoBox|19}}
The Mice Infestation
Quest Level 10
Type General
Quest giver Henna
Availability 6:00 am ~ 6:00 pm
Can be repeated after 95 minutes

Rewards
Experience Base: 750
Class: 250
Weapon: 0
Money 600 Rupee


{{QuestInfoBox|13|image=Shelphy_Adriana.png}}
Lunch Delivery
Shelphy Adriana.png
Quest Level 1
Type General
Quest giver Averro Reinhold
Availability 10:00 am ~ 3:00 pm
Can be repeated after 95 minutes

Rewards
Experience Base: 65
Class: 25
Weapon: 0
Money 260 Rupee
icon Averro Reinhold's Vegetable Sandwich ×1