• 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
 
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><div style="vertical-align: top; display: inline-block; text-align:center; margin-left: 4px; margin-right: 4px;">
+
<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>
<div style="vertical-align: middle; width: {{#if:{{{small|}}}|180|250}}px; min-height: 64px; position: relative; display: inline-block;">
 
<div style="margin-top: 0px;">[[{{#if: {{{image|}}}| {{{image}}} | File:Ship Banner {{#replace:{{{1|}}}|/|&#32;}}.png }}|{{#if:{{{small|}}}|175px|}}|link={{#if: {{{link|}}} | {{{link}}} | {{{1|}}} }}]]</div>
 
<div style="margin-left: 5px; margin-bottom: 5px; color: #000; position: relative; width:{{#if:{{{small|}}}|170|240}}px; max-height: 42px; font-size: {{#if:{{{small|}}}|12|15}}px; line-height: 14px; text-align: center; overflow: hidden; vertical-align: top !important;">{{#if: {{{text|}}} | {{{text}}} | {{#if: {{{1|}}} | {{{1}}} | {{{link|}}}}} }}</div>
 
</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]].
  
<pre>
+
<pre>{{QuestRewardShip|Yuudachi}}{{QuestRewardShip|Yuudachi}}</pre>
{{QuestRewardShip|Shimushu|small=true|text=Shimushu-class Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua|link=Category:Shimushu Class}}
+
{{QuestRewardShip|Yuudachi}}{{QuestRewardShip|Yuudachi}}
{{QuestRewardShip|Shimushu|small=true}}
+
<pre>{{QuestRewardShip|Yuudachi|small=true}}{{QuestRewardShip|Yuudachi|small=true}}</pre>
<br>
+
{{QuestRewardShip|Yuudachi|small=true}}{{QuestRewardShip|Yuudachi|small=true}}
{{QuestRewardShip|Shimushu|small=true|text=N}}
+
<pre>{{QuestRewardShip|Yuudachi Kai Ni}}</pre>
{{QuestRewardShip|Shimushu|small=true|text=Shimushu-class|link=Category:Shimushu Class}}
+
{{QuestRewardShip|Yuudachi Kai Ni}}
</pre>
+
<pre>{{QuestRewardShip|Kunashiri|link=Yamato}}</pre>
{{QuestRewardShip|Shimushu|small=true|text=Shimushu-class Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua|link=Category:Shimushu Class}}
+
{{QuestRewardShip|Kunashiri|link=Yamato}}
{{QuestRewardShip|Shimushu|small=true}}
+
<pre>{{QuestRewardShip|Shimushu|text=Shimushu-class|link=Category:Shimushu Class}}</pre>
<br>
+
{{QuestRewardShip|Shimushu|text=Shimushu-class|link=Category:Shimushu Class}}
{{QuestRewardShip|Shimushu|small=true|text=N}}
+
<pre>{{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}}</pre>
{{QuestRewardShip|Shimushu|small=true|text=Shimushu-class|link=Category: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}}
<pre>
+
<pre>{{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}}</pre>
{{QuestRewardShip|Kunashiri|text=Shimushu-class Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua|link=Category:Shimushu Class}}
+
{{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}}
{{QuestRewardShip|Kunashiri}}
+
<pre>{{QuestRewardShip|Gangut|image=File:Enemy Banner Battleship Ru-Class.png|link=http://kancolle.doorblog.jp/archives/51211836.html}}</pre>
<br>
+
{{QuestRewardShip|Gangut|image=File:Enemy Banner Battleship Ru-Class.png|link=http://kancolle.doorblog.jp/archives/51211836.html}}
{{QuestRewardShip|Kunashiri|text=N|link=Category:Shimushu Class}}
+
 
{{QuestRewardShip|Kunashiri|text=Shimushu-class|link=Category:Shimushu Class}}
+
==Choice Quest Version==
</pre>
+
See preset template: [[Template:QuestRewardShip/Choice]]
{{QuestRewardShip|Kunashiri|text=Shimushu-class Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua|link=Category:Shimushu Class}}
+
 
{{QuestRewardShip|Kunashiri}}
+
<pre>{{QuestRewardShip/Choice|Oktyabrskaya Revolyutsiya}}{{QuestRewardShip/Choice|Yuudachi}}</pre>
<br>
+
{{QuestRewardShip/Choice|Oktyabrskaya Revolyutsiya}}{{QuestRewardShip/Choice|Yuudachi}}
{{QuestRewardShip|Kunashiri|text=N|link=Category:Shimushu Class}}
+
 
{{QuestRewardShip|Kunashiri|text=Shimushu-class|link=Category:Shimushu Class}}
+
Manually applied:
<!--
+
<pre>{{QuestRewardShip|Oktyabrskaya Revolyutsiya|choice=true}}{{QuestRewardShip|Yuudachi|choice=true}}</pre>
<pre>{{QuestRewardShip|Suisei}}</pre>
+
{{QuestRewardShip|Oktyabrskaya Revolyutsiya|choice=true}}{{QuestRewardShip|Yuudachi|choice=true}}
{{QuestRewardShip|Suisei}}
+
 
<pre>{{QuestRewardShip|120mm/50 Twin Gun Mount Kai A.mod.1937}}</pre>
+
 
{{QuestRewardShip|120mm/50 Twin Gun Mount Kai A.mod.1937}}
+
==Collapsible==
<pre>{{QuestRewardShip|Suisei|link=Ryuusei}}</pre>
+
<pre><sup class="mw-customtoggle-true" style="color:orange">(Toggle Button)</sup></pre>
{{QuestRewardShip|Suisei|link=Ryuusei}}
+
<sup class="mw-customtoggle-true" style="color:orange">(Toggle Button)</sup>
<pre>{{QuestRewardShip|Suisei|qty=5}}</pre>
+
<br>requires button^
{{QuestRewardShip|Suisei|qty=5}}
+
 
<pre>{{QuestRewardShip|Suisei|stars=9}}</pre>
+
<pre>{{QuestRewardShip|Yuudachi|collapsible=true}}{{QuestRewardShip|Yuudachi|small=true|collapsible=true}}</pre>
{{QuestRewardShip|Suisei|stars=9}}
+
{{QuestRewardShip|Yuudachi|collapsible=true}}{{QuestRewardShip|Yuudachi|small=true|collapsible=true}}
<pre>{{QuestRewardShip|Suisei|image=File:Equipment Card Ryuusei.png|link=Ryuusei}}</pre>
+
<pre>{{QuestRewardShip|Yuudachi|collapsed=true}}{{QuestRewardShip|Yuudachi|small=true|collapsed=true}}</pre>
{{QuestRewardShip|Suisei|image=File:Equipment Card Ryuusei.png|link=Ryuusei}}
+
{{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