Difference between revisions of "Template:P"
Jump to navigation
Jump to search
m (Administrator moved page Template:Para to Template:P without leaving a redirect) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | |||
This template is recommended to be used whenever a literature paragraph is needed. | This template is recommended to be used whenever a literature paragraph is needed. | ||
+ | = Paragraph points to a simple question = | ||
+ | == Parameters == | ||
<code>p</code> - name of template, stands for paragraph<br> | <code>p</code> - name of template, stands for paragraph<br> | ||
<code>first</code> - number of the paragraph<br> | <code>first</code> - number of the paragraph<br> | ||
− | <code>second | + | <code>second</code> - the actual text of the paragraph<br> |
− | |||
− | |||
− | |||
== Usage == | == Usage == | ||
<code><nowiki>{{p|7|This is the actual paragraph text.}}</nowiki></code> | <code><nowiki>{{p|7|This is the actual paragraph text.}}</nowiki></code> | ||
Line 15: | Line 13: | ||
= Paragraph points to a complex question = | = Paragraph points to a complex question = | ||
+ | == Parameters == | ||
+ | <code>p</code> - name of template, stands for paragraph<br> | ||
+ | <code>first</code> - number of the paragraph<br> | ||
+ | <code>second</code> - number of paragraphs related to the question that is linked to this paragraph. An example would be <code>7-8</code> or <code>10-13</code><br> | ||
+ | <code>third</code> - the actual text of the paragraph<br> | ||
== Usage == | == Usage == | ||
<code><nowiki>{{p|7|7-8|This is the actual paragraph text.}}</nowiki></code> | <code><nowiki>{{p|7|7-8|This is the actual paragraph text.}}</nowiki></code> |
Revision as of 06:25, 27 March 2020
This template is recommended to be used whenever a literature paragraph is needed.
Contents
Paragraph points to a simple question
Parameters
p
- name of template, stands for paragraph
first
- number of the paragraph
second
- the actual text of the paragraph
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.
Paragraph points to a complex question
Parameters
p
- name of template, stands for paragraph
first
- number of the paragraph
second
- number of paragraphs related to the question that is linked to this paragraph. An example would be 7-8
or 10-13
third
- the actual text of the paragraph
Usage
{{p|7|7-8|This is the actual paragraph text.}}
Action
It will automatically link paragraph 7 to a question that links itself to paragraphs 7 and 8.