Difference between revisions of "Template:Errata table"

From Yugipedia
Jump to: navigation, search
(fix when a card's type is errata'd between the original and first errata, and the card has a second erratum)
(if a card has three errata, display them two-by-two (here's hoping this works =C ))
Line 1: Line 1:
<table class="wikitable card-errata {{ #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} || twocolumn }}">
+
<table class="wikitable card-errata {{ #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} | {{ #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}} || twocolumn }} | twocolumn }}">
 
{{
 
{{
 
   #if: {{{1|}}}
 
   #if: {{{1|}}}
Line 9: Line 9:
 
{{
 
{{
 
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
   | <th scope="col">Second Erratum</th>
+
   | {{
 +
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
    | <th scope="col">Second Erratum</th>
 +
  }}
 
}}
 
}}
 
</tr>
 
</tr>
Line 17: Line 20:
 
{{
 
{{
 
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
   | <td>{{ #if: {{{name2|}}} | {{{name2}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name1|}}} | {{{name1}}} | {{{name0}}} }} | ''' }} | '' }}</span> }}</td>
+
   | {{
 +
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
    | <td>{{ #if: {{{name2|}}} | {{{name2}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{name1|}}} | {{{name1}}} | {{{name0}}} }} | ''' }} | '' }}</span> }}</td>
 +
  }}
 
}}
 
}}
 
</tr> }}
 
</tr> }}
Line 24: Line 30:
 
<td>{{ #if: {{{card_type1<includeonly>|</includeonly>}}} | {{{card_type1}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type0|}}} | {{{card_type0}}} | {{{card_type2}}} }} | ''' }} | '' }}</span> }}</td>
 
<td>{{ #if: {{{card_type1<includeonly>|</includeonly>}}} | {{{card_type1}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type0|}}} | {{{card_type0}}} | {{{card_type2}}} }} | ''' }} | '' }}</span> }}</td>
 
{{
 
{{
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} | <td>{{ #if: {{{card_type2|}}} | {{{card_type2}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type1|}}} | {{{card_type1}}} | {{{card_type0}}} }} | ''' }} | '' }}</span> }}</td>
+
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 +
  | {{
 +
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
    | <td>{{ #if: {{{card_type2|}}} | {{{card_type2}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type1|}}} | {{{card_type1}}} | {{{card_type0}}} }} | ''' }} | '' }}</span> }}</td>
 +
  }}
 
}}
 
}}
 
</tr> }}
 
</tr> }}
Line 31: Line 41:
 
<td>{{ #if: {{{lore1<includeonly>|</includeonly>}}} | {{{lore1}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore0|}}} | {{{lore0}}} | {{{lore2}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 
<td>{{ #if: {{{lore1<includeonly>|</includeonly>}}} | {{{lore1}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore0|}}} | {{{lore0}}} | {{{lore2}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 
{{
 
{{
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} | <td>{{ #if: {{{lore2|}}} | {{{lore2}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore1|}}} | {{{lore1}}} | {{{lore0}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 +
  | {{
 +
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
    | <td>{{ #if: {{{lore2|}}} | {{{lore2}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore1|}}} | {{{lore1}}} | {{{lore0}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
  }}
 
}}
 
}}
 
</tr> }}
 
</tr> }}
Line 38: Line 52:
 
<td>{{ #if: {{{lore1T<includeonly>|</includeonly>}}} | {{{lore1T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore0T|}}} | {{{lore0T}}} | {{{lore2T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 
<td>{{ #if: {{{lore1T<includeonly>|</includeonly>}}} | {{{lore1T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore0T|}}} | {{{lore0T}}} | {{{lore2T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 
{{
 
{{
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} | <td>{{ #if: {{{lore2T|}}} | {{{lore2T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore1T|}}} | {{{lore1T}}} | {{{lore0T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
+
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 +
  | {{
 +
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
    | <td>{{ #if: {{{lore2T|}}} | {{{lore2T}}} | <span class="original">{{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #if: {{{lore1T|}}} | {{{lore1T}}} | {{{lore0T}}} }} | ''' }} | '' }} | <del> }} | </del> }} | <ins> }} | </ins> }}</span> }}</td>
 +
  }}
 
}}
 
}}
 
</tr> }}
 
</tr> }}
Line 45: Line 63:
 
<td>[[File:{{PAGENAME: {{{image1}}} }}|thumb|center|{{{cap1}}}]]</td>
 
<td>[[File:{{PAGENAME: {{{image1}}} }}|thumb|center|{{{cap1}}}]]</td>
 
{{
 
{{
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}} | <td>[[File:{{PAGENAME: {{{image2}}} }}|thumb|center|{{{cap2}}}]]</td>
+
   #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 +
  | {{
 +
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
    | <td>[[File:{{PAGENAME: {{{image2}}} }}|thumb|center|{{{cap2}}}]]</td>
 +
  }}
 
}}
 
}}
 
</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|}}}
 +
    || <th scope="col">Second Erratum</th>
 +
  }}
 +
}}
 
<th scope="col">Third Erratum</th>
 
<th scope="col">Third Erratum</th>
 
{{
 
{{
Line 65: Line 94:
 
</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|}}}
 +
    || <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>
 
{{
 
{{
Line 73: Line 109:
 
</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|}}}
 +
    || <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>
 
{{
 
{{
Line 81: Line 124:
 
</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|}}}
 +
    || <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>
 
{{
 
{{
Line 89: Line 139:
 
</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|}}}
 +
    || <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>
 
{{
 
{{
Line 97: Line 154:
 
</tr> }}
 
</tr> }}
 
<tr class="images">
 
<tr class="images">
 +
{{
 +
  #if: {{{name2|}}}{{{card_type2|}}}{{{lore2|}}}{{{lore2T|}}}
 +
  | {{
 +
    #if: {{{name4|}}}{{{card_type4|}}}{{{lore4|}}}{{{lore4T|}}}
 +
    || <td>[[File:{{PAGENAME: {{{image2}}} }}|thumb|center|{{{cap2}}}]]</td>
 +
  }}
 +
}}
 
<td>[[File:{{PAGENAME: {{{image3}}} }}|thumb|center|{{{cap3}}}]]</td>
 
<td>[[File:{{PAGENAME: {{{image3}}} }}|thumb|center|{{{cap3}}}]]</td>
 
{{
 
{{

Revision as of 07:51, 29 June 2013

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