Jump to content

Template:Ability (LW2): Difference between revisions

From UFOpaedia
Tvol (talk | contribs)
m Undo revision 74345 by Tvol (talk) No no no.
Tvol (talk | contribs)
Right, I give up on this for now. Partial solution is to have b_info default to being true and have it be explicitly set until I can figure-out why the text breaks when it isn't.
Line 16: Line 16:
}}
}}
</pre>
</pre>
==Bugs==
If this template is used inside a [[Template:Class_Tree_(LW2)]] and <code>b_info</code> is not <code>true</code>, then for some blasted reason the text overflows the cells. With <code>b_info</code> set, the text behaves and stays inside the table's cells as they should. (How very, very annoying.)
The text also behaves if this template is instead used inside a subst: version of the Class_Tree template. It could be some weird issue with the parser/template-rendering-parsing-dohicky.
[[Category: Templates]]
[[Category: Templates]]
[[Category: Perks (Long War 2)]]
[[Category: Perks (Long War 2)]]
[[Category: Templates (Long War 2)]]
[[Category: Templates (Long War 2)]]
</noinclude>
</noinclude>

Revision as of 20:00, 27 January 2017

[[File:{{{ s_image }}}|32px| ]]
PerkName


Skeleton:

{{Ability_(LW2)
| s_image =
| s_caption = 
| s_name = 
| s_descr =
| s_info =
| b_name = {{{ b_name }}}
| b_descr = {{{ b_descr }}}
| b_info = {{{ b_info }}}
}}

Bugs

If this template is used inside a Template:Class_Tree_(LW2) and b_info is not true, then for some blasted reason the text overflows the cells. With b_info set, the text behaves and stays inside the table's cells as they should. (How very, very annoying.)

The text also behaves if this template is instead used inside a subst: version of the Class_Tree template. It could be some weird issue with the parser/template-rendering-parsing-dohicky.