Difference between revisions of "Template:P"

From En JW United
Jump to navigation Jump to search
Line 25: Line 25:
  
 
{{#if: {{{3|}}}  
 
{{#if: {{{3|}}}  
| <div style="text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[#question{{{2}}}|<sup id="paragraph{{{1}}}">{{{1}}}</sup>]] {{{3}}}</div> |
+
| <div style="text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[#question{{{2}}}|<sup id="paragraph{{{1}}}">{{{1}}}</sup>]] {{{3}}}</div>
<div style="text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[#question{{{1}}}|<sup id="paragraph{{{1}}}">{{{1}}}</sup>]] {{{2}}</div>
+
| <div style="text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[#question{{{1}}}|<sup id="paragraph{{{1}}}">{{{1}}}</sup>]] {{{2}}}</div>
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 05:28, 27 March 2020

Usage

This template is recommended to be used whenever a literature paragraph is needed.

p - name of template, stands for paragraph
first - number of the paragraph
second - the question number or numbers that points to
third - the actual text of the paragraph

Paragraph points to a simple question

Usage

{{p|7|This is the actual paragraph text.}}

Action

It will automatically link paragraph 7 to a question that links itself only paragraph 7.

Întrebare cu un singur paragraf

{{paragraf|întrebarea=7|paragraful=7|conținut=Conținutul paragrafului}}

Întrebare cu mai multe paragrafe

{{paragraf|întrebarea=5-7|paragraful=5|conținut=Conținutul paragrafului}}