Vorlage:Lorem ipsum/p-end-cond: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Böhrer (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „43 years old Real House Representative Rey Murry from Lacombe, has lots of pursuits that include microscopy, android and kayaking. Recently took some time to g…“) |
Böhrer (Diskussion | Beiträge) (Reduce expansion depth) |
||
Zeile 1: | Zeile 1: | ||
{{#ifeq: {{{2|{{{join|no}}}}}} | yes | |||
| | |||
| {{#switch: {{#invoke:string|sub|x{{{1|}}}|2|2}} | |||
| : | # | * = | |||
| #default = </p><!-- | |||
-->}} | |||
}}<noinclude>{{Documentation |content= | |||
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 (<code>*</code>, <code>#</code>, or <code>:</code>) 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 == | |||
{{tlc|Lorem ipsum/p-end-cond|''prefix''|''join''}} | |||
}}</noinclude> |
Version vom 14. November 2021, 15:07 Uhr
Skriptfehler: Ein solches Modul „Documentation“ ist nicht vorhanden.