(Zie JIRA-issue EMT-829.)
|
|||
(30 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
+ | [[Category:EMont core]] |
||
This is the "Paragraph formatter" template. |
This is the "Paragraph formatter" template. |
||
It should be called in the following format: |
It should be called in the following format: |
||
Regel 19: | Regel 20: | ||
{{Field formatter|{{{5|}}}}} |
{{Field formatter|{{{5|}}}}} |
||
+ | |||
+ | {{#if:{{{3|}}}|'''{{{3}}}'''<br>}}{{{5|}}} |
||
+ | |||
+ | {{#vardefine:varCollapsible|{{{4|}}} }} |
||
+ | |||
+ | Paragraph collapsible = {{#var:varCollapsible}} |
||
+ | |||
+ | {{#ifeq: {{#var:varCollapsible}} | Ja | Ja | Nee }} |
||
--> |
--> |
||
− | {{#if:{{{3}}}| |
+ | {{#vardefine:varCollapsible|{{{4|}}}}}{{#ifeq:{{#var:varCollapsible}}|Ja|<div class="toccolours mw-collapsible mw-collapsed"> |
+ | == {{{3|}}} == |
||
+ | <div class="mw-collapsible-content"> |
||
+ | {{{5|}}} |
||
+ | </div> |
||
+ | </div> |
||
+ |
|{{#if:{{{3|}}} |
||
+ | |== {{{3|}}} ==
|
||
+ |
{{{5|}}} |
||
+ |
|{{{5|}}} }} }} |
||
</includeonly> |
</includeonly> |
This is the "Paragraph formatter" template. It should be called in the following format:
{{Paragraph formatter |Page name= |Paragraph number= |Paragraph subheading= |Paragraph collapsible= |Paragraph= }}
Edit the page to see the template text.