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

Changes

Jump to navigation Jump to search
oh, that was easy. fixed small version in gaka's edit. might further css optimize later
Line 1: Line 1: −
<noinclude>{{AssetTemplateList}}</noinclude><includeonly><!--<div class="qrs">--><div style="vertical-align: top; display: inline-block; text-align:center; margin-left: 4px; margin-right: 4px;">
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly><div class="qrs" style="width: {{#if:{{{small|}}}|180|250}}px;">
<div style="vertical-align: middle; width: {{#if:{{{small|}}}|180|250}}px; min-height: 64px; position: relative; display: inline-block;">
+
<div>[[{{#if: {{{image|}}}| {{{image}}} | File:Ship Banner {{#replace:{{{1|}}}|/|&#32;}}.png }}|{{#if:{{{small|}}}|175px|}}|link={{#if: {{{link|}}} | {{{link}}} | {{{1|}}} }}]]</div>
<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 class="qrst" style="width:{{#if:{{{small|}}}|170|240}}px; font-size:{{#if:{{{small|}}}|13|15}}px;">{{#if: {{{text|}}} | {{{text}}} | {{#if: {{{1|}}} | {{{1}}} | {{{link|}}}}} }}</div>
<!--<div class="qrst">--><div style="margin-left: 5px; margin-bottom: 5px; color: #000; position: relative; width:{{#if:{{{small|}}}|170|240}}px; max-height: 48px; font-size: {{#if:{{{small|}}}|13|15}}px; line-height: 16px; text-align: center; overflow: hidden; vertical-align: top !important;">{{#if: {{{text|}}} | {{{text}}} | {{#if: {{{1|}}} | {{{1}}} | {{{link|}}}}} }}</div>
+
</div></includeonly><noinclude>
</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]].
advmod, cssedit, janitor, Moderators, prechecked, Widget editors
6,964

edits

Navigation menu