Difference between revisions of "Template:Errata table"

From Yugipedia
Jump to: navigation, search
(fix)
(add three more errata slots, for Card Errata:Swords of Revealing Light)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ #vardefine: $ln | {{ #switch: {{ lc: {{ #if: {{{lang|}}} | {{{lang}}} | {{{1}}} }} }}
+
<templatestyles src="Template:Errata table/styles.css" />
   | fr | fc | french       = fr
+
{{ #vardefine: $pagename | {{Normalized pagename|{{PAGENAME}}}}
   | de      | german       = de
+
}}{{ #vardefine: $ln | {{ #switch: {{ lc: {{ #if: {{{lang|}}} | {{{lang}}} | {{{1}}} }} }}
   | it      | italian     = it
+
   | fr | fc | french     = fr
   | pt      | portuguese   = pt
+
   | de      | german     = de
   | es | sp | spanish     = es
+
   | it      | italian   = it
   | ja | jp | japanese     = ja
+
   | pt      | portuguese = pt
   | ko | kr | korean       = ko
+
   | es | sp | spanish   = es
   | zh | ch | tc | chinese = zh
+
   | ja | jp | japanese   = ja
 +
   | ko | kr | korean     = ko
 +
   | zh | ch | chinese    = zh
 +
  | tc                   = zh-Hant
 +
  | sc                  = zh-Hans
 
   }}
 
   }}
}}<span class="sysop-show">$ln: {{ #var: $ln }} </span>{{ #vardefine: $lang | {{ #switch: {{ #var: $ln }}
+
}}{{ #vardefine: $lang | {{ #switch: {{ #var: $ln }}
   | fr = French
+
   | fr     = French
   | de = German
+
   | de     = German
   | it = Italian
+
   | it     = Italian
   | pt = Portuguese
+
   | pt     = Portuguese
   | es = Spanish
+
   | es     = Spanish
   | ja = Japanese
+
   | ja     = Japanese
   | ko = Korean
+
   | ko     = Korean
   | zh = Chinese
+
   | zh     = Chinese
 +
  | zh-Hant = Traditional Chinese
 +
  | zh-Hans = Simplified Chinese
 
   }}
 
   }}
}}<span class="sysop-show">$lang: {{ #var: $lang }}</span>{{ #vardefine: $lang-attr | {{ #if: {{ #var: $ln }} | lang="{{ #var: $ln }}" }}
+
}}{{ #vardefine: $lang-attr | {{ #if: {{ #var: $ln }} | lang="{{ #var: $ln }}" }}
 
}}{{ #vardefine: $rev1 | {{ #if: {{{name1|}}}{{{card_type1|}}}{{{lore1|}}}{{{lore1T|}}} | 1 }}
 
}}{{ #vardefine: $rev1 | {{ #if: {{{name1|}}}{{{card_type1|}}}{{{lore1|}}}{{{lore1T|}}} | 1 }}
 
}}{{ #vardefine: $rev2 | {{ #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} | 1 }}
 
}}{{ #vardefine: $rev2 | {{ #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} | 1 }}
Line 29: Line 35:
 
}}{{ #vardefine: $rev8 | {{ #if: {{{name8|}}}{{{card_type8|}}}{{{lore8|}}}{{{lore8T|}}} | 1 }}
 
}}{{ #vardefine: $rev8 | {{ #if: {{{name8|}}}{{{card_type8|}}}{{{lore8|}}}{{{lore8T|}}} | 1 }}
 
}}{{ #vardefine: $rev9 | {{ #if: {{{name9|}}}{{{card_type9|}}}{{{lore9|}}}{{{lore9T|}}} | 1 }}
 
}}{{ #vardefine: $rev9 | {{ #if: {{{name9|}}}{{{card_type9|}}}{{{lore9|}}}{{{lore9T|}}} | 1 }}
 +
}}{{ #vardefine: $rev10 | {{ #if: {{{name10|}}}{{{card_type10|}}}{{{lore10|}}}{{{lore10T|}}} | 1 }}
 +
}}{{ #vardefine: $rev11 | {{ #if: {{{name11|}}}{{{card_type11|}}}{{{lore11|}}}{{{lore11T|}}} | 1 }}
 +
}}{{ #vardefine: $rev12 | {{ #if: {{{name12|}}}{{{card_type12|}}}{{{lore12|}}}{{{lore12T|}}} | 1 }}
 +
}}{{ #vardefine: $rev13 | {{ #if: {{{name13|}}}{{{card_type13|}}}{{{lore13|}}}{{{lore13T|}}} | 1 }}
 +
}}{{ #vardefine: $rev14 | {{ #if: {{{name14|}}}{{{card_type14|}}}{{{lore14|}}}{{{lore14T|}}} | 1 }}
 
}}{{ #vardefine: $n4revs | {{ #ifeq: {{ #var: $rev3 | 0 }}{{ #var: $rev4 | 0 }} | 10 || 1 }}
 
}}{{ #vardefine: $n4revs | {{ #ifeq: {{ #var: $rev3 | 0 }}{{ #var: $rev4 | 0 }} | 10 || 1 }}
 +
}}{{ #vardefine: $image-back | Back-{{ #switch: {{ #var: $ln }} | ja | zh | zh-Hant | zh-Hans = JP | ko = KR | #default = EN }}.png
 +
}}{{ #vardefine: $image-width | 300
 
}}<table class="wikitable card-errata {{ #if: {{ #var: $rev2 }} | {{ #if: {{ #var: $rev4 }} || twocolumn }} | twocolumn }}">
 
}}<table class="wikitable card-errata {{ #if: {{ #var: $rev2 }} | {{ #if: {{ #var: $rev4 }} || twocolumn }} | twocolumn }}">
 
