Difference between revisions of "Template:Errata table"

From Yugipedia
Jump to: navigation, search
(let's see if this works)
(if there's a third erratum, we already know there's a second one and don't have to check when we're deciding where to put the second one (especially not at every spot))
Line 71: Line 71:
 
</tr>
 
</tr>
 
{{
 
{{
   #if: {{{name3|}}}{{{card_type3|}}}{{{lore3|}}}{{{lore3T|}}} | <tr>
+
   #if: {{{name3|}}}{{{card_type3|}}}{{{lore3|}}}{{{lore3T|}}}
{{
+
  | <tr>
  #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
+
   {{
   | {{
 
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     || <th scope="col">Second Erratum</th>
 
     || <th scope="col">Second Erratum</th>
 
   }}
 
   }}
}}
+
  <th scope="col">Third Erratum</th>
<th scope="col">Third Erratum</th>
+
   {{
{{
 
  #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
  | <th scope="col">Fourth Erratum</th>
 
}}{{
 
  #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}}
 
  | <th scope="col">Fifth Erratum</th>
 
   | {{
 
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
     | <td rowspan="{{ #expr: 2 {{ #if: {{{name3|}}}{{{name4|}}}{{{name5|}}} | + 1 }} {{ #if: {{{card_type3|}}}{{{card_type4|}}}{{{card_type5|}}} | + 1 }} {{ #if: {{{lore3|}}}{{{lore4|}}}{{{lore5|}}} | + 1 }} {{ #if: {{{lore3T|}}}{{{lore4T|}}}{{{lore5T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
+
     | <th scope="col">Fourth Erratum</th>
 +
  }}{{
 +
    #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}}
 +
    | <th scope="col">Fifth Erratum</th>
 +
    | {{
 +
      #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
      | <td rowspan="{{ #expr: 2 {{ #if: {{{name3|}}}{{{name4|}}}{{{name5|}}} | + 1 }} {{ #if: {{{card_type3|}}}{{{card_type4|}}}{{{card_type5|}}} | + 1 }} {{ #if: {{{lore3|}}}{{{lore4|}}}{{{lore5|}}} | + 1 }} {{ #if: {{{lore3T|}}}{{{lore4T|}}}{{{lore5T|}}} | + 1 }} }}" class="blank">&nbsp;</td>
 +
    }}
 
   }}
 
   }}
}}
+
  </tr>
</tr>
+
  {{ #if: {{{name3|}}}{{{name4|}}}{{{name5|}}} | <tr class="names">
{{ #if: {{{name3|}}}{{{name4|}}}{{{name5|}}} | <tr class="names">
+
   {{
{{
 
  #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 
   | {{
 
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     || <td>{{ #if: {{{name2|}}} | {{{name2}}} }}</td>
 
     || <td>{{ #if: {{{name2|}}} | {{{name2}}} }}</td>
 
   }}
 
   }}
}}
+
  <td>{{ #if: {{{name3|}}} | {{{name3}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name4|}}} | {{{name4}}} | {{{name5}}} }} | ''' }} | '' }}</span> }}</td>
<td>{{ #if: {{{name3|}}} | {{{name3}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name4|}}} | {{{name4}}} | {{{name5}}} }} | ''' }} | '' }}</span> }}</td>
+
  {{
{{
+
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{name4|}}} | {{{name4}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name3|}}} | {{{name3}}} | {{{name5}}} }} | ''' }} | '' }}</span> }}</td>
  #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{name4|}}} | {{{name4}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name3|}}} | {{{name3}}} | {{{name5}}} }} | ''' }} | '' }}</span> }}</td>
+
  }}{{
}}{{
+
    #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{name5|}}} | {{{name5}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name4|}}} | {{{name4}}} | {{{name3}}} }} | ''' }} | '' }}</span> }}</td>
  #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{name5|}}} | {{{name5}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name4|}}} | {{{name4}}} | {{{name3}}} }} | ''' }} | '' }}</span> }}</td>
+
  }}
}}
+
  </tr> }}
</tr> }}
+
  {{ #if: {{{card_type3|}}}{{{card_type4|}}}{{{card_type5|}}} | <tr class="types">
{{ #if: {{{card_type3|}}}{{{card_type4|}}}{{{card_type5|}}} | <tr class="types">
+
   {{
{{
 
  #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 
   | {{
 
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     || <td>{{ #if: {{{card_type2|}}} | {{{card_type2}}} }}</td>
 
     || <td>{{ #if: {{{card_type2|}}} | {{{card_type2}}} }}</td>
 
   }}
 
   }}
}}
+
  <td>{{ #if: {{{card_type3|}}} | {{{card_type3}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type4|}}} | {{{card_type4}}} | {{{card_type5}}} }} | ''' }} | '' }}</span> }}</td>
<td>{{ #if: {{{card_type3|}}} | {{{card_type3}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type4|}}} | {{{card_type4}}} | {{{card_type5}}} }} | ''' }} | '' }}</span> }}</td>
+
  {{
{{
+
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{card_type4|}}} | {{{card_type4}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type3|}}} | {{{card_type3}}} | {{{card_type5}}} }} | ''' }} | '' }}</span> }}</td>
  #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{card_type4|}}} | {{{card_type4}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type3|}}} | {{{card_type3}}} | {{{card_type5}}} }} | ''' }} | '' }}</span> }}</td>
+
  }}{{
}}{{
+
    #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{card_type5|}}} | {{{card_type5}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type4|}}} | {{{card_type4}}} | {{{card_type3}}} }} | ''' }} | '' }}</span> }}</td>
  #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{card_type5|}}} | {{{card_type5}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type4|}}} | {{{card_type4}}} | {{{card_type3}}} }} | ''' }} | '' }}</span> }}</td>
+
  }}
}}
+
  </tr> }}
</tr> }}
+
  {{ #if: {{{lore3|}}}{{{lore4|}}}{{{lore5|}}} | <tr class="lores">
{{ #if: {{{lore3|}}}{{{lore4|}}}{{{lore5|}}} | <tr class="lores">
+
   {{
{{
 
  #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 
   | {{
 
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     || <td>{{ #if: {{{lore2|}}} | {{{lore2}}} }}</td>
 
     || <td>{{ #if: {{{lore2|}}} | {{{lore2}}} }}</td>
 
   }}
 
   }}
}}
+
  <td>{{ #if: {{{lore3|}}} | {{{lore3}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4|}}} | {{{lore4}}} | {{{lore5}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
<td>{{ #if: {{{lore3|}}} | {{{lore3}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4|}}} | {{{lore4}}} | {{{lore5}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
  {{
{{
+
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{lore4|}}} | {{{lore4}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore3|}}} | {{{lore3}}} | {{{lore5}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
  #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{lore4|}}} | {{{lore4}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore3|}}} | {{{lore3}}} | {{{lore5}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
  }}{{
}}{{
+
    #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{lore5|}}} | {{{lore5}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4|}}} | {{{lore4}}} | {{{lore3}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
  #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{lore5|}}} | {{{lore5}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4|}}} | {{{lore4}}} | {{{lore3}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
  }}
}}
+
  </tr> }}
</tr> }}
+
  {{ #if: {{{lore3T|}}}{{{lore4T|}}}{{{lore5T|}}} | <tr class="lores">
{{ #if: {{{lore3T|}}}{{{lore4T|}}}{{{lore5T|}}} | <tr class="lores">
+
   {{
{{
 
  #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 
   | {{
 
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     || <td>{{ #if: {{{lore2T|}}} | {{{lore2T}}} }}</td>
 
     || <td>{{ #if: {{{lore2T|}}} | {{{lore2T}}} }}</td>
 
   }}
 
   }}
}}
+
  <td>{{ #if: {{{lore3T|}}} | {{{lore3T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4T|}}} | {{{lore4T}}} | {{{lore5T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
<td>{{ #if: {{{lore3T|}}} | {{{lore3T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4T|}}} | {{{lore4T}}} | {{{lore5T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
  {{
{{
+
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{lore4T|}}} | {{{lore4T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore3T|}}} | {{{lore3T}}} | {{{lore5T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
  #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>{{ #if: {{{lore4T|}}} | {{{lore4T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore3T|}}} | {{{lore3T}}} | {{{lore5T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
  }}{{
}}{{
+
    #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{lore5T|}}} | {{{lore5T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4T|}}} | {{{lore4T}}} | {{{lore3T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
  #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>{{ #if: {{{lore5T|}}} | {{{lore5T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore4T|}}} | {{{lore4T}}} | {{{lore3T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
  }}
}}
+
  </tr> }}
</tr> }}
+
  <tr class="images">
<tr class="images">
+
   {{
{{
 
  #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 
   | {{
 
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 
     || <td>[[File:{{PAGENAME: {{{image2}}} }}|thumb|center|{{{cap2}}}]]</td>
 
     || <td>[[File:{{PAGENAME: {{{image2}}} }}|thumb|center|{{{cap2}}}]]</td>
 
   }}
 
   }}
}}
+
  <td>[[File:{{PAGENAME: {{{image3}}} }}|thumb|center|{{{cap3}}}]]</td>
<td>[[File:{{PAGENAME: {{{image3}}} }}|thumb|center|{{{cap3}}}]]</td>
+
  {{
{{
+
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>[[File:{{PAGENAME: {{{image4}}} }}|thumb|center|{{{cap4}}}]]</td>
  #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} | <td>[[File:{{PAGENAME: {{{image4}}} }}|thumb|center|{{{cap4}}}]]</td>
+
  }}{{
}}{{
+
    #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>[[File:{{PAGENAME: {{{image5}}} }}|thumb|center|{{{cap5}}}]]</td>
  #if: {{{name5|}}}{{{card_type5|}}}{{{lore5|}}}{{{lore5T|}}} | <td>[[File:{{PAGENAME: {{{image5}}} }}|thumb|center|{{{cap5}}}]]</td>
+
  }}
}}
+
  </tr>
</tr>
 
 
}}
 
}}
 
{{
 
{{

Revision as of 13:15, 29 June 2013

Original First Erratum
{{{name0}}} {{{name1}}}
{{{card_type0}}} {{{card_type1}}}
{{{lore0}}} {{{lore1}}}
{{{lore0T}}} {{{lore1T}}}
[[File:|thumb|center|{{{cap0}}}]] [[File:|thumb|center|{{{cap1}}}]]