Content deleted Content added
TheDemon08 (talk | contribs) m 4 revisions imported |
TheDemon08 (talk | contribs) No edit summary Tag: 2017 source edit |
||
Line 1:
<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>
|