(Created page with "<noinclude> This is the "Show paragraphs" template. It should be called in the following format: <pre> {{Show paragraphs }} </pre> Edit the page to see the template text. </no...")
|
k (1 versie geïmporteerd: Importeren dump EMont-core hzportfolio-wiki 4 december 2015)
|
||
(78 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
− | This is the " |
+ | [[Category:EMont core]] |
+ | This is the "Paragraphs show" template. |
||
It should be called in the following format: |
It should be called in the following format: |
||
<pre> |
<pre> |
||
− | {{Show |
+ | {{Paragraphs show
|
+ | |Page name= |
||
+ |
|Show heading=
|
||
+ | |userparam= |
||
}} |
}} |
||
</pre> |
</pre> |
||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
− | </noinclude><includeonly>{| |
+ | </noinclude><includeonly><div style="display:none;">
|
− | |} |
+ |
{{#vardefine:varPaginanaam|{{#if: {{{Page name|}}}| {{{Page name}}} | {{#if: {{{1|}}}| {{{1}}} | {{PAGENAME}} }} }} }}
|
− | </includeonly> |
+ |
{{#vardefine:varModelnaam|{{#show: {{#var:varPaginanaam}} | ?Model link | link=none | default={{#var:varPaginanaam}} }} }}
|
+ | {{#vardefine:varShowHeading|{{{Show heading|}}}}} |
||
+ | {{#vardefine:varUserparam|{{{userparam|}}}}} |
||
+ |
{{#ifeq:{{#var:varUserparam}}|Show heading|{{#vardefine:varShowHeading|Ja}}}} |
||
+ | </div>{{#ifeq:{{#var:varShowHeading}}|Ja| |
||
+ | <big>''{{#show: {{#var:varModelnaam}} | ?Heading nl}} ''</big> |
||
+ | }}{{#ask:[[Paragraph back link::{{#var:varModelnaam}}]] [[Paragraph language::Dutch||Dutch-English]] |
||
+ | | ?Paragraph number |
||
+ | | ?Paragraph subheading |
||
+ | | ?Paragraph collapsible |
||
+ | | ?Paragraph |
||
+ | | sort=Paragraph number |
||
+ | | order=ascending |
||
+ | | format=template |
||
+ | | template=Paragraph formatter |
||
+ | <!--| default=''Geen alinea's.''--> |
||
+ |
}}</includeonly> |
This is the "Paragraphs show" template. It should be called in the following format:
{{Paragraphs show |Page name= |Show heading= |userparam= }}
Edit the page to see the template text.