Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Template:QuestRewardShip
(view source)
Revision as of 13:44, 24 June 2023
433 bytes removed
,
1 year ago
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|}}}|/| }}.png }}|{{#if:{{{small|}}}|175px|}}|link={{#if: {{{link|}}} | {{{link}}} | {{{1|}}} }}]]</div>
−
<div
style="margin-top: 0px;"
>[[{{#if: {{{image|}}}| {{{image}}} | File:Ship Banner {{#replace:{{{1|}}}|/| }}.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]].
Chocolatecravinghobo
advmod, cssedit,
Interface administrators
, janitor,
Moderators
, prechecked,
Widget editors
7,410
edits