FANDOM


Line 2: Line 2:
 
<title source="name"><default>{{PAGENAME}}</default></title>
 
<title source="name"><default>{{PAGENAME}}</default></title>
 
<image source="image"/>
 
<image source="image"/>
{{#if: {{{spoiler|}}}|
+
<data source="spoiler">
{{#switch: {{{spoiler}}}
+
<format>{{#switch: {{{spoiler}}}
|yes = {{Spoiler}}
+
| yes = {{Spoiler}}
|#default = {{{spoiler|}}} }} |}}
+
|#default = {{{spoiler|}}} }}</format>
  +
</data>
 
<group collapse="open">
 
<group collapse="open">
<header>General Info</header>
+
<header>General Info</header>
<data source="air-date"><label>'''Air Date'''</label></data>
+
<data source="air-date"><label>'''Air Date'''</label></data>
<data source="arc"><label>'''Arc'''</label></data>
+
<data source="arc"><label>'''Arc'''</label></data>
<data source="episode"><label>'''Episode'''</label></data>
+
<data source="episode"><label>'''Episode'''</label></data>
<data source="opening-song"><label>'''Opening Song'''</label></data>
+
<data source="opening-song"><label>'''Opening Song'''</label></data>
<data source="closing-song"><label>'''Closing Song'''</label></data>
+
<data source="closing-song"><label>'''Closing Song'''</label></data>
+
</group>
  +
<group layout="horizontal">
  +
<data source="previous">
  +
<default>{{ #ifeq: {{ #explode: {{PAGENAME}} || 1 }} | 01 || [[Episode {{ padleft: {{ #expr: {{ #explode: {{PAGENAME}} || 1 }} -1 }} | 2 | 0 }}]] {{ #ifeq: {{ #explode: {{PAGENAME}} || 1 }} | 22 || '''{{Pipe}}'''&#32; }} }}</default>
  +
<label></label>
  +
</data>
  +
<data source="next">
  +
<default>{{ #ifeq: {{ #explode: {{PAGENAME}} || 1 }} | 22 || [[Episode {{ padleft: {{ #expr: {{ #explode: {{PAGENAME}} || 1 }} +1 }} | 2 | 0 }}]] }}</default>
  +
<label></label>
  +
</data>
 
</group>
 
</group>
<group layout="horizontal">
 
<data source="previous"><default>{{ #ifeq: {{ #explode: {{PAGENAME}} || 1 }} | 01 || [[Episode {{ padleft: {{ #expr: {{ #explode: {{PAGENAME}} || 1 }} -1 }} | 2 | 0 }}]] {{ #ifeq: {{ #explode: {{PAGENAME}} || 1 }} | 22 || '''{{Pipe}}'''&#32; }} }}</default><label></label></data>
 
<data source="next"><default>{{ #ifeq: {{ #explode: {{PAGENAME}} || 1 }} | 22 || [[Episode {{ padleft: {{ #expr: {{ #explode: {{PAGENAME}} || 1 }} +1 }} | 2 | 0 }}]] }}</default><label></label></data>
 
</group>
 
 
</infobox>
 
</infobox>
<noinclude>
 
== Usage & preview ==
 
Type in this:
 
 
<pre>
 
{{Infobox character/Draft
 
|name=
 
|PAGENAME=
 
|image=
 
|spoiler=
 
|air date=
 
|episode=
 
|opening song=
 
|closing song=
 
}}
 
 
</pre>
 
 
to see this:
 
 
{{Infobox character/Draft
 
|name=This is a test
 
|PAGENAME=This is a test
 
|image=This is a test
 
|spoiler=This is a test
 
|air date=This is a test
 
|episode=This is a test
 
|opening song=This is a test
 
|closing song=This is a test
 
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
 
</noinclude>
 

Revision as of 18:25, September 4, 2016

Community content is available under CC-BY-SA unless otherwise noted.