Template:Lorem ipsum/pb-cond

From BoyWiki
Revision as of 01:51, 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> <p><!-- --> }} }}<noinclude></p>{{Documentation |content= Conditional paragraph break. Generates correct content between lorem paragraphs, depending on ''prefix'' and ''join'': * a single space in the case of joins * an inverted p-tag pair between paragraphs where needed * nothing at all for prefix metacharacters like (<code>*<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Conditional paragraph break. Generates correct content between lorem paragraphs, depending on prefix and join:

  • a single space in the case of joins
  • an inverted p-tag pair between paragraphs where needed
  • nothing at all for prefix metacharacters like (*, #, or :) which must sit in column 1.

Usage

{{Lorem ipsum/pb-cond|prefix|join}}

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