Difference between revisions of "Template:Interlanguage link info"

From blackwiki
Jump to navigation Jump to search
imported>Martin of Sheffield
(Dummy edit to flush cache)
imported>CarlJeezle
 
Line 3: Line 3:
 
   | small = {{#if:{{{sect|{{{section|{{{1|}}}}}}}}}|{{#if:{{{small|{{{left|}}}}}}|left}} }}
 
   | small = {{#if:{{{sect|{{{section|{{{1|}}}}}}}}}|{{#if:{{{small|{{{left|}}}}}}|left}} }}
 
   | sect = {{#ifeq:{{yesno|def=|1={{{sect|{{{section}}}}}} }}|yes|section|{{{sect|{{{section|{{{1|}}}}}}}}} }}
 
   | sect = {{#ifeq:{{yesno|def=|1={{{sect|{{{section}}}}}} }}|yes|section|{{{sect|{{{section|{{{1|}}}}}}}}} }}
   | text = contains numerous links to pages on [[List of Wikipedias#Detailed list|foreign language Wikpedias]].  They are shown as {{color|red|red links}} with the language codes in [{{color|blue|<small>small blue letters</small>}}] in brackets.  Click on the language code to see the page in that language.
+
   | text = contains numerous links to pages on [[List of Wikipedias#Detailed list|foreign language Wikipedias]].  They are shown as {{color|red|red links}} with the language codes in [{{color|blue|<small>small blue letters</small>}}] in brackets.  Click on the language code to see the page in that language.
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}  
 
{{Documentation}}  
 
</noinclude>
 
</noinclude>

Latest revision as of 04:25, 13 August 2020

Template documentation[view] [edit] [history] [purge]

Usage

This template adds an information banner to assist readers in understanding a {{Interlanguage link}}. Up to two parameters may be supplied:

Section

The first (and only) unnamed parameter, |sec= and |section= change the first words. By default they are "This page". If the parameter is "y" or "true" then the words will be "This section". Any other value simply replaces the word "article".

Small

By default the message is displayed across the width of the page. If |small=left is supplied then the box will be narrow on the left-hand side. This only works in sections, boxes applying to the whole page cannot be rendered small.

See also

  • {{ill-info}} which links to {{Interlanguage link info}}.