Template:Lorem ipsum/pb-cond: Difference between revisions
From BoyWiki
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 01:51, 2 June 2022
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}}
Edit this page to edit this template's description!
Done making changes? Refresh Also see: Portal:Template index and Help:Templates
Done making changes? Refresh Also see: Portal:Template index and Help:Templates

