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:''' {{#multireplace:{{{1}}}|/[&#33;&#34;&#35;&#38;&#44;&#45;&#58;&#59;&#63;]/ui=|i={{Cat|First Lines (English)|$1}}<br> }}</includeonly><noinclude><!--
<includeonly>'''First Line:''' {{#multireplace:{{{1}}}|/[!"#&,-:;?]/ui=|i={{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).
Line 5: Line 5:
'''Syntax:'''
'''Syntax:'''
:<tt>{{tl|FirstLine|<text>}</tt>
:<tt>{{tl|FirstLine|<text>}</tt>
These are the marks removed: <big> &#33; &#34; &#35; &#38; &#44; &#45; &#58; &#59; &#63; </big>


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 15:30, 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: ! " # & , - : ; ?