1,278
edits
Changes
Created page with "<noinclude> <code>q</code> - stands for '''Question'''<br> This template is recommended to be used whenever a literature question is needed. == Parameters == <code>first</cod..."
<noinclude>
<code>q</code> - stands for '''Question'''<br>
This template is recommended to be used whenever a literature question is needed.
== Parameters ==
<code>first</code> - number of the question.<br>
<code>second</code> - the actual text of the question.<br>
= One question - one paragraph =
== Usage ==
<code><nowiki>{{q|25|Isn't this nice?}}</nowiki></code>
=== Example action ===
It will automatically link the question to the 25 paragraph.
= One question - multiple paragraphs =
Comming soon ...
</noinclude>
<includeonly>
<div id="question{{{kérdés száma}}}">
[[#paragraph{{{bekezdés}}}|{{{kérdés}}} {{{kérdés száma}}}.]]
</div>
</includeonly>
= Tests =
== One question - one paragraph ==
Code:<br>
<code><nowiki>{{q|25|Isn't this nice?}}</nowiki></code>
Expected:
<div id="question25">
[[#paragraph25|{{{Isn't this nice?}}} ]]
</div>
Actual:
{{q|25|Isn't this nice?}}<br>
<code>q</code> - stands for '''Question'''<br>
This template is recommended to be used whenever a literature question is needed.
== Parameters ==
<code>first</code> - number of the question.<br>
<code>second</code> - the actual text of the question.<br>
= One question - one paragraph =
== Usage ==
<code><nowiki>{{q|25|Isn't this nice?}}</nowiki></code>
=== Example action ===
It will automatically link the question to the 25 paragraph.
= One question - multiple paragraphs =
Comming soon ...
</noinclude>
<includeonly>
<div id="question{{{kérdés száma}}}">
[[#paragraph{{{bekezdés}}}|{{{kérdés}}} {{{kérdés száma}}}.]]
</div>
</includeonly>
= Tests =
== One question - one paragraph ==
Code:<br>
<code><nowiki>{{q|25|Isn't this nice?}}</nowiki></code>
Expected:
<div id="question25">
[[#paragraph25|{{{Isn't this nice?}}} ]]
</div>
Actual:
{{q|25|Isn't this nice?}}<br>