• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Quests"

From Kancolle Wiki
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{{QuestsHeader}}</noinclude>
 
<noinclude>{{QuestsHeader}}</noinclude>
 
|- id = "{{{listnum}}}"
 
|- id = "{{{listnum}}}"
| style="text-align:center; background-color: {{#switch:{{{type}}}  
+
| style="background-color: {{#switch:{{{type}}}  
 
| Composition = rgb(50,205,50);
 
| Composition = rgb(50,205,50);
 
| Sortie = rgb(232, 57, 41);
 
| Sortie = rgb(232, 57, 41);
Line 10: Line 10:
 
| Modernization = rgb(165, 154, 202);
 
| Modernization = rgb(165, 154, 202);
 
}}" | {{{listnum}}}
 
}}" | {{{listnum}}}
| {{#if:{{{reqQuest|}}}|[[{{PAGENAME}}#{{{reqQuest}}}{{!}}{{{reqQuest}}}]]}} {{#if:{{{requires2|}}}|[[{{PAGENAME}}#{{{reqQuest2}}}{{!}}{{{reqQuest2}}}]]}} {{#if:{{{reqQuest3|}}}|[[{{PAGENAME}}#{{{reqQuest3}}}{{!}}{{{reqQuest3}}}]]}}
+
|{{#if:{{{reqQuest|}}}|{{#if:{{{page|}}}|[[{{{page|}}}#{{{reqQuest|}}}{{!}}{{{reqQuest|}}}]]|[[{{PAGENAME}}#{{{reqQuest}}}{{!}}{{{reqQuest}}}]]}}}} {{#if:{{{reqQuest2|}}}|<br/>{{#if:{{{page2|}}}|[[{{{page2|}}}#{{{reqQuest2|}}}{{!}}{{{reqQuest2|}}}]]|[[{{PAGENAME}}#{{{reqQuest2}}}{{!}}{{{reqQuest2}}}]]}}}} {{#if:{{{reqQuest3|}}}|<br/>{{#if:{{{page3|}}}|[[{{{page3|}}}#{{{reqQuest3|}}}{{!}}{{{reqQuest3|}}}]]|[[{{PAGENAME}}#{{{reqQuest3}}}{{!}}{{{reqQuest3}}}]]}}}}
| style="text-align:center;" |{{lang|ja|{{{namejp}}} }}<br>''{{{nameen}}}''
+
| {{lang|ja|{{{namejp}}} }}<br>''{{{nameen}}}''
| {{{req}}}
+
| style="text-align:left;" | {{{req|}}}
| style="text-align:center; vertical-align: middle; background-color: #f0fff0" | {{{fuel}}}
+
| style="vertical-align: middle; background-color: #f0fff0" | {{{fuel|0}}}
| style="text-align:center; vertical-align: middle; background-color: #fdf5e6" | {{{ammo}}}
+
| style="vertical-align: middle; background-color: #fdf5e6" | {{{ammo|0}}}
| style="text-align:center; vertical-align: middle; background-color: #fcfcfc" | {{{steel}}}
+
| style="vertical-align: middle; background-color: #fcfcfc" | {{{steel|0}}}
| style="text-align:center; vertical-align: middle; background-color: #ffe4b5" | {{{bauxite}}}
+
| style="vertical-align: middle; background-color: #ffe4b5" | {{{bauxite|0}}}
| style="text-align:center; vertical-align: middle;"  | {{{other}}}
+
| style="vertical-align: middle;"  | {{{other|}}}
| style="text-align:center;" | {{#if:{{{notes|}}}|{{{notes}}}|}} {{#if:{{{once|}}}|{{#if:{{{notes|}}}|<br/>}}''One time only.''|}}
+
|{{#if:{{{notes|}}}|{{{notes}}}|}} {{#if:{{{once|}}}|{{#if:{{{notes|}}}|<br/>}}''One time only.''|}}  
<noinclude> |} <br/>{{documentation}} [[Category:Templates]]</noinclude><includeonly>{{{1|}}}<nowiki /></includeonly> <!--escape for enters-->
+
<noinclude> |} <br/>{{documentation}}</noinclude><includeonly>{{{1|}}}<nowiki /></includeonly> <!--escape for enters-->

Latest revision as of 04:08, 24 April 2016

ID Prereq. Quest Name (Original)
Quest Name (Translated)
Description Rewards Note
Fuel Ammunition Steel Bauxite Other
{{{listnum}}} {{{namejp}}}
{{{nameen}}}
0 0 0 0


Template-info.png Template documentation [view] [edit] [history] [purge]

This is a generic table for Quests, mostly for use with the main Quests page.

Parameters

There are a significant list of parameters for each Quest. A quick copy for making new quests and with short descriptions is available below.

{{Quests
| type = the kind of Quest, e.g., "Composition" quest
| reqQuest = the prerequisite quest needed (also add in reqQuest2, etc., if needed)
| page = page name of prerequisite quest; should only be used if prerequisite quest isn't listed on the page
| listnum = the listing of the Quest
| namejp = the original Japanese name
| nameen = the translated name (English)
| req = requirements, etc., that are needed for completion; may include the in-game description in ''italics''.
| fuel = 
| ammo = 
| steel = 
| bauxite = the four materials given after completion (numerical)
| other = stuff given by the quest, if any; separate multiple with <br/> (breaks)
| notes = anything else that needs to be mentioned (optional, but ''recommended'')
| once = if the quest is only given only once, include this parameter and set to "True" (optional); use for specific types
}}

"type" Parameter

This is subdivided into the available kinds of quests. Respectively, they are:

  • Composition
  • Sortie
  • PVP (for Practice)
  • Expedition
  • Supply
  • Factory
  • Modernization

Marriage quests use the above parameters, and are sorted by their type as seen in-game.

Usage

The Quests templates come in two parts, the Header and the main Quests row. Only the latter should be used extensively.

Requirements and Format

A minimum of three parts are needed for assembling the table:

{{QuestsHeader}} (this includes all of the sorting information)
{{Quests
(the parameters as explained above)
}}
|} (table closing brace)

When adding in new quests, make sure to do so above |}.

Example

{{QuestsHeader}}
{{Quests
| type = Factory
| listnum = F16
| reqQuest = F4
| namejp = 「伊良湖」の準備
| nameen = Preparation for "Irako"
| req =  ''Scrap a number of equipments you don't need at the factory and prepare to summon the new model food supply ship!''
*Completion Condition: Scrap equipment 10 times.
| fuel = 100
| ammo = 0
| steel = 0
| bauxite = 0
| other =  Food supply ship {{lang|ja|「伊良湖」}} "Irako" x4
| notes = 
| once = True
}}
|}
ID Prereq. Quest Name (Original)
Quest Name (Translated)
Description Rewards Note
Fuel Ammunition Steel Bauxite Other
F16 F4 「伊良湖」の準備
Preparation for "Irako"
Scrap a number of equipments you don't need at the factory and prepare to summon the new model food supply ship!
  • Completion Condition: Scrap equipment 10 times.
100 0 0 0 Food supply ship 「伊良湖」 "Irako" x4 One time only.