• 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
(More flexibility & options)
Line 1: Line 1:
<noinclude>{{AssetTemplateList}}</noinclude><includeonly><div class="qr">[[{{#if:{{{image|}}}|{{{image}}}|File:Ship_Banner_{{#replace:{{{1|}}}|/|_}}.png}}{{#if:{{{small|}}}|{{!}}175px|{{!}}240px}}|link={{#if:{{{link|}}}|{{{link}}}|{{{1|}}}}}]]<div class="{{#if:{{{small|}}}|qrt2|qrt3}} {{#if:{{{collapsible|}}}|mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{collapsible}}}}}">{{#if:{{{text|}}}|{{{text}}}|{{#if:{{{1|}}}|{{{1}}}|{{{link|}}}}}}}</div></div></includeonly><noinclude>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly><div class="qr">[[{{#if:{{{image|}}}|{{{image}}}|File:Ship_Banner_{{#replace:{{{1|}}}|/|_}}.png}}{{#if:{{{small|}}}|{{!}}175px|{{!}}240px}}|link={{#if:{{{link|}}}|{{{link}}}|{{{1|}}}}}]]<div class="{{#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 9: Line 9:
 
<pre>{{QuestRewardShip|Yuudachi Kai Ni}}</pre>
 
<pre>{{QuestRewardShip|Yuudachi Kai Ni}}</pre>
 
{{QuestRewardShip|Yuudachi Kai Ni}}
 
{{QuestRewardShip|Yuudachi Kai Ni}}
<pre>{{QuestRewardShip|Yuudachi Kai Ni|collapsible=YuudachiName}}</pre>
 
{{QuestRewardShip|Yuudachi Kai Ni|collapsible=YuudachiName}}
 
 
<pre>{{QuestRewardShip|Kunashiri|link=Yamato}}</pre>
 
<pre>{{QuestRewardShip|Kunashiri|link=Yamato}}</pre>
 
{{QuestRewardShip|Kunashiri|link=Yamato}}
 
{{QuestRewardShip|Kunashiri|link=Yamato}}
Line 21: 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}}
 +
==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>

Revision as of 09:44, 12 August 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

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