{{ #if: {{{1|}}} | <caption>{{{1}}}</caption>
 
{{ #if: {{{1|}}} | <caption>{{{1}}}</caption>
Line 35: Line 48:
 
<tr>
 
<tr>
 
<th scope="col">Original</th>
 
<th scope="col">Original</th>
<th scope="col">First revision</th>
+
<th scope="col">First erratum</th>
 
{{
 
{{
 
   #if: {{ #var: $rev2 }}
 
   #if: {{ #var: $rev2 }}
 
   | {{ #if: {{ #var: $n4revs }}
 
   | {{ #if: {{ #var: $n4revs }}
     | <th scope="col">Second revision</th>
+
     | <th scope="col">Second erratum</th>
 
   }}
 
   }}
 
}}
 
}}
Line 84: Line 97:
 
</tr> }}
 
</tr> }}
 
<tr class="images">
 
<tr class="images">
<td>[[File:{{PAGENAME: {{{image0}}} }}|thumb|center|{{{cap0}}}]]</td>
+
<td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image0|}}}}}
<td>[[File:{{PAGENAME: {{{image1}}} }}|thumb|center|{{{cap1}}}]]</td>
+
  }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
  }}{{ #vardefine: $imageN-caption | {{{cap0}}}
 +
  }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
</td>
 +
<td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image1|}}}}}
 +
  }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
  }}{{ #vardefine: $imageN-caption | {{{cap1}}}
 +
  }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
</td>
 
{{
 
{{
 
   #if: {{ #var: $rev2 }}
 
   #if: {{ #var: $rev2 }}
 
   | {{ #if: {{ #var: $n4revs }}
 
   | {{ #if: {{ #var: $n4revs }}
     | <td>[[File:{{PAGENAME: {{{image2}}} }}|thumb|center|{{{cap2}}}]]</td>
+
     | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image2|}}}}}
 +
        }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
        }}{{ #vardefine: $imageN-caption | {{{cap2}}}
 +
        }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
    </td>
 
   }}
 
   }}
 
}}
 
}}
Line 98: Line 123:
 
   {{
 
   {{
 
     #if: {{ #var: $rev4 }}
 
     #if: {{ #var: $rev4 }}
     || <th scope="col">Second revision</th>
+
     || <th scope="col">Second erratum</th>
 
   }}
 
   }}
   <th scope="col">Third revision</th>
