Changes

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>
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,373

edits