Difference between revisions of "Template:If lang"
Line 1: | Line 1: | ||
{{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}|{{{1|}}}|{{{2|/{{SUBPAGENAME}}}}}|}}<noinclude> | {{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}|{{{1|}}}|{{{2|/{{SUBPAGENAME}}}}}|}}<noinclude> | ||
− | * | + | * If ''subpagename'' equals ''basepagename'', {{tl|if lang}} will output nothing. |
− | + | * If ''subpagename'' equals ''ru'' or ''fr'', {{tl|if lang}} will output, by default, <code><nowiki>/{{SUBPAGENAME}}</nowiki></code>. | |
− | + | * Parameters: {{{1}}} for English, {{{2}}} for language subpages. | |
[[Category:Language templates|If lang]] | [[Category:Language templates|If lang]] | ||
</noinclude> | </noinclude> |