close
Sayahna Sayahna
Search

Template:Silr/nbdoc


SILR inline templates require initial and final brackets '(.....)'. When grouping two or more templates, editors can avoid brackets appearing inside the group by means of the nb parameter.

  1. If nb= r, the right bracket will be replaced with a semicolon followed by a space.
  2. If nb= l (lower-case 'L'), the left bracket will be omitted.
  3. The values nb = lr or rl combine both effects.

The coding interprets correctly upper-case 'L' and 'R' if inserted by mistake.

Editors may prefer to use a {{Silrnote}} to hold all the references and so keep the in-line reference really short.

Use with the Bible-reference templates {{Silrnt}}, {{Silrot}} and {{Silrdc}}

By including the number '2' as the first element of nb, the repetition of the name of the book will be avoided thus condensing consecutive references. For example,

Text {{Silrnt|Joh| 1:1|nb=r}}{{Silrnt|Joh|1:18|nb=2}} gives
Text (Jn 1:1; 1:18)

Note the use of nb=r in the preceding reference to avoid the final bracket after the first reference!