count_paragraphs

Top  Previous  Next

This is used to count the number of paragraphs in a variable.

Example:

Input:

       This is a test paragraph.

       The next paragraph

Template:

       {#article|count_paragraphs#}

Output:

       2