Template:Lorem ipsum/p-cond: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
(Reduce expansion depth) |
||
Line 1: | Line 1: | ||
{{#ifeq: {{{2|{{{join|no}}}}}} | yes | {{#ifeq: {{{2|{{{join|no}}}}}} | yes | ||
| | | | ||
| {{#switch: {{ | | {{#switch: {{#invoke:string|sub|x{{{1|}}}|2|2}} | ||
| : | # | * = | | : | # | * = | ||
| #default = <p><!-- | | #default = <p><!-- |
Revision as of 15:06, 14 November 2021
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}}