Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Template:Asset
(view source)
Revision as of 19:47, 17 October 2021
28 bytes added
,
3 years ago
no edit summary
Line 1:
Line 1:
−
<noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/| }}}}{{#vardefine:
link|{{#ifeq:{{{link|}}}|no
|{{#ifeq:{{{type|}}}|Equipment|{{{1|}}}|{{#var:name}}}}|{{{link|{{#ifeq:{{{
type
|}}}|
Equipment
|{{{
1
|}}}|{{#var:
name
}}}}}}}}}}}{{#if:{{{1|}}}|<span class="image-stack" style="display:inline-block;overflow:hidden;vertical-align:middle;position:relative">[[File:{{{type|}}} {{{asset|}}} {{#var:name}}{{#if:{{{suffix1|}}}| {{{suffix1}}}}}{{#if:{{{suffix2|}}}| {{{suffix2}}}}}.{{{extension|png}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}
|link=
{{#
var
:link}}|
{{{caption
|{{
#ifeq:
{{{
type
|}}}
|Equipment
|{{{
1|}}}
|{{#var:
name}}
}}}}}]]{{#if:{{{layer1|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style1|}}}">[[File:{{{layer1}}}.png
|link=
{{#
var
:link}}|
{{{caption
|{{
#ifeq:
{{{
type
|}}}
|Equipment
|{{{
1|}}}
|{{#var:
name}}
}}}}}]]</span>}}{{#if:{{{layer2|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style2|}}}">[[File:{{{layer2}}}.png
|link=
{{#
var
:link}}|
{{{caption
|{{
#ifeq:
{{{
type
|}}}
|Equipment
|{{{
1|}}}
|{{#var:
name}}
}}}}}]]</span>}}</span>|[[File:Catbomb.png|{{{size|240x60px}}}]]}}</includeonly><noinclude>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/| }}}}{{#vardefine:
name2
|{{#ifeq:{{{type|}}}|Equipment|{{{1|}}}|{{#var:name}}}}
}}{{#vardefine:link
|
{{#ifeq:
{{{link
|}}}|true|{{#var:name2}}
|{{#ifeq:{{{
link
|}}}|
file|file
|
{{#ifeq:
{{{
link
|}}}
|false||{{{link
|{{#var:
name2}}
}}}}}}}}}}}{{#if:{{{1|}}}|<span class="image-stack" style="display:inline-block;overflow:hidden;vertical-align:middle;position:relative">[[File:{{{type|}}} {{{asset|}}} {{#var:name}}{{#if:{{{suffix1|}}}| {{{suffix1}}}}}{{#if:{{{suffix2|}}}| {{{suffix2}}}}}.{{{extension|png}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}{{#
ifeq
:
{{{
link
|}
}}|
file|
|{{
!}}link=
{{{
link
|}}}
}}
|{{{
caption
|{{#var:
name2
}}}}}]]{{#if:{{{layer1|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style1|}}}">[[File:{{{layer1}}}.png{{#
ifeq
:
{{{
link
|}
}}|
file|
|{{
!}}link=
{{{
link
|}}}
}}
|{{{
caption
|{{#var:
name2
}}}}}]]</span>}}{{#if:{{{layer2|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style2|}}}">[[File:{{{layer2}}}.png{{#
ifeq
:
{{{
link
|}
}}|
file|
|{{
!}}link=
{{{
link
|}}}
}}
|{{{
caption
|{{#var:
name2
}}}}}]]</span>}}</span>|[[File:Catbomb.png|{{{size|240x60px}}}]]}}</includeonly><noinclude>
<pre>{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}</pre>
<pre>{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}</pre>
{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}
{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}
がか
cssedit, gkautomate
7,064
edits