Sjabloon:Paragraph formatter: verschil tussen versies

(Undo revision 727 by Hans (talk))
(Zie JIRA-issue EMT-829.)
 
(33 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 number=
|Paragraph
+
|Paragraph subheading=
  +
|Paragraph collapsible=
  +
|Paragraph=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 14: Regel 17:
 
Paragraph number = {{{2|}}}
 
Paragraph number = {{{2|}}}
   
Paragraph = {{{3|}}}
+
Paragraph = {{{5|}}}
   
{{Field formatter|{{{3|}}}}}
+
{{Field formatter|{{{5|}}}}}
  +
 
  +
{{#if:{{{3|}}}|'''{{{3}}}'''<br>}}{{{5|}}}
  +
 
  +
{{#vardefine:varCollapsible|{{{4|}}} }}
  +
 
  +
Paragraph collapsible = {{#var:varCollapsible}}
  +
 
  +
{{#ifeq: {{#var:varCollapsible}} | Ja | Ja | Nee }}
 
-->
 
-->
{{{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>

Huidige versie van 22 dec 2017 om 15:21

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.

HZ University of Applied Sciences
Rijkswaterstaat, Ministerie van Infrastructuur en Milieu
Projectbureau Zeeweringen
Waterschap Scheldestromen
Provincie Zeeland
Deltares