Difference between revisions of "Template:LanguageSelector/IfPageExists"

From "PTTLink Wiki"
Jump to navigation Jump to search
(Created page with "<onlyinclude>{{#ifeq:{{lc:{{{{{page}}}}}}}|{{lc:[[:{{{page}}}]]}}|{{{else}}}|{{{then}}}}}</onlyinclude> Tests whether {{codef|1=|{{!}}page}} contains the name of an existing...")
 
(No difference)

Latest revision as of 08:47, 21 January 2022

{{{then}}}

Tests whether |page contains the name of an existing page, returns the content of |then or |else accordingly.

This function ignores capitalization.