Template:Interlanguage link info/sandbox: Difference between revisions

Content deleted Content added
Restore inadvertently dropped 'red' style. Factor out the 'like this' clause into common ending clause, and supply 'xx' as dummy code for the example if arg not supplied.
Make superscript linkable. This gives a blue, xx:# link to nowhere in the default case; that can be fixed later.
Line 5:
| sect = {{#ifeq:{{yesno|def=|1={{{sect|{{{section}}}}}} }}|yes|section|{{{sect|{{{section|{{{1|}}}}}}}}} }}
| text = contains numerous links to articles that do not exist yet, but which have counterparts in {{#if: {{ISO 639 name |fn=iso_639_code_exists | {{{lang|{{{2|}}}}}}}} | {{ucfirst: {{#language:{{{lang|{{{2|}}}}}}|en}}}} or [[List of Wikipedias#Detailed list|other language Wikipedias]]. | one or more [[List of Wikipedias#Detailed list|foreign language Wikipedias]].
}} These {{red|article links}} may be shown in {{red|red}}, with language codes in {{color|blue|<small>small blue letters</small>}} enclosed in brackets, {{red|like this}}.<sup>&#91;[[:{{blue{lang|{{{2|xx}}}}}}:#|{{{lang|{{{2|xx}}}}}}}}]]&#93;</sup> Click on the language code to see the page in that language.
}}<noinclude>
{{Documentation}}