Difference between revisions of "Template:Lw"

From Conservapedia
Jump to navigation Jump to search
(try again)
(try again)
Line 1: Line 1:
 
{{#ifeq:{{{2|+}}}|{{{2|-}}}
 
{{#ifeq:{{{2|+}}}|{{{2|-}}}
−
|{{#ifexist:{{{1}}}|[[{{{1}}}]]|[https://en.wikipedia.org/wiki/{{#replace:{{{1}}}| |_}} {{{1}}}]}}
+
|{{#ifexist:{{{1}}}|[[{{{1}}}]]|[https://en.wikipedia.org/wiki/{{#replace:{{{1}}}||_}} {{{1}}}]}}
−
|{{#ifexist:{{{1}}}|[[{{{1}}}]]|[https://en.wikipedia.org/wiki/{{#replace:{{{1}}}| |_}}]}}
+
|{{#ifexist:{{{1}}}|[[{{{1}}}]]|[https://en.wikipedia.org/wiki/{{#replace:{{{1}}}||_}}]}}
 
}}<noinclude>
 
}}<noinclude>
 
;This template tests for a local link and, if it does not exist, then it falls back to the English Wikipedia link.
 
;This template tests for a local link and, if it does not exist, then it falls back to the English Wikipedia link.
 
</noinclude>
 
</noinclude>

Revision as of 23:01, December 2, 2016

[1]

This template tests for a local link and, if it does not exist, then it falls back to the English Wikipedia link.