17,774
edits
Changes
rewrite same as I did for {{Volume}} a while back
<includeonly><span class="citation">{{ #switchvardefine: $template:chapter-release | {{ lc: {{{3|1}}}}} | ref = <cite>}}{{{1#vardefine: $template:chapter-release |}}}</cite> {{ #switchif: {{ #pos: {{1#var: $template:chapter-release }} |duelist }}} | Yu-Gi-Oh! | Yu-Gi-Oh! Duelist | Yu-Gi-Oh! Millennium World = Duel | Yu-Gi-Oh! R = Duel Round | Yu-Gi-Oh! 5D's = Ride | Yu-Gi-Oh! ZEXAL = Rank | {{ #default = Chapter }} if: {{#pos: {{2#var: $template:chapter-release }} |millennium world }}}{{IfSemantics| Millennium World | <nowiki/>{{ #if: "{{ #ask: [[Chapter series:pos:{{{1|}}}]][[English chapter number#var:$template:{{{2|}chapter-release }}]] |?Translated Japanese chapter name |?English chapter name |link=none |format=template |template=PipeLink gx }}" | GX }} | {{ #if: {{ #pos: {{page#var: $template:chapter-release }} |5d }}} | 5D's | , page {{ #if: {{#pos: {{page}#var: $template:chapter-release }} | zexal }} | ZEXAL | {{ #if: {{ #pos: {{4|}#var: $template:chapter-release }} | <nowiki>;</nowiki> {{{4}}} arc }} | ARC-V | number = {{IfSemantics | #if: {{ #askpos: [[Chapter series{{ #var:$template:{{{1chapter-release }} | r }} |R }} }} }]][[English chapter number::{{{2|} }}]] |?English chapter number |link=none |format=template |template=PipeLink }} | {{{2|}}}
}}
}}
}}
| {{ #switch: {{ lc: {{{3}}} }} | number | numbers = {{{2}}} | #default = <cite>Yu-Gi-Oh! {{ #var: $template:chapter-release }}</cite> {{ #var: $template:chapter-chapter-name }} {{{2}}}{{ #if: {{{page|}}} | , page #{{{page}}} }}{{ #if: {{{4|}}} | {{;}} {{{4}}} }} }}}}</span></includeonly><noinclude> {{documentation}}</noinclude>