Template:Lorem ipsum/p-cond: Difference between revisions
From Wayne's Dusty Box of Words
ll>GKFX (Reduce expansion depth) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 11:56, 8 February 2022
{{#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:}}]]
}}