Template:Lorem ipsum/p-end-cond

From BoyWiki
Revision as of 01:45, 2 June 2022 by Etenne (talk | contribs) (Created page with "{{#ifeq: {{{2|{{{join|no}}}}}} | yes | | {{#switch: {{#invoke:string|sub|x{{{1|}}}|2|2}} | : | # | * = | #default = </p><!-- -->}} }}<noinclude>{{Documentation |content= 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 (<code>*</code>, <code>#</code>, or <code>:</code>) which must sit in column 1, don't acquire begin-p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

BoyWiki Template documentation (for the above template, sometimes hidden or invisible)

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}}

Edit this page to edit this template's description!
Done making changes?   Refresh   Also see:  Portal:Template index  and   Help:Templates