« Modèle:Lorem ipsum/p-end-cond » : différence entre les versions
De La documentation de La Raffinerie
(Reduce expansion depth) |
m (1 version importée) |
Dernière version du 16 juillet 2022 à 14:51
{{#ifeq: no | yes
| | {{#switch:String Module Error: String subset index out of range | : | # | * =
| #default =
}} }}<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation
Conditional paragraph end. Generates an 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, don't acquire begin-p tags, and therefore don't need an end p-tag; - an end p-tag after the lorem paragraph emitted last, in other cases.
Usage
{{Lorem ipsum/p-end-cond|prefix|join}}