Template:Lorem ipsum/p-end-cond: Difference between revisions
Jump to navigation
Jump to search
Template documentation
wp>GKFX (Reduce expansion depth) |
RandomUser34 (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 19:13, 29 November 2022
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
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}}
TemplateStyles' src
attribute must not be empty.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |