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.
User original text for "small" case.
 
(2 intermediate revisions by the same user not shown)
Line 4:
| small = {{#if:{{{sect|{{{section|{{{1|}}}}}}}}}|{{#if:{{{small|{{{left|}}}}}}|left}} }}
| sect = {{#ifeq:{{yesno|def=|1={{{sect|{{{section}}}}}} }}|yes|section|{{{sect|{{{section|{{{1|}}}}}}}}} }}
| text = contains numerous links to {{#if: {{{small|}}} | pages on foreign language Wikipedias. They are shown as {{red|red links}} with the language codes in <small>{{blue|small blue letters}}</small> in brackets. | 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]]. 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;[[:{{{lang|{{{2|xx}}}}}}:#|{{{lang|{{{2|xx}}}}}}]]&#93;</sup> | 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|xx}}&#93;</sup>
}} 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}}}}}}}}&#93;</sup> Click on the language code to see the page in that language.
}}<noinclude>
{{Documentation}}