Template:Lorem ipsum/p-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>{{Documentation |content= 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 (<code>*</code>, <code>#</code>, or <code>:</code>) which must sit in column 1; * a begin p..." |
(No difference)
|
Latest revision as of 01:44, 2 June 2022
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}}
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

