Template:FirstLine: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>'''First Line:''' {{Cat|First Lines (English)|{{#multireplace:{{{1}}}{{!}}/[!"#&,-:;?]/ui=}}<br> }}</includeonly><noinclude><!--
<includeonly>'''First Line:''' {{Cat|First Lines (English)|{{:#multireplace:{{{1}}}{{!}}/[!"#&,-:;?]/ui=}}<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:59, 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: ! " # & , - : ; ?