Difference between revisions of "Template:Chapter"

From Yugipedia
Jump to: navigation, search
(cleanup and simplify code some)
(Update to use Module:Chapter)
(Tag: Replaced)
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{
+
<includeonly>{{ #invoke: Chapter | chapter }}</includeonly><noinclude>{{Documentation}}</noinclude>
  #switch: {{{3|}}}
 
  | ref      = ''{{{1|}}}'' {{
 
    #switch: {{{1|}}}
 
    | 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
 
  }} {{{2|}}}{{IfSemantics
 
    |: "{{ #ask: [[Chapter series::{{{1|}}}]][[English chapter number::{{{2|}}}]] |?Translated Japanese chapter name |?English chapter name |link=none |format=template |template=PipeLink }}"
 
  }}{{ #if: {{{page|}}} | , page #{{{page}}} }}{{ #if: {{{4|}}} | <nowiki>;</nowiki> {{{4}}} }}
 
  | number  = {{IfSemantics
 
    | {{ #ask: [[Chapter series::{{{1|}}}]][[English chapter number::{{{2|}}}]] |?English chapter number |link=none |format=template |template=PipeLink }}
 
    | {{{2|}}}
 
  }}
 
  | numbers  = {{IfSemantics
 
    | {{ #ask: [[Chapter series::{{{1|}}}]][[English chapter number::{{{2|}}}]] |?English chapter number |?Japanese chapter number |link=none |format=template |template=Chapter/numbers }}
 
    | {{{2|}}}
 
  }}
 
  | #default = {{IfSemantics
 
    | {{ #ask: [[Chapter series::{{{1|}}}]][[English chapter number::{{{2|}}}]] |?Translated Japanese chapter name |?English chapter name |link=none |format=template |template=PipeLink }}
 
    | ''{{{1|}}}'' {{
 
      #switch: {{{1|}}}
 
      | 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
 
    }} {{{2|}}}
 
  }}
 
}}</includeonly><noinclude>
 
 
 
{{documentation}}
 
 
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 21:16, 20 December 2023