Difference between revisions of "Template:Italics after/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Gonnym
 
Line 13: Line 13:
 
== See also ==
 
== See also ==
 
*{{tl|Italics correction}}
 
*{{tl|Italics correction}}
*{{tl|Talk header italics}}
 
  
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
 
[[Category:String manipulation templates|Italics After]]
 
[[Category:String manipulation templates|Italics After]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 20:15, 13 November 2020

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