Template:Lorem ipsum/p-cond

From Wayne's Dusty Box of Words
< Template:Lorem ipsum
Revision as of 10:56, 8 February 2022 by Wprecht (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq: no | yes

 | 
 | {{#switch:String Module Error: String subset index out of range
     | : | # | * = 

| #default =

}} }}

{{#if:Conditional paragraph begin. Generates a begin 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;
  • a begin p-tag before the first lorem paragraph, in other cases.

Usage

{{Lorem ipsum/p-cond|prefix|join}}| [[Category:Template documentation pages{{#translation:}}]] }}