Template:Lorem ipsum/pb-cond: Difference between revisions
From Black Cat Studios
Jump to navigationJump to search
(Created page with "{{#ifeq: {{{2|{{{join|no}}}}}} | yes | | {{#switch: {{#invoke:string|sub|x{{{1|}}}|2|2}} | : | # | * = | #default = </p> <p><!-- --> }} }}<noinclude></p>{{Documentation |content= Conditional paragraph break. Generates correct content between lorem paragraphs, depending on ''prefix'' and ''join'': * a single space in the case of joins * an inverted p-tag pair between paragraphs where needed * nothing at all for prefix metacharacters like (<code>*<...") |
(No difference)
|
Latest revision as of 04:14, 19 June 2023
Conditional paragraph break. Generates correct content between lorem paragraphs, depending on prefix and join:
- a single space in the case of joins
- an inverted p-tag pair between paragraphs where needed
- nothing at all for prefix metacharacters like (
*,#, or:) which must sit in column 1.
Usage
{{Lorem ipsum/pb-cond|prefix|join}}