Difference between revisions of "Template:Q"
Jump to navigation
Jump to search
(→Tests) |
|||
Line 29: | Line 29: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <div id="question{{{ | + | <div id="question{{{1}}}"> |
− | [[#paragraph{{{ | + | [[#paragraph{{{1}}}|{{{1}}} {{{2}}}]] |
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 04:36, 1 April 2020
q
- stands for Question
This template is recommended to be used whenever a literature question is needed.
Contents
Parameters
first
- number of the question.
second
- the actual text of the question.
One question - one paragraph
Usage
{{q|25|Isn't this nice?}}
Example action
It will automatically link the question to the 25 paragraph.
One question - multiple paragraphs
Comming soon ...
Tests
One question - one paragraph
Code:
{{q|25|Isn't this nice?}}
Expected:
Actual: