Template:QuestListTable: Difference between revisions

From Ymirheim Wiki
(Created page with "{{#dpl: | category = {{{category}}} | category = {{{category2|}}} | uses = Template:QuestInfoBox | include = {{#switch:{{{type|}}}| | general = {QuestInfoBox}.dplQuestListTableGeneralOnly | personal = {QuestInfoBox}.dplQuestListTablePersonalOnly | mainstory = {QuestInfoBox}.dplQuestListTableMainStoryOnly | #default = {QuestInfoBox}.dplQuestListTable } | mode = userformat | table = class="wikitable sortable" style="width: 100%;",-,Quest Name,Level,Availability,Base EX...")
 
(Marked this version for translation)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#dpl:
<includeonly>{{#dpl:
| category = {{{category}}}
| category = {{{1|NO_CATEGORY}}}
| category = {{{category2|}}}
| category = {{{2|}}}
| distinct = strict
| uses = Template:QuestInfoBox
| uses = Template:QuestInfoBox
| include = {{#switch:{{{type|}}}|
| include = {{#switch:{{{type|}}}
  | general = {QuestInfoBox}.dplQuestListTableGeneralOnly
  | general = {QuestInfoBox}.dplQuestListTableGeneralOnly
  | personal = {QuestInfoBox}.dplQuestListTablePersonalOnly
  | personal = {QuestInfoBox}.dplQuestListTablePersonalOnly
  | mainstory = {QuestInfoBox}.dplQuestListTableMainStoryOnly
  | mainstory = {QuestInfoBox}.dplQuestListTableMainStoryOnly
  | #default = {QuestInfoBox}.dplQuestListTable
  | #default = {QuestInfoBox}.dplQuestListTable
}
}}
| mode = userformat
| mode = userformat
| table = class="wikitable sortable" style="width: 100%;",-,Quest Name,Level,Availability,Base EXP,Class EXP,Weapon EXP,Money,Items
| table = class="wikitable sortable" style="width: 100%;",-,<translate nowrap><!--T:1--> Quest Name</translate>,<translate nowrap><!--T:2--> Level</translate>,<translate nowrap><!--T:3--> Availability</translate>,<translate nowrap><!--T:4--> Base EXP</translate>,<translate nowrap><!--T:5--> Class EXP</translate>,<translate nowrap><!--T:6--> Weapon EXP</translate>,<translate nowrap><!--T:7--> Money</translate>,<translate nowrap><!--T:8--> Items</translate>
| ordermethod = title
| ordermethod = title
}}
}}</includeonly><noinclude>
 
This template can be used to display a list of quests linked to a specific wiki category.
 
For a quest page to be displayed here it needs to be linked to the specified category and have a quest info box properly configured.
 
== Usage ==
 
  <nowiki>{{QuestListTable|CATEGORY_1|CATEGORY_2|type=TYPE}}</nowiki>
 
* <code>CATEGORY_1</code>: Main category to select quests from.
* <code>CATEGORY_2</code> (optional): Secondary category (the pages should be in both categories to appear).
* <code>type</code> (optional): Additional quest type filter (only if multiple QuestInfoBox templates appear on the page and you want to filter them out): <code>general</code>, <code>personal</code>, <code>mainstory</code>
 
 
== Examples ==
  <nowiki>{{QuestListTable|Main Story Quests}}</nowiki>
{{QuestListTable|Main Story Quests}}
 
 
  <nowiki>{{QuestListTable|Hoddmimis Quests|Repeatable Quests|type=general}}</nowiki>
{{QuestListTable|Hoddmimis Quests|Repeatable Quests|type=general}}
 
 
[[Category:Data Aggregation Templates{{#translation:}}]]
</noinclude>

Latest revision as of 18:38, 9 July 2024


This template can be used to display a list of quests linked to a specific wiki category.

For a quest page to be displayed here it needs to be linked to the specified category and have a quest info box properly configured.

Usage

 {{QuestListTable|CATEGORY_1|CATEGORY_2|type=TYPE}}
  • CATEGORY_1: Main category to select quests from.
  • CATEGORY_2 (optional): Secondary category (the pages should be in both categories to appear).
  • type (optional): Additional quest type filter (only if multiple QuestInfoBox templates appear on the page and you want to filter them out): general, personal, mainstory


Examples

 {{QuestListTable|Main Story Quests}}
Quest Name Level Availability Base EXP Class EXP Weapon EXP Money Items
Arrival 1 3:19 am ~ 3:19 am 0 0 0 0 Rupee


 {{QuestListTable|Hoddmimis Quests|Repeatable Quests|type=general}}
Quest Name Level Availability Base EXP Class EXP Weapon EXP Money Items
Flower Delivery 5 5:00 am ~ 10:00 am 425 260 0 775 Rupee
Gathering The Mail 3 6:00 am ~ 6:00 pm 125 60 0 420 Rupee
Lunch Delivery 1 10:00 am ~ 3:00 pm 65 25 0 260 Rupeeicon Averro Reinhold's Vegetable Sandwich ×1
Mail Logistics 3 6:00 am ~ 6:00 pm 125 60 0 420 Rupee