Template:Lorem ipsum/p-end-cond

From Vigyanwiki
< Template:Lorem ipsum
Revision as of 19:37, 14 November 2021 by wikipedia>GKFX (Reduce expansion depth)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template documentation

Conditional paragraph end. Generates an p-tag if needed, depending on prefix and join:

  • nothing, in the case of joins;
  • nothing, where prefix metacharacters are present like (*, #, or :) which must sit in column 1, don't acquire begin-p tags, and therefore don't need an end p-tag;
  • an end p-tag after the lorem paragraph emitted last, in other cases.

Usage

{{Lorem ipsum/p-end-cond|prefix|join}}

[[Category:Template documentation pages{{#translation:}}]]