Difference between revisions of "Template:Appear ep"

From Detective Conan Wiki
m (^^;)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[{{{link|{{{2|}}}}}}|'''Episode {{{1|}}}''': {{{2}}}{{#if:{{{part|}}}|<nowiki> </nowiki>(Part {{{part}}})}}{{#if:{{{note|}}}|<nowiki> </nowiki><font size=1; color=black>('''Note:''' {{{note}}})</font>}}]]</includeonly><noinclude>
+
<includeonly>[[{{{link|{{{2|}}}}}}|'''Episode {{{1|}}}''': {{{2}}}{{#if:{{{part|}}}|{{#iferror:{{#expr:{{{part|}}}}}|<nowiki> </nowiki>({{{part}}})|<nowiki> </nowiki>(Part {{{part}}})}}}}{{#if:{{{note|}}}|<nowiki> </nowiki><font size=1; color=black>('''Note:''' {{{note}}})</font>}}]]</includeonly><noinclude>
 
== Parameters ==
 
== Parameters ==
 
# Episode number
 
# Episode number
 
# Episode title
 
# Episode title
 
# link = Linked article (defaults to episode title)
 
# link = Linked article (defaults to episode title)
# part = Part number (optional)
+
# part = Part number or Part name (optional)
 
# note = Note text (optional)
 
# note = Note text (optional)
  
Line 10: Line 10:
 
=== Normal ===
 
=== Normal ===
 
<pre>{{appear ep|1|Roller Coaster Murder Case}}</pre>
 
<pre>{{appear ep|1|Roller Coaster Murder Case}}</pre>
{{appear ep|1|Roller Coaster Murder Case}}
+
[[Roller Coaster Murder Case|'''Episode 1''': Roller Coaster Murder Case{{#if:|<nowiki> </nowiki>(Part {{{part}}})}}{{#if:|<nowiki> </nowiki><font size=1; color=black>('''Note:''' {{{note}}})</font>}}]]
  
 
=== part= ===
 
=== part= ===
<pre>{{appear ep|759|The Unexpected Result of a Romance Novel|part=1}}</pre>
+
<pre>{{appear ep|759|The Romance Novel with the Unexpected Conclusion|part=1}}</pre>
{{appear ep|759|The Unexpected Result of a Romance Novel|part=1}}
+
[[The Romance Novel with the Unexpected Conclusion|'''Episode 759''': The Romance Novel with the Unexpected Conclusion{{#if:1|<nowiki> </nowiki>(Part 1)}}{{#if:|<nowiki> </nowiki><font size=1; color=black>('''Note:''' {{{note}}})</font>}}]]
 +
<pre>{{appear ep|701|The Jet-Black Mystery Train|part=Departure}}</pre>
 +
[[The Jet-Black Mystery Train|'''Episode 701''': The Jet-Black Mystery Train (Departure)]]
  
 
=== link= and note= ===
 
=== link= and note= ===
<pre>{{appear ep|756|The Tragedy of the Red Woman (Revenge)|link=The Tragedy of the Red Woman|note=Photograph}}</pre>
+
<pre>{{appear ep|783|The Scarlet Truth|link=The Scarlet Return|note=Flashback}}</pre>
{{appear ep|756|The Tragedy of the Red Woman (Revenge)|link=The Tragedy of the Red Woman|note=Photograph}}
+
[[The Scarlet Return|'''Episode 783''': The Scarlet Truth{{#if:|<nowiki> </nowiki>(Part {{{part}}})}}{{#if:Flashback|<nowiki> </nowiki><font size=1; color=black>('''Note:''' Flashback)</font>}}]]
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 12:44, 11 June 2020

Parameters

  1. Episode number
  2. Episode title
  3. link = Linked article (defaults to episode title)
  4. part = Part number or Part name (optional)
  5. note = Note text (optional)

Example

Normal

{{appear ep|1|Roller Coaster Murder Case}}

Episode 1: Roller Coaster Murder Case

part=

{{appear ep|759|The Romance Novel with the Unexpected Conclusion|part=1}}

Episode 759: The Romance Novel with the Unexpected Conclusion (Part 1)

{{appear ep|701|The Jet-Black Mystery Train|part=Departure}}

Episode 701: The Jet-Black Mystery Train (Departure)

link= and note=

{{appear ep|783|The Scarlet Truth|link=The Scarlet Return|note=Flashback}}

Episode 783: The Scarlet Truth (Note: Flashback)