• 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:Asset"

From Kancolle Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/|&#32;}}}}{{#vardefine:link|{{#ifeq:{{{link|}}}|no|{{#var:name}}|{{{link|{{#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|}}}|&#32;{{{suffix1}}}}}{{#if:{{{suffix2|}}}|&#32;{{{suffix2}}}}}.{{{extension|png}}}|{{{size|}}}|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]{{#if:{{{layer1|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style1|}}}">[[File:{{{layer1}}}.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>}}{{#if:{{{layer2|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style2|}}}">[[File:{{{layer2}}}.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>}}</span>|[[File:Catbomb.png|{{{size|240x60px}}}]]}}</includeonly><noinclude>
+
<includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/|&#32;}}}}{{#vardefine:link|{{#ifeq:{{{link|}}}|no|{{#var:name}}|{{{link|{{#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|}}}|&#32;{{{suffix1}}}}}{{#if:{{{suffix2|}}}|&#32;{{{suffix2}}}}}.{{{extension|png}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]{{#if:{{{layer1|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style1|}}}">[[File:{{{layer1}}}.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>}}{{#if:{{{layer2|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style2|}}}">[[File:{{{layer2}}}.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>}}</span>|[[File:Catbomb.png|{{{size|240x60px}}}]]}}</includeonly><noinclude>
 +
{|
 +
| {{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}
 +
|}
 
<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}}

Revision as of 03:02, 1 December 2020

Ayanami Kai Ni
{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}

Ayanami Kai Ni

{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni|size=160x40px}}

Ayanami Kai Ni

{{Asset|type=Enemy|asset=Banner|New Battleship Princess Damaged}}

New Battleship Princess Damaged

{{Asset|type=Equipment|asset=Card|Suisei}}

Suisei