×
Create a new article
Write your page title here:
We currently have 30 articles on Ghost Machine Wiki. Type your article name above or create one of the articles listed here!



    Ghost Machine Wiki

    Template:Com: Difference between revisions

    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>")
     
    No edit summary
     
    Line 1: Line 1:
    <includeonly><!--
    <includeonly>{{Com/{{{1}}}}}{{#if:{{#var:table}}|{{Ep/table|{{{2|}}}}}|{{#if:{{{2|}}}|&nbsp;<small>{{#ifeq:{{{2|}}}|m|(mentioned)|{{{2}}}}}</small>}}}}</includeonly>

    Leading Bold
    {{#if: {{#pos:{{{1|}}}{{{2|}}}|'''}}||'''}}--><!--


    Actual Template
    -->{{#replace:{{#if: {{#pos:{{{1}}}|&mdash;}}{{#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>

    Latest revision as of 02:08, 20 April 2024

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.