Difference between revisions of "Template:PrintFirstParagraph"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is used to extract the first paragraph from a given text. If the first paragraph of the text is longer than 1000 characters, only the first 997 characters are returned, and a <code><nowiki>...</nowiki></code> is added.
+
This template is used to extract the first paragraph from a given text. If the first paragraph of the text is longer than 1000 characters, only the first 997 characters are returned, and a <code><nowiki>&#201;</nowiki></code> is added.
  
 
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely returns them.
 
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely returns them.

Revision as of 23:54, 14 March 2018

This template is used to extract the first paragraph from a given text. If the first paragraph of the text is longer than 1000 characters, only the first 997 characters are returned, and a É is added.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely returns them.

Parameters:

  • |vartext= - the text to extract the first paragraph from.