Permanently protected template

Difference between revisions of "Template:Card table"

From Yugipedia
Jump to: navigation, search
(fix)
(max_width data attribute for the imagecolumn)
Line 23: Line 23:
 
}}
 
}}
 
{{ #if: {{{above<includeonly>|</includeonly>}}} | <div class="above">{{{above}}}</div> }}
 
{{ #if: {{{above<includeonly>|</includeonly>}}} | <div class="above">{{{above}}}</div> }}
  <div class="imagecolumn">{{ #if: {{{image_raw|}}}
+
  <div class="imagecolumn" data-max_width="{{ #var: $ct_max_width }}">{{ #if: {{{image_raw|}}}
 
   | {{{image_raw}}}
 
   | {{{image_raw}}}
 
   | [[File:{{ #var: $ct_img }}|link=File:{{ #var: $ct_img }}|{{ #var: $ct_width }}px]]{{ #if: {{{image_right|}}}
 
   | [[File:{{ #var: $ct_img }}|link=File:{{ #var: $ct_img }}|{{ #var: $ct_width }}px]]{{ #if: {{{image_right|}}}

Revision as of 13:29, 18 September 2016

{{{title}}}
{{{above}}}
Back-EN.png
{{{below_image}}}
{{{below}}}