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}}}|/[!"#&,-:;?]/ui=}}<br></includeonly><noinclude><!--
<includeonly>'''First Line:''' {{{1}}}<br></includeonly><noinclude><!--
-->
-->
This template copies the text in the first parameter, and strips the punctuation marks from it before displaying.
This template copies the text in the first parameter.


'''Syntax:'''
'''Syntax:'''
:<tt>{{tl|FirstLine|<text>}</tt>
:<tt><nowiki>{{FirstLine|<text>}}</nowiki></tt> &nbsp; &nbsp; Result: '''First Line''': <text>,
::followed by a line break.


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 04:12, 2 May 2016

This template copies the text in the first parameter.

Syntax:

{{FirstLine|<text>}}     Result: First Line: <text>,
followed by a line break.