Template:Lorem ipsum/p-cond
From Wayne's Dusty Box of Words
{{#ifeq: no | yes
| | {{#switch:String Module Error: String subset index out of range | : | # | * =
| #default =
}} }}
Template documentation
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}}
{{#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:}}]]
}}