Difference between revisions of "Template:Winlink test"
Jump to navigation
Jump to search
Rand Linden (talk | contribs) |
Rand Linden (talk | contribs) m |
||
Line 10: | Line 10: | ||
So article linked to is {{{1}}}{{#var:ext}} | So article linked to is {{{1}}}{{#var:ext}} | ||
Search for "/" in param: {{#rpos:{{{1}}}| | Search for "/" in param: {{#rpos:{{{1}}}|/}} | ||
Revision as of 10:23, 7 October 2010
[[Viewerhelp:{{{1}}}|{{{1}}}]]
Last 3 of param: }}}
Lang code is
Ext code is
So article linked to is {{{1}}}
Search for "/" in param: -1
If the lang code is equal to the last three characters of the article title (e.g. "/de"), then define var "ext" to be lang.