Difference between revisions of "Template:GalleryHeader"

From Yugipedia
Jump to: navigation, search
(update)
(Reverting. This is not working. If a name is not available in a given language, it always displays as blank. Besides, the Spanish name for "Invader of Darkness" as exactly 23 characters; thus breaking this concept.)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{| class="card-galleries"
 
{| class="card-galleries"
 
|-
 
|-
! <big>{{
+
! <span style="font-size: 120%;">{{trim|{{ #replace: {{IfSemantics|{{Card name|{{ #if: {{{1|}}} | {{{1}}} | {{ #var: $pagename }} }}|{{
  #if: {{ #pos: {{Card name|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}|{{{lang}}}}} | !! }}
+
         #ifeq: {{Card name|{{ #if: {{{1|}}} | {{{1}}} | {{ #var: $pagename }} }}|{{{lang}}}}} | <!-- nill -->
  | {{
+
        | en | {{{lang}}}
    #tag: nowiki | {{
 
      #if: {{ #pos: {{PAGENAME}} | = }}
 
      | {{PAGENAME}}
 
      | {{IfSemantics
 
        | {{Card name|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}|{{
 
            #ifeq: {{Card name|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}|{{{lang}}}}} | <!-- nill -->
 
            | en
 
            | {{{lang}}}
 
          }}
 
         }}
 
        | {{PAGENAME}}
 
      }}
 
    }}
 
  }}
 
  | {{
 
    #if: {{ #pos: {{PAGENAME}} | = }}
 
    | {{PAGENAME}}
 
    | {{IfSemantics
 
      | {{Card name|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}|{{
 
          #ifeq: {{Card name|{{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }}|{{{lang}}}}} | <!-- nill -->
 
          | en
 
          | {{{lang}}}
 
        }}
 
 
       }}
 
       }}
 
       | {{PAGENAME}}
 
       | {{PAGENAME}}
 
     }}
 
     }}
   }}
+
   }} | ! | &#33; }}
}}</big><br/>''({{ #if: {{{set|}}} | {{{set}}} | {{ #switch: {{Ln|{{{lang}}}}}
+
}}</span><br />({{ #if: {{{set|}}} | {{{set}}} | ''{{rgo|{{{lang}}}}}'' }} - {{region|{{{lang}}}|after=y}})
| JP
 
| AE
 
| CH
 
| KR
 
| TC = OCG
 
| #default = TCG
 
}}}} - {{ #switch: {{Ln|{{{lang}}}}}
 
| AU | EU | NA | EN = {{Lang|{{{lang}}}|after=y}}
 
| #default = {{Lang|{{{lang}}}|short2=y}}
 
}})''
 
 
|-
 
|-
 
|<noinclude>
 
|<noinclude>

Latest revision as of 15:29, 6 December 2016


(' - )