Difference between revisions of "Template:Italics after"

From EUSwiki
Jump to: navigation, search
m (Changed protection level for "Template:Italics after": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:21, 9 February 2019

{{{1}}}

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

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+1st 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 456789
  • {{Italics after|123456789|3}}123 56789

See also