+
   <th scope="col">Third erratum</th>
 
   {{
 
   {{
 
     #if: {{ #var: $rev4 }}
 
     #if: {{ #var: $rev4 }}
     | <th scope="col">Fourth revision</th>
+
     | <th scope="col">Fourth erratum</th>
 
   }}{{
 
   }}{{
 
     #if: {{ #var: $rev5 }}
 
     #if: {{ #var: $rev5 }}
     | <th scope="col">Fifth revision</th>
+
     | <th scope="col">Fifth erratum</th>
 
     | {{
 
     | {{
 
       #if: {{ #var: $rev4 }}
 
       #if: {{ #var: $rev4 }}
Line 164: Line 189:
 
   {{
 
   {{
 
     #if: {{ #var: $rev4 }}
 
     #if: {{ #var: $rev4 }}
     || <td>[[File:{{PAGENAME: {{{image2}}} }}|thumb|center|{{{cap2}}}]]</td>
+
     || <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image2|}}}}}
 +
      }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
      }}{{ #vardefine: $imageN-caption | {{{cap2}}}
 +
      }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 
   }}
 
   }}
   <td>[[File:{{PAGENAME: {{{image3}}} }}|thumb|center|{{{cap3}}}]]</td>
+
   <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image3|}}}}}
 +
    }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
    }}{{ #vardefine: $imageN-caption | {{{cap3}}}
 +
    }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 
   {{
 
   {{
     #if: {{ #var: $rev4 }} | <td>[[File:{{PAGENAME: {{{image4}}} }}|thumb|center|{{{cap4}}}]]</td>
+
     #if: {{ #var: $rev4 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image4|}}}}}
 +
      }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
      }}{{ #vardefine: $imageN-caption | {{{cap4}}}
 +
      }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
    </td>
 
   }}{{
 
   }}{{
     #if: {{ #var: $rev5 }} | <td>[[File:{{PAGENAME: {{{image5}}} }}|thumb|center|{{{cap5}}}]]</td>
+
     #if: {{ #var: $rev5 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image5|}}}}}
 +
      }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
      }}{{ #vardefine: $imageN-caption | {{{cap5}}}
 +
      }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
    </td>
 
   }}
 
   }}
 
   </tr>
 
   </tr>
Line 176: Line 217:
 
{{
 
{{
 
   #if: {{ #var: $rev6 }} | <tr>
 
   #if: {{ #var: $rev6 }} | <tr>
<th scope="col">Sixth revision</th>
+
<th scope="col">Sixth erratum</th>
 
{{
 
{{
 
   #if: {{ #var: $rev7 }}
 
   #if: {{ #var: $rev7 }}
   | <th scope="col">Seventh revision</th>
+
   | <th scope="col">Seventh erratum</th>
 
   | <td colspan="2" rowspan="{{ #expr: 2 {{ #if: {{{name6|}}}{{{name7|}}}{{{name8|}}} | + 1 }} {{ #if: {{{card_type6|}}}{{{card_type7|}}}{{{card_type8|}}} | + 1 }} {{ #if: {{{lore6|}}}{{{lore7|}}}{{{lore8|}}} | + 1 }} {{ #if: {{{lore6T|}}}{{{lore7T|}}}{{{lore8T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
 
   | <td colspan="2" rowspan="{{ #expr: 2 {{ #if: {{{name6|}}}{{{name7|}}}{{{name8|}}} | + 1 }} {{ #if: {{{card_type6|}}}{{{card_type7|}}}{{{card_type8|}}} | + 1 }} {{ #if: {{{lore6|}}}{{{lore7|}}}{{{lore8|}}} | + 1 }} {{ #if: {{{lore6T|}}}{{{lore7T|}}}{{{lore8T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
 
}}{{
 
}}{{
 
   #if: {{ #var: $rev8 }}
 
   #if: {{ #var: $rev8 }}
   | <th scope="col">Eighth revision</th>
+
   | <th scope="col">Eighth erratum</th>
 
   | {{
 
   | {{
 
     #if: {{ #var: $rev7 }}
 
     #if: {{ #var: $rev7 }}
Line 223: Line 264:
 
</tr> }}
 
</tr> }}
 
<tr class="images">
 
<tr class="images">
<td>[[File:{{PAGENAME: {{{image6}}} }}|thumb|center|{{{cap6}}}]]</td>
+
<td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image6|}}}}}
 +
  }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
  }}{{ #vardefine: $imageN-caption | {{{cap6}}}
 +
  }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
</td>
 
{{
 
{{
   #if: {{ #var: $rev7 }} | <td>[[File:{{PAGENAME: {{{image7}}} }}|thumb|center|{{{cap7}}}]]</td>
+
   #if: {{ #var: $rev7 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image7|}}}}}
 +
    }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
    }}{{ #vardefine: $imageN-caption | {{{cap7}}}
 +
    }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 
}}{{
 
}}{{
   #if: {{ #var: $rev8 }} | <td>[[File:{{PAGENAME: {{{image8}}} }}|thumb|center|{{{cap8}}}]]</td>
+
   #if: {{ #var: $rev8 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image8|}}}}}
 +
    }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
    }}{{ #vardefine: $imageN-caption | {{{cap8}}}
 +
    }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 
}}
 
}}
 
</tr>
 
</tr>
Line 233: Line 286:
 
