Difference between revisions of "Template:Interlanguage link info/doc"

From blackwiki
Jump to navigation Jump to search
imported>Martin of Sheffield
(Mention abbreviated name.)
imported>Michael Bednarek
(show small example; unlink self.)
 
Line 4: Line 4:
 
== Usage ==
 
== Usage ==
 
This template adds an information banner to assist readers in understanding a {{tl|Interlanguage link}}.  Up to two parameters may be supplied:
 
This template adds an information banner to assist readers in understanding a {{tl|Interlanguage link}}.  Up to two parameters may be supplied:
 +
 
=== Section ===
 
=== Section ===
 
The first (and only) unnamed parameter, <code>|sec=</code> and <code>|section=</code> 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".
 
The first (and only) unnamed parameter, <code>|sec=</code> and <code>|section=</code> 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 ===
 
=== Small ===
 
By default the message is displayed across the width of the page.  If <code>|small=left</code> 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.
 
By default the message is displayed across the width of the page.  If <code>|small=left</code> 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.
 +
{{Interlanguage link info|section|small=left}}
  
 
==See also==
 
==See also==
* {{tl|ill-info}} which links to {{tl|Interlanguage link info}}.
+
* {{tl|ill-info}} which links to {{tlf|Interlanguage link info}}.

Latest revision as of 02:01, 27 June 2020

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}}.