Template:If lang

From Team Fortress Wiki
Revision as of 09:58, 11 August 2010 by Seb26 (talk | contribs) (Created page with '{{#switch:{{{logic|}}} | no | n | 0 | false = {{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}|{{{1}}}||}} | yes | y | 1 | true | #default = {{#ifeq:{{SUBPAGENAME}}|{{BASEPAGENAME}}||{{…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Provides an output if the page in question is a language subpage.
  • To reverse the logic, use logic = false.
  • Handy for instances where you need to provide an output if there is a subpage. If you need to provide an output on a specific subpage, see {{lang}}.