Permanently protected template

Difference between revisions of "Template:Card table"

From Yugipedia
Jump to: navigation, search
(shorter var names; don't set any categories or properties unless it's the first transclusion; better image width handling (among other things, don't stretch images smaller than the max width unless their width is explicitly set))
(got the name wrong on the var that indicates whether the current table is the first on a page, so just change the "correct" instance to the name I thought it was (since generally we use underscores for var names anyways))
Line 18: Line 18:
 
}}<!--
 
}}<!--
  
--><div {{ #if: {{ #var: $first-card-table }} || id="main-card-table" }} class="card-table {{ #if: {{{bodyclass|}}} | {{{bodyclass}}} | blank-card }}" style="{{{bodystyle|}}}">
+
--><div {{ #if: {{ #var: $first_card_table }} || id="main-card-table" }} class="card-table {{ #if: {{{bodyclass|}}} | {{{bodyclass}}} | blank-card }}" style="{{{bodystyle|}}}">
 
{{ #if: {{{title<includeonly>|</includeonly>}}} |
 
{{ #if: {{{title<includeonly>|</includeonly>}}} |
 
  <div class="heading {{{titleclass|}}}" style="{{{titlestyle|}}}"><div>{{{title}}}</div></div>
 
  <div class="heading {{{titleclass|}}}" style="{{{titlestyle|}}}"><div>{{{title}}}</div></div>

Revision as of 02:35, 1 July 2016

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