Changes

Jump to: navigation, search
fix property names when no series name is given
{{IfSemantics#varexists: $smw || {{ #vardefine: $smw | {{ #if: {{ #set: }} || 1 }} }} }}<!-- standard implementation-->{{ #vardefine: $ctaama-type | {{ #arraymapifeq: {{{1type}}} | , Episode | episode | chapter }} }}<!---->{{ #vardefine: $x$ ctaama-series | {{{series|}}} }}<!-- -->{{ #ifvardefine: $ctaama-series-property | {{ #posvar: $x$ ctaama-series | ]] DM }} }}<!-- | $x-->{{ #vardefine: $ | [[Yuctaama-Giseries-Oh! suffix | {{ #if: {{{seriesseries_page_suffix|}}} | {{ #explode: {{{seriesseries_page_suffix|}}} | ( }} - | {{{type}}series|} $x$|$x$]] }}
}}
}}<!---->{{ #arraydefine: @ctaama-episodes | {{{1|}}} | , }}{{ #arrayunique: @ctaama-episodes }}{{#arrayprint: @ctaama-episodes | ,&#32;| $episode| [[{{ #ifexpr: {{ #len: $episode }} < 4 | Yu-Gi-Oh! {{#var: $ctaama-series-suffix }} - {1{{type}}}}} $episode|$episode]]{{ #if: {{ #var: $smw }} * 35 < 1000 | {{ #set: {{ #var: $ctaama-series-property }} {{ #var: $ctaama-type }} appearances (linked) | [[{{ #ifexpr: {{ #len: $episode }} < 4 | Yu-Gi-Oh! {{ #ifvar: $ctaama-series-suffix }} - {{{series|type}}}}} $episode| $episode]] }}[[{{#var: $ctaama-series-property }} {series{ #var: $ctaama-type }}appearances::$episode| ]] }} }} <!--** Get the earlier date of all appearances **# Get the first item in the list-->{{ #vardefine: $ctaama- first | {{ #explode: {{{type1}}} | , }}}} <!--# Get its page-->{{#vardefine: $ctaama-first-page | {{ #replaceifexpr: {{ #replacelen: {{{1#var: $ctaama-first }}}}< 4 | , {{trim| @], [$Yu-Gi-Oh! {{ #ifvar: $ctaama-series-suffix }}}} - {{{series|type}}}{{ #var: $ctaama-first }} | {{{series#var: $ctaama-first }} } }}} <!--# Get its release date-->{{ #vardefine: $ctaama-first- date| {{#show: {type{ #var: $ctaama-first-page }} |?{{ #ifeq: {{{series}}}&| Capsule Monsters | English air date | {{ #ifeq: {{ #32; var: $ctaama-type }}| episode | $ Japanese air date | [Japanese release date
}}
}}#ISO }}}}<!--# If there is no previously-declared debut date, set this as the debut date-->{{ #vardefine: $debut_date | {{ #var: $debut_date | @ {{ #var: $ctaama-first-date | ]unknown }} }} }}<!--# Otherwise compare the two dates to see which came first. If previously-declared debut date is unknown, we can't compare. -->{{ #ifeq: {{ #var: $debut_date }} | unknown| | {{ #ifexpr: {{ #time: U | {{ #var: $ctaama-first-date }} }} < {{ #time: U | {{ #var: $debut_date }} }}]] | {{#vardefine: $debut_date | {1{ #var: $ctaama-first-date }}}}
}}
}}{{<!-- #if: {{{extra|}}} | , {{{extra}}}[[Category:Anime and manga appearances transclusions using extra|{{PAGENAME}}{{NAMESPACE}}]]}}{{ #if: {{{extra2|}}} | , {{{extra2}}}[[Category:Anime and manga appearances transclusions using extra2|{{PAGENAME}}{{NAMESPACE}}]]}}--><noinclude>
{{Documentation}}
</noinclude>

Navigation menu