Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Telinchei/Test3 Templates: Difference between revisions

From EVE University Wiki
Telinchei (talk | contribs)
"#ifexist": idk what I was doing an hour ago
Telinchei (talk | contribs)
m "#ifexist": note about nesting tags
Line 9: Line 9:
[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>
While trying to sift through it and debug it,  take note of the nesting template tags (esp. <nowiki>}}</nowiki>)


===breaking stuff===
===breaking stuff===