https://wiki.conworkshop.com/w/Template:Lorem_ipsum/p-end-cond/history?feed=atom&
Template:Lorem ipsum/p-end-cond - Revision history
2024-03-29T04:44:05Z
Revision history for this page on the wiki
MediaWiki 1.37.1
https://wiki.conworkshop.com/index.php?title=Template:Lorem_ipsum/p-end-cond&diff=63395&oldid=prev
Alynnidalar: 1 revision imported
2022-07-14T15:29:37Z
<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:29, 14 July 2022</td>
</tr>
<!-- diff cache key wiki-mw_:diff::1.12:old-63394:rev-63395 -->
</table>
Alynnidalar
https://wiki.conworkshop.com/index.php?title=Template:Lorem_ipsum/p-end-cond&diff=63394&oldid=prev
en>GKFX: Reduce expansion depth
2021-11-14T14:07:57Z
<p>Reduce expansion depth</p>
<p><b>New page</b></p><div>{{#ifeq: {{{2|{{{join|no}}}}}} | yes <br />
| <br />
| {{#switch: {{#invoke:string|sub|x{{{1|}}}|2|2}}<br />
| : | # | * = <br />
| #default = </p><!--<br />
-->}}<br />
}}<noinclude>{{Documentation |content=<br />
Conditional paragraph end. Generates an p-tag if needed, depending on ''prefix'' and ''join'':<br />
* nothing, in the case of joins;<br />
* 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;<br />
* an end p-tag after the lorem paragraph emitted last, in other cases.<br />
<br />
== Usage ==<br />
{{tlc|Lorem ipsum/p-end-cond|''prefix''|''join''}}<br />
}}</noinclude></div>
en>GKFX