Template:FirstLine: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''First Line:''' {{#multireplace:{{{1}}}|/[!"#&,-:;?]/ui=| | <includeonly>'''First Line:''' {{#multireplace:{{{1}}}|/[!"#&,-:;?]/ui=|{{Cat|First Lines (English)|$1}} }}<br></includeonly><noinclude><!-- | ||
--> | --> | ||
This template copies the text in the first parameter, and strips the punctuation marks from it before displaying. The page is then added to "Category:First Lines (English). | This template copies the text in the first parameter, and strips the punctuation marks from it before displaying. The page is then added to "Category:First Lines (English). |
Revision as of 15:42, 29 April 2016
This template copies the text in the first parameter, and strips the punctuation marks from it before displaying. The page is then added to "Category:First Lines (English).
Syntax:
- {{tl|FirstLine|<text>}
These are the marks removed: ! " # & , - : ; ?