• 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:QuestRewardShip"

From Kancolle Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{AssetTemplateList}}</noinclude><includeonly><div class="qr">[[{{#if: {{{image|}}}| {{{image}}} | File:Ship Banner {{#replace:{{{1|}}}|/|&#32;}}.png }}|{{#if:{{{small|}}}|175px|}}|link={{#if: {{{link|}}} | {{{link}}} | {{{1|}}} }}]]<div style="width:{{#if:{{{small|}}}|175px|240px}}">{{#if: {{{text|}}} | {{{text}}} | {{#if: {{{1|}}} | {{{1}}} | {{{link|}}}}} }}</div></div></includeonly><noinclude>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly><div class="qr">[[{{#if:{{{image|}}}|{{{image}}}|File:Ship_{{#ifeq:{{{choice|}}}|true|Card|Banner}}_{{#replace:{{{1|}}}|/|_}}.png}}{{#ifeq:{{{choice|}}}|true|{{!}}64px|{{#if:{{{small|}}}|{{!}}175px|{{!}}240px}}}}|link={{#if:{{{link|}}}|{{{link}}}|{{{1|}}}}}]]<div class="{{#ifeq:{{{choice|}}}|true|qrt4|{{#if:{{{small|}}}|qrt2|qrt3}}}} {{#if:{{{collapsed|}}}{{{collapsible|}}}|mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed}} mw-collapsible-content" id="mw-customcollapsible-{{#if:{{{collapsed|}}}|{{{collapsed|}}}|{{{collapsible|}}}}} }}">{{#if:{{{text|}}}|{{{text}}}|{{#if:{{{1|}}}|{{{1}}}|{{{link|}}}}}}}</div></div></includeonly><noinclude>
 
A template for displaying Ship cards in quest/event rewards.
 
A template for displaying Ship cards in quest/event rewards.
 
Ship version of [[Template:QuestRewardEquip]], [[Template:QuestRewardItem]] & [[Template:QuestRewardFurniture]].
 
Ship version of [[Template:QuestRewardEquip]], [[Template:QuestRewardItem]] & [[Template:QuestRewardFurniture]].
Line 19: Line 19:
 
<pre>{{QuestRewardShip|Gangut|image=File:Enemy Banner Battleship Ru-Class.png|link=http://kancolle.doorblog.jp/archives/51211836.html}}</pre>
 
<pre>{{QuestRewardShip|Gangut|image=File:Enemy Banner Battleship Ru-Class.png|link=http://kancolle.doorblog.jp/archives/51211836.html}}</pre>
 
{{QuestRewardShip|Gangut|image=File:Enemy Banner Battleship Ru-Class.png|link=http://kancolle.doorblog.jp/archives/51211836.html}}
 
{{QuestRewardShip|Gangut|image=File:Enemy Banner Battleship Ru-Class.png|link=http://kancolle.doorblog.jp/archives/51211836.html}}
 +
 +
==Choice Quest Version==
 +
See preset template: [[Template:QuestRewardShip/Choice]]
 +
 +
<pre>{{QuestRewardShip/Choice|Oktyabrskaya Revolyutsiya}}{{QuestRewardShip/Choice|Yuudachi}}</pre>
 +
{{QuestRewardShip/Choice|Oktyabrskaya Revolyutsiya}}{{QuestRewardShip/Choice|Yuudachi}}
 +
 +
Manually applied:
 +
<pre>{{QuestRewardShip|Oktyabrskaya Revolyutsiya|choice=true}}{{QuestRewardShip|Yuudachi|choice=true}}</pre>
 +
{{QuestRewardShip|Oktyabrskaya Revolyutsiya|choice=true}}{{QuestRewardShip|Yuudachi|choice=true}}
 +
 +
 +
==Collapsible==
 +
<pre><sup class="mw-customtoggle-true" style="color:orange">(Toggle Button)</sup></pre>
 +
<sup class="mw-customtoggle-true" style="color:orange">(Toggle Button)</sup>
 +
<br>requires button^
 +
 +
<pre>{{QuestRewardShip|Yuudachi|collapsible=true}}{{QuestRewardShip|Yuudachi|small=true|collapsible=true}}</pre>
 +
{{QuestRewardShip|Yuudachi|collapsible=true}}{{QuestRewardShip|Yuudachi|small=true|collapsible=true}}
 +
<pre>{{QuestRewardShip|Yuudachi|collapsed=true}}{{QuestRewardShip|Yuudachi|small=true|collapsed=true}}</pre>
 +
{{QuestRewardShip|Yuudachi|collapsed=true}}{{QuestRewardShip|Yuudachi|small=true|collapsed=true}}
 +
===with ids===
 +
if you need multiple different sets on the same page
 +
<pre><sup class="mw-customtoggle-set1" style="color:orange">(Toggle Button for set1)</sup></pre>
 +
<sup class="mw-customtoggle-set1" style="color:orange">(Toggle Button for set1)</sup>
 +
<pre><sup class="mw-customtoggle-set4" style="color:orange">(Toggle Button for set4)</sup></pre>
 +
<sup class="mw-customtoggle-set4" style="color:orange">(Toggle Button for set4)</sup>
 +
 +
<pre>{{QuestRewardShip|Yuudachi|collapsible=set1}}{{QuestRewardShip|Yuudachi|small=true|collapsible=set4}}</pre>
 +
{{QuestRewardShip|Yuudachi|collapsible=set1}}{{QuestRewardShip|Yuudachi|small=true|collapsible=set4}}
 +
<pre>{{QuestRewardShip|Yuudachi|collapsed=set4}}{{QuestRewardShip|Yuudachi|small=true|collapsed=set1}}</pre>
 +
{{QuestRewardShip|Yuudachi|collapsed=set4}}{{QuestRewardShip|Yuudachi|small=true|collapsed=set1}}
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 13:58, 7 November 2023

[edit] Asset Template List
Template:Asset Other Templates
Template:Banner Template:Card Template:Link Others

A template for displaying Ship cards in quest/event rewards. Ship version of Template:QuestRewardEquip, Template:QuestRewardItem & Template:QuestRewardFurniture.

{{QuestRewardShip|Yuudachi}}{{QuestRewardShip|Yuudachi}}
Ship Banner Yuudachi.png
Yuudachi
Ship Banner Yuudachi.png
Yuudachi
{{QuestRewardShip|Yuudachi|small=true}}{{QuestRewardShip|Yuudachi|small=true}}
Ship Banner Yuudachi.png
Yuudachi
Ship Banner Yuudachi.png
Yuudachi
{{QuestRewardShip|Yuudachi Kai Ni}}
Ship Banner Yuudachi Kai Ni.png
Yuudachi Kai Ni
{{QuestRewardShip|Kunashiri|link=Yamato}}
Ship Banner Kunashiri.png
Kunashiri
{{QuestRewardShip|Shimushu|text=Shimushu-class|link=Category:Shimushu Class}}
Ship Banner Shimushu.png
Shimushu-class
{{QuestRewardShip|Shimushu|text=A ship that is a ship that does ship things on a ship that is a ship that is a ship that does ship things on a ship}}
Ship Banner Shimushu.png
A ship that is a ship that does ship things on a ship that is a ship that is a ship that does ship things on a ship
{{QuestRewardShip|Shimushu|small=true|text=A ship that is a ship that does ship things on a ship that is a ship that is a ship that does ship things on a ship}}
Ship Banner Shimushu.png
A ship that is a ship that does ship things on a ship that is a ship that is a ship that does ship things on a ship
{{QuestRewardShip|Gangut|image=File:Enemy Banner Battleship Ru-Class.png|link=http://kancolle.doorblog.jp/archives/51211836.html}}
Enemy Banner Battleship Ru-Class.png
Gangut

Choice Quest Version

See preset template: Template:QuestRewardShip/Choice

{{QuestRewardShip/Choice|Oktyabrskaya Revolyutsiya}}{{QuestRewardShip/Choice|Yuudachi}}
Ship Card Oktyabrskaya Revolyutsiya.png
Oktyabrskaya Revolyutsiya
Ship Card Yuudachi.png
Yuudachi

Manually applied:

{{QuestRewardShip|Oktyabrskaya Revolyutsiya|choice=true}}{{QuestRewardShip|Yuudachi|choice=true}}
Ship Card Oktyabrskaya Revolyutsiya.png
Oktyabrskaya Revolyutsiya
Ship Card Yuudachi.png
Yuudachi


Collapsible

<sup class="mw-customtoggle-true" style="color:orange">(Toggle Button)</sup>

(Toggle Button)
requires button^

{{QuestRewardShip|Yuudachi|collapsible=true}}{{QuestRewardShip|Yuudachi|small=true|collapsible=true}}
Ship Banner Yuudachi.png
Yuudachi
Ship Banner Yuudachi.png
Yuudachi
{{QuestRewardShip|Yuudachi|collapsed=true}}{{QuestRewardShip|Yuudachi|small=true|collapsed=true}}
Ship Banner Yuudachi.png
Yuudachi
Ship Banner Yuudachi.png
Yuudachi

with ids

if you need multiple different sets on the same page

<sup class="mw-customtoggle-set1" style="color:orange">(Toggle Button for set1)</sup>

(Toggle Button for set1)

<sup class="mw-customtoggle-set4" style="color:orange">(Toggle Button for set4)</sup>

(Toggle Button for set4)

{{QuestRewardShip|Yuudachi|collapsible=set1}}{{QuestRewardShip|Yuudachi|small=true|collapsible=set4}}
Ship Banner Yuudachi.png
Yuudachi
Ship Banner Yuudachi.png
Yuudachi
{{QuestRewardShip|Yuudachi|collapsed=set4}}{{QuestRewardShip|Yuudachi|small=true|collapsed=set1}}
Ship Banner Yuudachi.png
Yuudachi
Ship Banner Yuudachi.png
Yuudachi