Template:Italics after/doc

From 'City of Adelaide' History and Genealogy Site
Revision as of 02:20, 18 December 2013 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template takes two parameters, a string S and a number N; it adds italic markup to S, except for the first N characters. It will work correctly only if the N+1th character is a space (and may also be subject to length and character set restrictions).

This is used as a subtemplate of {{Italic title prefixed}}.

Example

These two examples produce different results:
  • {{Italics after|123 456789|3}}123 Expression error: Unrecognised punctuation character "{".
  • {{Italics after|123456789|3}}123 Expression error: Unrecognised punctuation character "{".


See also