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

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

Revision as of 22:40, 25 April 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