Open main menu

Yugipedia β

Changes

Template:GalleryHeader

171 bytes added, 12 years ago
try to make the code a bit more readable, add fallback for pages with "=" in their names (totally screws SMW), add category
{| class="card-galleries"
|-
! <big>{{ #if: {{ #pos: {{PAGENAME}} | = }} | {{PAGENAME}} | {{IfSemantics |{{Cardname|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}|{{ #ifeq: {{Cardname|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}|{{{lang}}}}}|<!-- nill --> |en |{{{lang}}} }} }} |{{PAGENAME}} }}}}</big><br/>''({{ #if: {{{set|}}} | {{{set}}} | {{ #switch: {{{lang}}}
| jp
| ja
|-
|<noinclude>
|} [[Category:Templates|{{PAGENAME}}]]</noinclude>