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

From blackwiki
Jump to navigation Jump to search
imported>Martin of Sheffield
(→‎Usage: Link to ills)
imported>Martin of Sheffield
(→‎Usage: Rephrase to allow the use of tl)
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
This template adds an information banner to assist readers in understanding [[template:Interlanguage link|Interlanguage links]].  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.

Revision as of 19:16, 26 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.