Difference between revisions of "Template:Ability (LW2)/Sandbox"

From UFOpaedia
Jump to navigation Jump to search
(Adding s_id and using it to assign ids to elements. Also added classes to elements. Hopefully I can actually use them sometime.)
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span class="ability" id="{{{ s_id | ability }}}" style="display: inline-block; {{ #ifexpr: {{{ b_table | 0 }}} | padding: 13px 13px 13px 13px;|}}"><!--
+
<noinclude>{{ndc}}</noinclude><includeonly><span class="ability" id="{{{ s_id | ability }}}" style="display: inline-block; {{ #ifexpr: {{{ b_table | 0 }}} | padding: 13px 13px 13px 13px;|}}"><!--
 
--><div class="abilityImageContainer" id="{{{ s_id | ability }}}" style="position: relative; display: inline-block;"><!--
 
--><div class="abilityImageContainer" id="{{{ s_id | ability }}}" style="position: relative; display: inline-block;"><!--
 
--><div class="abilityImage" id="{{{ s_id | ability }}}"><!--
 
--><div class="abilityImage" id="{{{ s_id | ability }}}"><!--
Line 6: Line 6:
 
         -->{{ #ifexpr: {{{ b_info | 0 }}}<!--
 
         -->{{ #ifexpr: {{{ b_info | 0 }}}<!--
 
         -->|<div class="abilityInfoIcon" id="{{{ s_id | ability }}}" style="position: absolute; height: 18px; width: 18px; left: 30px; top: 26px;"><!--
 
         -->|<div class="abilityInfoIcon" id="{{{ s_id | ability }}}" style="position: absolute; height: 18px; width: 18px; left: 30px; top: 26px;"><!--
            -->[[File:infoIcon.png|18px|{{{s_pageName|}}}/Info]]<!--
+
        -->[[File:infoIcon.png|18px|{{ {{{ s_templateName |}}}/Info }}]]<!--
 
             --></div><!--
 
             --></div><!--
 
         -->|}}<!--
 
         -->|}}<!--
Line 21: Line 21:
 
     -->|}}<!--
 
     -->|}}<!--
 
--></span></includeonly><noinclude>
 
--></span></includeonly><noinclude>
 +
  
 
{{Documentation}}
 
{{Documentation}}
  
 
[[Category: Templates]]
 
[[Category: Templates]]
[[Category: Perks (Long War 2)]]
 
 
[[Category: Templates (Long War 2)]]
 
[[Category: Templates (Long War 2)]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:40, 12 February 2017

No Direct Call This template should only be used in other templates. It is not meant to be used on content pages.


[edit · purge]
Template documentation(for the template shown above, sometimes hidden or invisible)
There is currently no documentation for this template.
.