Template:QuestInfoBox: Difference between revisions

From Ymirheim Wiki
No edit summary
(Marked this version for translation)
Line 6: Line 6:
<table class="infobox-table">
<table class="infobox-table">
<tr>
<tr>
<th scope="row"><translate nowrap>Quest Level</translate></th>
<th scope="row"><translate nowrap><!--T:1--> Quest Level</translate></th>
<td>{{#yh_data:quests|{{{1}}}|QuestLevel}}</td>
<td>{{#yh_data:quests|{{{1}}}|QuestLevel}}</td>
</tr>
</tr>
<tr>
<tr>
<th scope="row"><translate nowrap>Type</translate></th>
<th scope="row"><translate nowrap><!--T:2--> Type</translate></th>
<td>{{#switch:{{#yh_data:quests|{{{1}}}|SlotType}}
<td>{{#switch:{{#yh_data:quests|{{{1}}}|SlotType}}
| 1 = <translate nowrap>General</translate>
| 1 = <translate nowrap><!--T:3--> General</translate>
| 2 = <translate nowrap>Personal</translate>
| 2 = <translate nowrap><!--T:4--> Personal</translate>
| 3 =  
| 3 =  
| 4 = <translate nowrap>Event</translate>
| 4 = <translate nowrap><!--T:5--> Event</translate>
| 6 = <translate nowrap>Main Story</translate>
| 6 = <translate nowrap><!--T:6--> Main Story</translate>
}}</td>
}}</td>
</tr>
</tr>
<tr>
<tr>
<th scope="row"><translate nowrap>NPC</translate></th>
<th scope="row"><translate nowrap><!--T:7--> NPC</translate></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 | {{#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"><translate nowrap>Availability</translate></th>
<th scope="row"><translate nowrap><!--T:8--> Availability</translate></th>
<td>
<td>
{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeFrom}} ~ {{#yh_data:quests|{{{1}}}|AvailabilityGameTimeTo}}
{{#yh_data:quests|{{{1}}}|AvailabilityGameTimeFrom}} ~ {{#yh_data:quests|{{{1}}}|AvailabilityGameTimeTo}}
Line 33: Line 33:
{{#ifexpr:{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}} > 0|
{{#ifexpr:{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}} > 0|
<tr>
<tr>
<th scope="row"><translate nowrap>Can be repeated after</translate></th>
<th scope="row"><translate nowrap><!--T:9--> Can be repeated after</translate></th>
<td>
<td>
<translate nowrap><tvar name="munutes">{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}}</tvar> minutes</translate>
<translate nowrap><!--T:10--> <tvar name="munutes">{{#yh_data:quests|{{{1}}}|RepeatIntervalMinutes}}</tvar> minutes</translate>
</td>
</td>
</tr>
</tr>
Line 43: Line 43:
<table class="infobox-table">
<table class="infobox-table">
<tr>
<tr>
<th colspan="2" style="text-align: center;"><translate nowrap>Rewards</translate></th>
<th colspan="2" style="text-align: center;"><translate nowrap><!--T:11--> Rewards</translate></th>
</tr>
</tr>
{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_Money}} > 0|
{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_Money}} > 0|
<tr>
<tr>
<th colspan="2"><translate nowrap>Money</translate></th>
<th colspan="2"><translate nowrap><!--T:12--> Money</translate></th>
<td>{{PriceFormatted|{{#yh_data:quests|{{{1}}}|Reward_Money}}}}</td>
<td>{{PriceFormatted|{{#yh_data:quests|{{{1}}}|Reward_Money}}}}</td>
</tr>
</tr>
Line 53: Line 53:


<tr>
<tr>
<th scope="row"><translate nowrap>Experience</translate></th>
<th scope="row"><translate nowrap><!--T:13--> Experience</translate></th>
<td><!--
<td><!--
--><strong><translate nowrap>Base</translate></strong>: {{#yh_data:quests|{{{1}}}|Reward_BaseExp}}<br/><!--
--><strong><translate nowrap><!--T:14--> Base</translate></strong>: {{#yh_data:quests|{{{1}}}|Reward_BaseExp}}<br/><!--
--><strong><translate nowrap>Class</translate></strong>: {{#yh_data:quests|{{{1}}}|Reward_ClassExp}}<br/><!--
--><strong><translate nowrap><!--T:15--> Class</translate></strong>: {{#yh_data:quests|{{{1}}}|Reward_ClassExp}}<br/><!--
--><strong><translate nowrap>Weapon</translate></strong>: {{#yh_data:quests|{{{1}}}|Reward_WeaponExp}}<br/><!--
--><strong><translate nowrap><!--T:16--> Weapon</translate></strong>: {{#yh_data:quests|{{{1}}}|Reward_WeaponExp}}<br/><!--
--></td>
--></td>
</tr>
</tr>
Line 81: Line 81:


-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_ChoiceEnabled}} > 0|
-->{{#ifexpr:{{#yh_data:quests|{{{1}}}|Reward_ChoiceEnabled}} > 0|
<div class="text-align: center;"><translate nowrap>Available choices:</translate></div><!--
<div class="text-align: center;"><translate nowrap><!--T:17--> Available choices:</translate></div><!--
--><div><!--
--><div><!--


Line 97: Line 97:


--></div><!--
--></div><!--
--><div class="text-align: center;"><translate nowrap>- or -</translate></div><!--
--><div class="text-align: center;"><translate nowrap><!--T:18--> - or -</translate></div><!--
--><div><!--
--><div><!--



Revision as of 08:15, 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|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