Template:Merge: Difference between revisions

From VNDev Wiki
okay, this isn't perfect but should serve just fine for the foreseeable future
i'm going to keep coming back to this to make improvements, aren't i. made it so you don't get a bunch of [[]]s if you don't list 4 articles to be merged with.
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|image = [[File:Merge-arrows.png]]
|image = [[File:Merge-arrows.png]]
|text  = {{#if:{{{1|}}}
|text  = {{#if:{{{1|}}}
     |{{#if:{{{target|}}}
     |{{#if:{{{target|{{{to|}}}}}}
       |It has been suggested that this page or section be merged with [[{{{1|}}}]] [[{{{2|}}}]] [[{{{3|}}}]] [[{{{4|}}}]] to ''[[{{{target}}}]]''.
       |It has been suggested that this page or section be merged with [[{{{1|}}}]] {{#if:{{{2|}}}|[[{{{2|}}}]]|}} {{#if:{{{3|}}}|[[{{{3|}}}]]|}} {{#if:{{{4|}}}|[[{{{4|}}}]]|}} to ''[[{{{target|{{{to|}}}}}}]]''.
       |It has been suggested that this page or section be merged with [[{{{1|}}}]] [[{{{2|}}}]] [[{{{3|}}}]] [[{{{4|}}}]].
       |It has been suggested that this page or section be merged with [[{{{1|}}}]] {{#if:{{{2|}}}|[[{{{2|}}}]]|}} {{#if:{{{3|}}}|[[{{{3|}}}]]|}} {{#if:{{{4|}}}|[[{{{4|}}}]]|}}.
       }}
       }}
     |{{#if:{{{target|}}}
     |{{#if:{{{target|{{{to|}}}}}}
       |It has been suggested that this page or section be merged to ''[[{{{target}}}]]''.
       |It has been suggested that this page or section be merged to ''[[{{{target|{{{to}}}}}}]]''.
       |It has been suggested that this page or section be merged.
       |It has been suggested that this page or section be merged.
       }}
       }}

Latest revision as of 18:21, 18 July 2024