Difference between revisions of "User:Telinchei/Test3 Templates"

From EVE University Wiki
Jump to: navigation, search
m (frustration)
(the tocrights?)
Line 1: Line 1:
 
{{#ifexist: User:Telinchei | I know this guy, on this wiki he lives at {{{1}}} and he's awesome | sadface :( I cannot find {{{1}}} }}
 
{{#ifexist: User:Telinchei | I know this guy, on this wiki he lives at {{{1}}} and he's awesome | sadface :( I cannot find {{{1}}} }}
__NOTOC__ <!-- jeez, this is a sandbox, but oh well computers are dumb and must be told everything precisely-->
+
 
 +
__NOTOC__
 +
 
 +
<!-- jeez, this is a sandbox, but oh well computers are dumb and must be told everything precisely...
 +
wait, what? the toc templates... the tocright templates...-->
 
==="#ifexist[edit | edit source]"===
 
==="#ifexist[edit | edit source]"===
 
[https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23ifexist This function takes an input string, interprets it as a page title, and returns one of two values depending on whether or not the page exists on the local wiki.]
 
[https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23ifexist This function takes an input string, interprets it as a page title, and returns one of two values depending on whether or not the page exists on the local wiki.]
 
<nowiki>{{#ifexist: page title | value if exists | value if doesn't exist }}</nowiki>
 
<nowiki>{{#ifexist: page title | value if exists | value if doesn't exist }}</nowiki>
 +
 +
__NOTOC__
  
 
{{#ifexist: User:Telinchei/Test3 Templates
 
{{#ifexist: User:Telinchei/Test3 Templates
     | {{tocright}}{{{{#ifeq: {{NAMESPACE}} | {{ns:Template}} |
+
     | <!--{{tocright}}-->{{{{#ifeq: {{NAMESPACE}} | {{ns:Template}} |
 
                     | :{{NAMESPACE:{{{1|{{FULLPAGENAME}}}}}}}:
 
                     | :{{NAMESPACE:{{{1|{{FULLPAGENAME}}}}}}}:
 
                     }}{{ #if: {{{1|}}} | {{PAGENAME:{{{1}}}}} | {{PAGENAME}}/doc}} }}
 
                     }}{{ #if: {{{1|}}} | {{PAGENAME:{{{1}}}}} | {{PAGENAME}}/doc}} }}

Revision as of 05:21, 2 September 2015

I know this guy, on this wiki he lives at {{{1}}} and he's awesome


"#ifexist[edit | edit source]"

This function takes an input string, interprets it as a page title, and returns one of two values depending on whether or not the page exists on the local wiki. {{#ifexist: page title | value if exists | value if doesn't exist }}


if you see this the transcluder is working properly.

if you see this the transcluder is working properly.