Content added Content deleted
imported>TheDemon08 (Created page with "<includeonly>{{Com/{{{1}}}}}{{#if:{{#var:table}}|{{Ep/table|{{{2|}}}}}|{{#if:{{{2|}}}| <small>{{#ifeq:{{{2|}}}|m|(mentioned)|{{{2}}}}}</small>}}}}</includeonly>") |
TheDemon08 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><!-- |
|||
<includeonly>{{Com/{{{1}}}}}{{#if:{{#var:table}}|{{Ep/table|{{{2|}}}}}|{{#if:{{{2|}}}| <small>{{#ifeq:{{{2|}}}|m|(mentioned)|{{{2}}}}}</small>}}}}</includeonly> |
|||
Leading Bold |
|||
{{#if: {{#pos:{{{1|}}}{{{2|}}}|'''}}||'''}}--><!-- |
|||
Actual Template |
|||
-->{{#replace:{{#if: {{#pos:{{{1}}}|—}}{{#pos:{{{1}}}|[}}{{#pos:{{lc:{{{1}}}}}|cnst}} |
|||
|<!--Contains something that the template doesn't like-->{{{1}}} |
|||
|<!--Otherwise-->{{#if: {{#pos:{{{1}}}|Vol}} |
|||
|<!--Contains Vol-->{{#if: {{#pos:{{{1}}}|#}} |
|||
|<!--Contains # and Vol-->[[{{#replace:{{{1}}}|#}}|{{#if: {{{2|}}} |{{{2}}} |''{{#sub:{{#explode:{{{1}}}|Vol}}|0}}'' (Volume {{#explode:{{#explode:{{{1}}}|Vol|1}}| }}) #{{#explode:{{#explode:{{{1}}}|Vol|1}}|#|1}}}}]] |
|||
|<!--Doesn't Contain #, contains Vol-->[[{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|''{{#sub:{{#explode:{{{1}}}|Vol}}}}'' (Volume {{#explode:{{#explode:{{{1}}}|Vol|1}}| }}) #{{#if: {{#pos:{{#explode:{{{1}}}|Vol|1}}|:}}|{{#explode:{{#explode:{{{1}}}|Vol|1}}| |1}}{{#explode:{{{1}}}|:|-1}}|{{#explode:{{#explode:{{{1}}}|Vol|1}}| |1}}}}}}]] |
|||
}} |
|||
|<!--Doesn't Contain Vol-->{{#if: {{#pos:{{{1}}}|#}} |
|||
|<!--Contains #, not Vol-->[[{{#explode:{{{1}}}| #|0}} Vol 1 {{#explode:{{{1}}}| #|1}}|{{#if:{{{2|}}}|{{{2}}}|''{{#explode:{{{1}}}|#}}'' #{{#explode:{{{1}}}|#|1}}}}]] |
|||
|<!--Doesn't Contain #, Vol-->''[[{{{1}}}]]'' |
|||
}} |
|||
}} |
|||
}}|(Volume 1) #|#}}<!-- |
|||
Trailing Bold |
|||
{{#if: {{#pos:{{{1|}}}{{{2|}}}|'''}}||'''}}--></includeonly><noinclude> |
|||
[[Category:Templates|{{PAGENAME}}]] __NOTOC__ __NOEDITSECTION__ </noinclude> |