Changes

Added Template:AssetTemplateList
Line 1: Line 1: −
<includeonly>{{#vardefine:pre_name|{{#replace:{{#replace:{{{1}}}|/|<sp>}}|<sp><sp>|<sp>}}}}{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{#var:pre_name}}|-4}}|<sp>|{{#sub:{{#var:pre_name}}|0|-4}}|{{#var:pre_name}}}}|<sp>|&#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|Ship}}} Banner {{#var:name}}{{#if:{{{damaged|}}}|&#32;Damaged}}{{#if:{{{debuffed|}}}|&#32;Debuffed}}.png|{{#if:{{{small|}}}|160x40px|240x60px}}|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]{{#if:{{{ring|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{#if:{{{small|}}}|top:19px;left:138px;|top:29px;left:210px;}}">[[File:Battle Card Marriage Ring.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>|}}{{#if:{{{ring_glow|}}}|<span class="image-layer" style="line-height:0px;position:absolute;opacity:0.7;{{#if:{{{small|}}}|top:10px;left:126px;|top:25px;left:206px;}}">[[File:Battle Card Marriage Ring Glow.png|link={{#var:link}}|{{{caption|{{#var:name}}}}}]]</span>|}}</span>|[[File:Catbomb.png|{{#if:{{{small|}}}|160x40px|240x60px}}]]}}</includeonly><noinclude>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{Banner|{{{1|}}}|type=Ship|suffix1={{#if: {{{damaged|}}} | Damaged }}|text={{{text|}}}|caption={{{caption|}}}|small={{{small|}}}}}</includeonly><noinclude>
Simplified version of [[Template:ShipBattleCardKai]]. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page.
+
Inherited from [[Template:Banner]]. Simplified version of [[Template:ShipBattleCardKai]]. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page.
    
==Interface==
 
==Interface==
Line 9: Line 9:     
==Examples==
 
==Examples==
<pre>{{Ship/Banner|I-401}}</pre>
+
<pre>{{Ship/Banner|Kasumi}}</pre>
{{Ship/Banner|I-401}}
+
{{Ship/Banner|Kasumi}}
   −
<pre>{{Ship/Banner|I-401/}}</pre>
+
<pre>{{Ship/Banner|Kasumi/}}</pre>
{{Ship/Banner|I-401/}}
+
{{Ship/Banner|Kasumi/}}
   −
<pre>{{Ship/Banner|I-401 Kai}}</pre>
+
<pre>{{Ship/Banner|Jervis Kai}}</pre>
{{Ship/Banner|I-401 Kai}}
+
{{Ship/Banner|Jervis Kai}}
   −
<pre>{{Ship/Banner|I-401/Kai}}</pre>
+
<pre>{{Ship/Banner|Jervis/Kai}}</pre>
{{Ship/Banner|I-401/Kai}}
+
{{Ship/Banner|Jervis/Kai}}
   −
<pre>{{Ship/Banner|I-401/Kai|damaged=true}}</pre>
+
<pre>{{Ship/Banner|Jervis/Kai|damaged=true}}</pre>
{{Ship/Banner|I-401/Kai|damaged=true}}
+
{{Ship/Banner|Jervis/Kai|damaged=true}}
   −
<pre>{{Ship/Banner|I-401/Kai|caption=Shioi|ring=true|ring_glow=true}}</pre>
+
<pre>{{Ship/Banner|Kasumi/Kai Ni|text=Kachumi|ring=true|ring_glow=true}}</pre>
{{Ship/Banner|I-401/Kai|caption=Shioi|ring=true|ring_glow=true}}
+
{{Ship/Banner|Kasumi/Kai Ni|text=Kachumi|ring=true|ring_glow=true}}
   −
<pre>{{Ship/Banner|I-401/Kai|caption=Shioi|ring=true|ring_glow=true|damaged=true|small=true}}</pre>
+
<pre>{{Ship/Banner|Kasumi/Kai Ni|caption=Kachumi|ring=true|ring_glow=true|damaged=true|small=true}}</pre>
{{Ship/Banner|I-401/Kai|caption=Shioi|ring=true|ring_glow=true|damaged=true|small=true}}
+
{{Ship/Banner|Kasumi/Kai Ni|caption=Kachumi|ring=true|ring_glow=true|damaged=true|small=true}}
 
</noinclude>
 
</noinclude>
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,342

edits