Template:LanguageSelector/IfPageExists

From "PTTLink Wiki"
< Template:LanguageSelector
Revision as of 08:47, 21 January 2022 by Kg7qin (talk | contribs) (Created page with "<onlyinclude>{{#ifeq:{{lc:{{{{{page}}}}}}}|{{lc:[[:{{{page}}}]]}}|{{{else}}}|{{{then}}}}}</onlyinclude> Tests whether {{codef|1=|{{!}}page}} contains the name of an existing...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{then}}}

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

This function ignores capitalization.