Permanently protected template

Difference between revisions of "Template:Card table"

From Yugipedia
Jump to: navigation, search
(add hack to properly pad <ruby> tags)
(Passing "main" into this template)
Line 2: Line 2:
 
   #if: {{{header16|}}}{{{headerstyle16|}}}{{{label16|}}}{{{labelstyle16|}}}{{{data16|}}}{{{datastyle16|}}}{{{class16|}}}{{{rowclass16|}}}
 
   #if: {{{header16|}}}{{{headerstyle16|}}}{{{label16|}}}{{{labelstyle16|}}}{{{data16|}}}{{{datastyle16|}}}{{{class16|}}}{{{rowclass16|}}}
 
   | <div class="error">Error: too many rows!</div>[[Category:Card table transclusions with too many rows]]
 
   | <div class="error">Error: too many rows!</div>[[Category:Card table transclusions with too many rows]]
}}<div class="card-table {{ #if: {{{bodyclass|}}} | {{{bodyclass}}} | blank-card }}" style="{{{bodystyle|}}}">
+
}}<!--
 +
 
 +
-->{{
 +
  #if: {{{main|}}}
 +
  | {{Main|type=card page|"[[Main card page::{{{main}}}]]"}}
 +
}}<!--
 +
 
 +
--><div 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>
Line 118: Line 125:
 
   }}
 
   }}
 
   | {{
 
   | {{
     #ifexist: Card Gallery:{{ #if: {{{name|}}} | {{{name}}} | {{ #explode: {{PAGENAME}} | ( }} }}
+
     #ifexist: Card Gallery:{{ #if: {{{main|}}} | {{{main}}} | {{PAGENAME}} }}
 
     || [[Category:Cards that need a gallery]]
 
     || [[Category:Cards that need a gallery]]
 
   }}[[Page name::{{FULLPAGENAME}}| ]][[Page type::Card page| ]]
 
   }}[[Page name::{{FULLPAGENAME}}| ]][[Page type::Card page| ]]
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 12:24, 4 November 2013

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