• 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
(Created page with "<includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/| }}}}{{#vardefine:link|{{#ifeq:{{{link|}}}|no|{{#var:name}}|{{...")
 
m (Undo revision 146437 by Jigaraphale (talk))
Tag: Undo
 
(17 intermediate revisions by 4 users not shown)
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|}}} Banner {{#var:name}}{{#if:{{{suffix|}}}|&#32;{{{suffix}}}}}{{#if:{{{suffix2|}}}|&#32;{{{suffix2}}}}}.png|{{#if:{{{small|}}}|160x40px|240x60px}}|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]{{#if:{{{layer|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{#if:{{{small|}}}|top:19px;left:138px;|top:29px;left:210px;}}">[[File:{{{layer}}}.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>|}}{{#if:{{{layer2|}}}|<span class="image-layer" style="line-height:0px;position:absolute;opacity:0.7;{{#if:{{{small|}}}|top:10px;left:126px;|top:25px;left:206px;}}">[[File:{{{layer2}}}.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>|}}</span>|[[File:Catbomb.png|{{#if:{{{small|}}}|160x40px|240x60px}}]]}}</includeonly><noinclude>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/|&#32;}}}}{{#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|}}}|[[File:{{{type|}}} {{{asset|}}} {{#var:name}}{{#if:{{{suffix1|}}}|&#32;{{{suffix1}}}}}{{#if:{{{suffix2|}}}|&#32;{{{suffix2}}}}}.{{{extension|png}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}{{#ifeq:{{#var:link}}|file||{{!}}link={{#var:link}}}}|{{{caption|{{#var:name2}}}}}]]<!--{{#if:{{{layer1|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style1|}}}">[[File:{{{layer1}}}.png{{#ifeq:{{#var:link}}|file||{{!}}link={{#var:link}}}}|{{{caption|{{#var:name2}}}}}]]</span>}}{{#if:{{{layer2|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{{layer_style2|}}}">[[File:{{{layer2}}}.png{{#ifeq:{{#var:link}}|file||{{!}}link={{#var:link}}}}|{{{caption|{{#var:name2}}}}}]]</span>}}-->|[[File:Catbomb.png|{{{size|240x60px}}}]]}}</includeonly><noinclude>
{{Banner|type=Ship|Ayanami/Kai Ni}}
+
<pre>{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}</pre>
{{Banner|type=Enemy|New Battleship Princess Damaged}}
+
{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}
 +
<pre>{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni|size=160x40px}}</pre>
 +
{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni|size=160x40px}}
 +
<pre>{{Asset|type=Enemy|asset=Banner|New Battleship Princess Damaged}}</pre>
 +
{{Asset|type=Enemy|asset=Banner|New Battleship Princess Damaged}}
 +
<pre>{{Asset|type=Equipment|asset=Card|Suisei}}</pre>
 +
{{Asset|type=Equipment|asset=Card|Suisei}}
 +
<pre>{{Asset|type=Equipment|asset=Card|Ju 87C Kai Ni (w/ KMX)}}</pre>
 +
{{Asset|type=Equipment|asset=Card|Ju 87C Kai Ni (w/ KMX)}}
 
</noinclude>
 
</noinclude>

Latest revision as of 13:36, 24 January 2023

[edit] Asset Template List
Template:Asset Other Templates
Template:Banner Template:Card Template:Link Others
{{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

{{Asset|type=Equipment|asset=Card|Ju 87C Kai Ni (w/ KMX)}}

Ju 87C Kai Ni (w/ KMX)