Difference between revisions of "Template:Errata table"

From Yugipedia
Jump to: navigation, search
(if a given card detail was not errata'd in one of the errata in a particular row, don't show that card detail's row (if that makes any sense =X ); "Errata" --> "Erratum"; display all details for the original and first erratum here by default)
(fix when a card's type is errata'd between the original and first errata, and the card has a second erratum)
Line 24: Line 24:
 
<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|}}} | <td>{{ #if: {{{card_type2|}}} | {{{card_type2}}} | <span class="original">{{ #replace: {{ #replace: {{ #if: {{{card_type1|}}} | {{{card_type1}}} | {{{card_type0}}} }} | ''' }} | '' }}</span> }}</td>
 
}}
 
}}
 
</tr> }}
 
</tr> }}

Revision as of 07:16, 29 June 2013

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