Open main menu

Changes

Template:P

1,463 bytes added, 13:20, 19 April 2020
no edit summary
|| <div style="text-align:justify;text-indent: 40px;">[[#question7-8|<sup id="paragraph7">7</sup>]] This is the actual paragraph text.</div> || {{p|7|7-8|This is the actual paragraph text.}}
|}
= Paragraph with no question === Parameters ==<code>nq</code> - no question<br><code>second</code> - actual paragraph<br>== Usage ==<code><nowiki>{{p|nq|This is the actual paragraph text.}}</nowiki></code><br>It will create a paragraph without the indent showing the number of the question and without any link to any question.== Tests == {| class="wikitable"|-! Code !! Expected !! Actual|-|<code><nowiki>{{p|nq|This is the actual paragraph text.}}</nowiki></code><br> || <div style="text-align:justify;text-indent:40px;">This is the actual paragraph text.</div> || {{p|nq|This is the actual paragraph text.}}|}= Continuation of a paragraph to the next page === Parameters ==<code>c</code> - no question<br><code>second</code> - paragraph continuation<br>== Usage ==<code><nowiki>{{p|c|this is the continuation of the paragraph text.}}</nowiki></code><br>It will create a continuation of the paragraph from the previous page. This continuation will not be indented.== Tests == {| class="wikitable"|-! Code !! Expected !! Actual|-|<code><nowiki>{{p|c|This is the continuation of the paragraph text.}}</nowiki></code><br> || <div style="text-align:justify;">This is the continuation of the paragraph text.</div> || {{p|c|This is the continuation of the paragraph text.}}|} </noinclude><includeonly>{{#ifeq: {{{1}}}|c|<div style="text-align:justify;">{{{2}}}</div>|{{#ifeq: {{{1}}} | nq | <div style="text-align:justify;text-indent:40px;">{{{2}}}</div> | {{#if: {{{3|}}}|<div style="text-align:justify;text-indent:40px;">[[#question{{{2}}}|<sup id="paragraph{{{1}}}">{{{1}}}</sup>]] {{{3}}}</div>|<div style="text-align:justify;text-indent:40px;">[[#question{{{1}}}|<sup id="paragraph{{{1}}}">{{{1}}}</sup>]] {{{2}}}</div>}} }}|}}</includeonly>