{{
 
{{
 
   #if: {{ #var: $rev9 }} | <tr>
 
   #if: {{ #var: $rev9 }} | <tr>
<th scope="col">Ninth revision</th>
+
<th scope="col">Ninth erratum</th>
<td colspan="2" rowspan="{{ #expr: 2 {{ #if: {{{name9|}}} | + 1 }} {{ #if: {{{card_type9|}}} | + 1 }} {{ #if: {{{lore9|}}} | + 1 }} {{ #if: {{{lore9T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
+
{{
 +
  #if: {{ #var: $rev10 }}
 +
  | <th scope="col">Tenth erratum</th>
 +
  | <td colspan="2" rowspan="{{ #expr: 2 {{ #if: {{{name9|}}}{{{name10|}}}{{{name11|}}} | + 1 }} {{ #if: {{{card_type9|}}}{{{card_type10|}}}{{{card_type11|}}} | + 1 }} {{ #if: {{{lore9|}}}{{{lore10|}}}{{{lore11|}}} | + 1 }} {{ #if: {{{lore9T|}}}{{{lore10T|}}}{{{lore11T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
 +
}}{{
 +
  #if: {{ #var: $rev11 }}
 +
  | <th scope="col">Eleventh erratum</th>
 +
  | {{
 +
    #if: {{ #var: $rev10 }}
 +
    | <td rowspan="{{ #expr: 2 {{ #if: {{{name9|}}}{{{name10|}}}{{{name11|}}} | + 1 }} {{ #if: {{{card_type9|}}}{{{card_type10|}}}{{{card_type11|}}} | + 1 }} {{ #if: {{{lore9|}}}{{{lore10|}}}{{{lore11|}}} | + 1 }} {{ #if: {{{lore9T|}}}{{{lore10T|}}}{{{lore11T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
 +
  }}
 +
}}
 
</tr>
 
</tr>
{{ #if: {{{name9|}}} | <tr class="names" {{ #var: $lang-attr }}>
+
{{ #if: {{{name9|}}}{{{name10|}}}{{{name11|}}} | <tr class="names" {{ #var: $lang-attr }}>
<td>{{{name9}}}</td>
+
<td>{{ #if: {{{name9|}}} | {{{name9}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{name10|}}} | {{{name10}}} | {{{name11}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev10 }} | <td>{{ #if: {{{name10|}}} | {{{name10}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{name9|}}} | {{{name9}}} | {{{name11}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev11 }} | <td>{{ #if: {{{name11|}}} | {{{name11}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{name10|}}} | {{{name10}}} | {{{name9}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 
</tr> }}
 
</tr> }}
{{ #if: {{{card_type9|}}} | <tr class="types" {{ #var: $lang-attr }}>
+
{{ #if: {{{card_type9|}}}{{{card_type10|}}}{{{card_type11|}}} | <tr class="types" {{ #var: $lang-attr }}>
<td>{{{card_type9}}}</td>
+
<td>{{ #if: {{{card_type9|}}} | {{{card_type9}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{card_type10|}}} | {{{card_type10}}} | {{{card_type11}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev10 }} | <td>{{ #if: {{{card_type10|}}} | {{{card_type10}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{card_type9|}}} | {{{card_type9}}} | {{{card_type11}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev11 }} | <td>{{ #if: {{{card_type11|}}} | {{{card_type11}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{card_type10|}}} | {{{card_type10}}} | {{{card_type9}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 
</tr> }}
 
</tr> }}
{{ #if: {{{lore9|}}} | <tr class="lores" {{ #var: $lang-attr }}>
+
{{ #if: {{{lore9|}}}{{{lore10|}}}{{{lore11|}}} | <tr class="lores" {{ #var: $lang-attr }}>
<td>{{{lore9}}}</td>
+
<td>{{ #if: {{{lore9|}}} | {{{lore9}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore10|}}} | {{{lore10}}} | {{{lore11}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev10 }} | <td>{{ #if: {{{lore10|}}} | {{{lore10}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore9|}}} | {{{lore9}}} | {{{lore11}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev11 }} | <td>{{ #if: {{{lore11|}}} | {{{lore11}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore10|}}} | {{{lore10}}} | {{{lore9}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 
</tr> }}
 
</tr> }}
{{ #if: {{{lore9T|}}} | <tr class="lores">
+
{{ #if: {{{lore9T|}}}{{{lore10T|}}}{{{lore11T|}}} | <tr class="lores">
<td>{{{lore9T}}}</td>
+
<td>{{ #if: {{{lore9T|}}} | {{{lore9T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore10T|}}} | {{{lore10T}}} | {{{lore11T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev10 }} | <td>{{ #if: {{{lore10T|}}} | {{{lore10T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore9T|}}} | {{{lore9T}}} | {{{lore11T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev11 }} | <td>{{ #if: {{{lore11T|}}} | {{{lore11T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore10T|}}} | {{{lore10T}}} | {{{lore9T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 
</tr> }}
 
</tr> }}
 
<tr class="images">
 
<tr class="images">
<td>[[File:{{PAGENAME: {{{image9}}} }}|thumb|center|{{{cap9}}}]]</td>
+
<td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image9|}}}}}
 +
  }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
  }}{{ #vardefine: $imageN-caption | {{{cap9}}}
 +
  }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
</td>
 +
{{
 +
  #if: {{ #var: $rev10 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image10|}}}}}
 +
    }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
    }}{{ #vardefine: $imageN-caption | {{{cap10}}}
 +
    }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 +
}}{{
 +
  #if: {{ #var: $rev11 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image11|}}}}}
 +
    }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
    }}{{ #vardefine: $imageN-caption | {{{cap11}}}
 +
    }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 +
}}
 +
</tr>
 +
}}
 +
{{
 +
  #if: {{ #var: $rev12 }} | <tr>
 +
<th scope="col">Twelfth erratum</th>
 +
{{
 +
  #if: {{ #var: $rev13 }}
 +
  | <th scope="col">Thirteenth erratum</th>
 +
  | <td colspan="2" rowspan="{{ #expr: 2 {{ #if: {{{name12|}}}{{{name13|}}}{{{name14|}}} | + 1 }} {{ #if: {{{card_type12|}}}{{{card_type13|}}}{{{card_type14|}}} | + 1 }} {{ #if: {{{lore12|}}}{{{lore13|}}}{{{lore14|}}} | + 1 }} {{ #if: {{{lore12T|}}}{{{lore13T|}}}{{{lore14T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
 +
}}{{
 +
  #if: {{ #var: $rev14 }}
 +
  | <th scope="col">Fourteenth erratum</th>
 +
  | {{
 +
    #if: {{ #var: $rev13 }}
 +
    | <td rowspan="{{ #expr: 2 {{ #if: {{{name12|}}}{{{name13|}}}{{{name14|}}} | + 1 }} {{ #if: {{{card_type12|}}}{{{card_type13|}}}{{{card_type14|}}} | + 1 }} {{ #if: {{{lore12|}}}{{{lore13|}}}{{{lore14|}}} | + 1 }} {{ #if: {{{lore12T|}}}{{{lore13T|}}}{{{lore14T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
 +
  }}
 +
}}
 +
</tr>
 +
{{ #if: {{{name12|}}}{{{name13|}}}{{{name14|}}} | <tr class="names" {{ #var: $lang-attr }}>
 +
<td>{{ #if: {{{name12|}}} | {{{name12}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{name13|}}} | {{{name13}}} | {{{name14}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev13 }} | <td>{{ #if: {{{name13|}}} | {{{name13}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{name12|}}} | {{{name12}}} | {{{name14}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev14 }} | <td>{{ #if: {{{name14|}}} | {{{name14}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{name13|}}} | {{{name13}}} | {{{name12}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 +
</tr> }}
 +
{{ #if: {{{card_type12|}}}{{{card_type13|}}}{{{card_type14|}}} | <tr class="types" {{ #var: $lang-attr }}>
 +
<td>{{ #if: {{{card_type12|}}} | {{{card_type12}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{card_type13|}}} | {{{card_type13}}} | {{{card_type14}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev13 }} | <td>{{ #if: {{{card_type13|}}} | {{{card_type13}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{card_type12|}}} | {{{card_type12}}} | {{{card_type14}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev14 }} | <td>{{ #if: {{{card_type14|}}} | {{{card_type14}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{card_type13|}}} | {{{card_type13}}} | {{{card_type12}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 +
</tr> }}
 +
{{ #if: {{{lore12|}}}{{{lore13|}}}{{{lore14|}}} | <tr class="lores" {{ #var: $lang-attr }}>
 +
<td>{{ #if: {{{lore12|}}} | {{{lore12}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore13|}}} | {{{lore13}}} | {{{lore14}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev13 }} | <td>{{ #if: {{{lore13|}}} | {{{lore13}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore12|}}} | {{{lore12}}} | {{{lore14}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev14 }} | <td>{{ #if: {{{lore14|}}} | {{{lore14}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore13|}}} | {{{lore13}}} | {{{lore12}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 +
</tr> }}
 +
{{ #if: {{{lore12T|}}}{{{lore13T|}}}{{{lore14T|}}} | <tr class="lores">
 +
<td>{{ #if: {{{lore12T|}}} | {{{lore12T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore13T|}}} | {{{lore13T}}} | {{{lore14T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
{{
 +
  #if: {{ #var: $rev13 }} | <td>{{ #if: {{{lore13T|}}} | {{{lore13T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore12T|}}} | {{{lore12T}}} | {{{lore14T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}{{
 +
  #if: {{ #var: $rev14 }} | <td>{{ #if: {{{lore14T|}}} | {{{lore14T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore13T|}}} | {{{lore13T}}} | {{{lore12T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
}}
 +
</tr> }}
 +
<tr class="images">
 +
<td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image12|}}}}}
 +
  }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
  }}{{ #vardefine: $imageN-caption | {{{cap12}}}
 +
  }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
</td>
 +
{{
 +
  #if: {{ #var: $rev13 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image13|}}}}}
 +
    }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
    }}{{ #vardefine: $imageN-caption | {{{cap13}}}
 +
    }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 +
}}{{
 +
  #if: {{ #var: $rev14 }} | <td>{{ #vardefine: $imageN-name | {{PAGENAME:{{{image14|}}}}}
 +
    }}{{ #vardefine: $imageN-width | {{ #imgw: {{ #var: $imageN-name }} }}
 +
    }}{{ #vardefine: $imageN-caption | {{{cap14}}}
 +
    }}[[File:{{ #ifeq: {{ #var: $imageN-width }} | 0 | {{ #var: $image-back }} | {{ #var: $imageN-name | {{ #var: $image-back }} }} }}|thumb|{{ #ifexpr: {{ #var: $imageN-width }} > {{ #var: $image-width }} | {{ #var: $image-width }} | {{ #var: $imageN-width }} }}px|center|{{ #var: $imageN-caption }}{{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | {{!}}link={{fullurl:Special:Upload|wpDestFile={{ #var: $imageN-name }}&wpUploadDescription={{ urlencode: {{((}}OCG-TCG card image }}%0A{{ urlencode: {{!}} name = {{ #var: $pagename }} }}%0A{{ urlencode: {{))}} }}}}<!-- %0A is a newline; I don't think {{urlencode:}} can directly encode newlines --> }} }}]]{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{ #var: $imageN-name }} | {{ #ifeq: {{ #var: $imageN-width }} | 0 | [[Category:Errata table transclusions using non-uploaded images]] }} }} }}
 +
  </td>
 +
}}
 
</tr>
 
</tr>
 
}}
 
}}
</table>{{ #if: {{{lore0T|}}}{{{lore1T|}}}{{{lore2T|}}}{{{lore3T|}}}{{{lore4T|}}}{{{lore5T|}}}{{{lore6T|}}}{{{lore7T|}}}{{{lore8T|}}}{{{lore9T|}}}
+
</table>{{ #if: {{{lore0T|}}}{{{lore1T|}}}{{{lore2T|}}}{{{lore3T|}}}{{{lore4T|}}}{{{lore5T|}}}{{{lore6T|}}}{{{lore7T|}}}{{{lore8T|}}}{{{lore9T|}}}{{{lore10T|}}}{{{lore11T|}}}{{{lore12T|}}}{{{lore13T|}}}{{{lore14T|}}}
 
   | [[Category:Errata table transclusions using translated lore parameters]]
 
   | [[Category:Errata table transclusions using translated lore parameters]]
}}{{ #if: {{{name10|}}}{{{card_type10|}}}{{{lore10|}}}{{{lore10T|}}} | [[Category:Errata table transclusions with too many entries]]
+
}}{{ #if: {{{name15|}}}{{{card_type15|}}}{{{lore15|}}}{{{lore15T|}}} | [[Category:Errata table transclusions with too many entries]]
 
}}{{ #if: {{{lang|}}} | {{ #if: {{ #var: $ln }} || [[Category:Errata table transclusions with unrecognized lang values]] }}
 
}}{{ #if: {{{lang|}}} | {{ #if: {{ #var: $ln }} || [[Category:Errata table transclusions with unrecognized lang values]] }}
}}{{ #if: {{{name1|}}}{{{name2|}}}{{{name3|}}}{{{name4|}}}{{{name5|}}}{{{name6|}}}{{{name7|}}}{{{name8|}}}{{{name9|}}}
+
}}{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | {{ #if: {{{name1|}}}{{{name2|}}}{{{name3|}}}{{{name4|}}}{{{name5|}}}{{{name6|}}}{{{name7|}}}{{{name8|}}}{{{name9|}}}{{{name10|}}}{{{name11|}}}{{{name12|}}}{{{name13|}}}{{{name14|}}}
   | [[Category:Cards with name revisions]]
+
   | [[Category:Cards with name errata]]
}}{{ #if: {{{card_type1|}}}{{{card_type2|}}}{{{card_type3|}}}{{{card_type4|}}}{{{card_type5|}}}{{{card_type6|}}}{{{card_type7|}}}{{{card_type8|}}}{{{card_type9|}}}
+
}}{{ #if: {{{card_type1|}}}{{{card_type2|}}}{{{card_type3|}}}{{{card_type4|}}}{{{card_type5|}}}{{{card_type6|}}}{{{card_type7|}}}{{{card_type8|}}}{{{card_type9|}}}{{{card_type10|}}}{{{card_type11|}}}{{{card_type12|}}}{{{card_type13|}}}{{{card_type14|}}}
   | [[Category:Cards with card type revisions]]
+
   | [[Category:Cards with card type errata]]
}}{{ #if: {{ #pos: {{{image0}}} | -OP. }}{{ #pos: {{{image0}}} | -OP- }}{{ #pos: {{{image1}}} | -OP. }}{{ #pos: {{{image1}}} | -OP- }}
+
}} }}{{ #if: {{ #pos: {{{image0}}} | -OP. }}{{ #pos: {{{image0}}} | -OP- }}{{ #pos: {{{image1}}} | -OP. }}{{ #pos: {{{image1}}} | -OP- }}
           {{ #pos: {{{image2}}} | -OP. }}{{ #pos: {{{image2}}} | -OP- }}{{ #pos: {{{image3}}} | -OP. }}{{ #pos: {{{image3}}} | -OP- }}
+
           {{ #pos: {{{image2}}} | -OP. }}{{ #pos: {{{image2}}} | -OP- }}{{ #pos: {{{image3}}} | -OP. }}{{ #pos: {{{image3}}} | -OP- }}
           {{ #pos: {{{image4}}} | -OP. }}{{ #pos: {{{image4}}} | -OP- }}{{ #pos: {{{image5}}} | -OP. }}{{ #pos: {{{image5}}} | -OP- }}
+
           {{ #pos: {{{image4}}} | -OP. }}{{ #pos: {{{image4}}} | -OP- }}{{ #pos: {{{image5}}} | -OP. }}{{ #pos: {{{image5}}} | -OP- }}
           {{ #pos: {{{image6}}} | -OP. }}{{ #pos: {{{image6}}} | -OP- }}{{ #pos: {{{image7}}} | -OP. }}{{ #pos: {{{image7}}} | -OP- }}
+
           {{ #pos: {{{image6}}} | -OP. }}{{ #pos: {{{image6}}} | -OP- }}{{ #pos: {{{image7}}} | -OP. }}{{ #pos: {{{image7}}} | -OP- }}
           {{ #pos: {{{image8}}} | -OP. }}{{ #pos: {{{image8}}} | -OP- }}{{ #pos: {{{image9}}} | -OP. }}{{ #pos: {{{image9}}} | -OP- }}
+
           {{ #pos: {{{image8}}} | -OP. }}{{ #pos: {{{image8}}} | -OP- }}{{ #pos: {{{image9}}} | -OP. }}{{ #pos: {{{image9}}}  | -OP- }}
 +
          {{ #pos: {{{image10}}} | -OP. }}{{ #pos: {{{image10}}} | -OP- }}{{ #pos: {{{image11}}} | -OP. }}{{ #pos: {{{image11}}} | -OP- }}
 +
          {{ #pos: {{{image12}}} | -OP. }}{{ #pos: {{{image12}}} | -OP- }}{{ #pos: {{{image13}}} | -OP. }}{{ #pos: {{{image13}}} | -OP- }}
 +
          {{ #pos: {{{image14}}} | -OP. }}{{ #pos: {{{image14}}} | -OP- }}
 
   | [[Category:Errata table transclusions with Official Proxy images]]
 
   | [[Category:Errata table transclusions with Official Proxy images]]
}}{{ #if: {{ #pos: {{{image0}}} | -SAMPLE }}{{ #pos: {{{image1}}} | -SAMPLE }}{{ #pos: {{{image2}}} | -SAMPLE }}
+
}}{{ #if: {{ #pos: {{{image0}}} | -SAMPLE }}{{ #pos: {{{image1}}} | -SAMPLE }}{{ #pos: {{{image2}}} | -SAMPLE }}
           {{ #pos: {{{image3}}} | -SAMPLE }}{{ #pos: {{{image4}}} | -SAMPLE }}{{ #pos: {{{image5}}} | -SAMPLE }}
+
           {{ #pos: {{{image3}}} | -SAMPLE }}{{ #pos: {{{image4}}} | -SAMPLE }}{{ #pos: {{{image5}}} | -SAMPLE }}
           {{ #pos: {{{image6}}} | -SAMPLE }}{{ #pos: {{{image7}}} | -SAMPLE }}{{ #pos: {{{image8}}} | -SAMPLE }}
+
           {{ #pos: {{{image6}}} | -SAMPLE }}{{ #pos: {{{image7}}} | -SAMPLE }}{{ #pos: {{{image8}}} | -SAMPLE }}
           {{ #pos: {{{image9}}} | -SAMPLE }}
+
           {{ #pos: {{{image9}}}  | -SAMPLE }}{{ #pos: {{{image10}}} | -SAMPLE }}{{ #pos: {{{image11}}} | -SAMPLE }}
 +
          {{ #pos: {{{image12}}} | -SAMPLE }}{{ #pos: {{{image13}}} | -SAMPLE }}{{ #pos: {{{image14}}} | -SAMPLE }}
 
   | [[Category:Errata table transclusions with SAMPLE images]]
 
   | [[Category:Errata table transclusions with SAMPLE images]]
}}<includeonly>[[Category:Cards with {{ #expr: {{ #var: $rev1 }} + {{ #var: $rev2 }} + {{ #var: $rev3 }} +
+
}}{{ #if: {{ #pos: {{{image0}}}  | Back- }}{{ #pos: {{{image1}}}  | Back- }}{{ #pos: {{{image2}}}  | Back- }}
                                               {{ #var: $rev4 }} + {{ #var: $rev5 }} + {{ #var: $rev6 }} +
+
          {{ #pos: {{{image3}}}  | Back- }}{{ #pos: {{{image4}}}  | Back- }}{{ #pos: {{{image5}}}  | Back- }}
                                               {{ #var: $rev7 }} + {{ #var: $rev8 }} + {{ #var: $rev9 }} + 0 }} revision{{ #if: {{ #var: $rev2 }} | s }}]]
+
          {{ #pos: {{{image6}}}  | Back- }}{{ #pos: {{{image7}}}  | Back- }}{{ #pos: {{{image8}}}  | Back- }}
<span class="sysop-show">$lang: {{ #var: $lang }}</span>
+
          {{ #pos: {{{image9}}}  | Back- }}{{ #pos: {{{image10}}} | Back- }}{{ #pos: {{{image11}}} | Back- }}
{{ #if: {{ #var: $ln }} | [[Category:Cards with {{ #var: $lang }} revisions]] }}
+
          {{ #pos: {{{image12}}} | Back- }}{{ #pos: {{{image13}}} | Back- }}{{ #pos: {{{image14}}} | Back- }}
<span class="sysop-show">$lang: {{ #var: $lang }}</span></includeonly><noinclude>
+
  | [[Category:Errata table transclusions with card backings]]
 +
}}{{ #ifeq: {{NAMESPACE}} | {{ns:3010}} | [[Category:Cards with {{ #expr: {{ #var: $rev1 }} + {{ #var: $rev2 }} + {{ #var: $rev3 }} +  
 +
                                               {{ #var: $rev4 }} + {{ #var: $rev5 }} + {{ #var: $rev6 }} +  
 +
                                               {{ #var: $rev7 }} + {{ #var: $rev8 }} + {{ #var: $rev9 }} +  
 +
                                              {{ #var: $rev10 }} + {{ #var: $rev11 }} + {{ #var: $rev12 }} +
 +
                                              {{ #var: $rev13 }} + {{ #var: $rev14 }} + 0 }} errat{{ #if: {{ #var: $rev2 }} | a | um }}]]<!--
 +
-->{{ #if: {{ #var: $ln }} | [[Category:Cards with {{ #var: $lang }} errata]] | [[Category:Cards with English errata]] }} }}<!--
 +
-->{{ #if: {{{1|}}} | [[Category:Errata table transclusions needing updated format]] }}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:16, 28 June 2023

Original First erratum
{{{name0}}} {{{name1}}}
{{{card_type0}}} {{{card_type1}}}
{{{lore0}}} {{{lore1}}}
{{{lore0T}}} {{{lore1T}}}
{{{cap0}}}
{{{cap1}}}