Template:Lang: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(fixed namespace stacking in links. galaxy brain.)
(fixed namespace-less english pages showing the english icon)
Line 15: Line 15:
-If they do not match, show the English link, cause this is NOT the English page.
-If they do not match, show the English link, cause this is NOT the English page.
We're not going to test if the English page exists or not. It damn well better.
We're not going to test if the English page exists or not. It damn well better.
-->{{#ifeq: {{{1}}} | {{NAMESPACE}}:{{PAGENAME}} | | '''[[File:En.png|alt=English|link={{{1}}}]]''' }}<!--
-->{{#ifeq: {{{1}}} | {{ARTICLEPAGENAME}} | | '''[[File:En.png|alt=English|link={{{1}}}]]''' }}<!--


Other languages are a little more complex:
Other languages are a little more complex:

Revision as of 14:07, 19 August 2018

English