Difference between revisions of "Template:P"

From En JW United
Jump to navigation Jump to search
Line 23: Line 23:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 +
{{#if: {{{3}}} | complex | simple }}
 
<div style="text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[#question{{{întrebarea}}}|<sup id="paragraph{{{paragraful}}}">{{{paragraful}}}</sup>]] {{{conținut}}}</div>
 
<div style="text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[#question{{{întrebarea}}}|<sup id="paragraph{{{paragraful}}}">{{{paragraful}}}</sup>]] {{{conținut}}}</div>
 
</includeonly>
 
</includeonly>

Revision as of 05:15, 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}}