(Created page with "<noinclude> This is the "Paragraph formatter" template. It should be called in the following format: <pre> {{Paragraph formatter |Page name= }} </pre> Edit the page to see the...")
|
(Zie JIRA-issue EMT-829.)
|
||
(38 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 5: | Regel 6: | ||
{{Paragraph formatter |
{{Paragraph formatter |
||
|Page name= |
|Page name= |
||
+ | |Paragraph number= |
||
+ | |Paragraph subheading= |
||
+ | |Paragraph collapsible= |
||
+ | |Paragraph= |
||
}} |
}} |
||
</pre> |
</pre> |
||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
− | </noinclude><includeonly> |
+ | </noinclude><includeonly> |
− | ! |
+ |
<!--
|
− | + |
Paragraph number = {{{2|}}} |
|
− | |} |
+ |
Paragraph = {{{5|}}}
|
+ | |||
+ | {{Field formatter|{{{5|}}}}} |
||
+ | |||
+ | {{#if:{{{3|}}}|'''{{{3}}}'''<br>}}{{{5|}}} |
||
+ | |||
+ | {{#vardefine:varCollapsible|{{{4|}}} }} |
||
+ | |||
+ | Paragraph collapsible = {{#var:varCollapsible}} |
||
+ | |||
+ | {{#ifeq: {{#var:varCollapsible}} | Ja | Ja | Nee }} |
||
+ | --> |
||
+ | {{#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.