- 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"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/| }}}}{{#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|}}}| {{{suffix1}}}}}{{#if:{{{suffix2|}}}| {{{suffix2}}}}}.{{{extension|png}}}|{{#if:{{{small|}}}|160x40px|240x60px}}|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]{{#if:{{{layer1|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{#if:{{{small|}}}|top:19px;left:138px|top:29px;left:210px}}">[[File:{{{layer1}}}.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> | <includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/| }}}}{{#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|}}}| {{{suffix1}}}}}{{#if:{{{suffix2|}}}| {{{suffix2}}}}}.{{{extension|png}}}|{{#if:{{{small|}}}|160x40px|240x60px}}|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]{{#if:{{{layer1|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{#if:{{{small|}}}|top:19px;left:138px|top:29px;left:210px}}">[[File:{{{layer1}}}.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> | ||
− | <pre>{{Asset|type=Ship|asset= | + | <pre>{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}</pre> |
− | {{Asset|type=Ship|asset= | + | {{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}} |
− | <pre>{{Asset|type=Enemy|asset= | + | <pre>{{Asset|type=Enemy|asset=Banner|New Battleship Princess Damaged}}</pre> |
− | {{Asset|type=Enemy|asset= | + | {{Asset|type=Enemy|asset=Banner|New Battleship Princess Damaged}} |
− | <pre>{{Asset|type=Equipment|asset=Card| | + | <pre>{{Asset|type=Equipment|asset=Card|Suisei}}</pre> |
− | {{Asset|type=Equipment|asset=Card| | + | {{Asset|type=Equipment|asset=Card|Suisei}} |
</noinclude> | </noinclude> |
Revision as of 23:05, 30 November 2020
{{Asset|type=Ship|asset=Banner|Ayanami/Kai Ni}}
{{Asset|type=Enemy|asset=Banner|New Battleship Princess Damaged}}
{{Asset|type=Equipment|asset=Card|Suisei}}