(Nieuwe pagina aangemaakt met '<noinclude> This is the "Sidebar section" template. It should be called in the following format (comma separated lists are allowed): <pre> {{Sidebar section |param1...')
|
(Zie JIRA-issue EMT-829.)
|
||
(7 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
+ | [[Category:EMont core]] |
||
This is the "Sidebar section" template. |
This is the "Sidebar section" template. |
||
− | It should be called in the following format |
+ | It should be called in the following format: |
<pre> |
<pre> |
||
{{Sidebar section |
{{Sidebar section |
||
− | | |
+ | |icon = <the data-icon, defined in stylesheet> |
− | | |
+ | |title = <te title of the section>
|
+ |
|content = <the section content as comma separated lists> |
||
}} |
}} |
||
</pre> |
</pre> |
||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
− | + | <div class="sidenav"> |
|
+ | <h3 class="sidenav__title icon icon--{{{icon|}}}">{{{title|}}}</h3> |
||
+ | <ul class="sidenav__list"> |
||
+ | {{#arraymaptemplate:{{{content|}}}|Sidebar link|,|\n}} |
||
+ | </ul> |
||
+ | </div> |
||
</includeonly> |
</includeonly> |
This is the "Sidebar section" template. It should be called in the following format:
{{Sidebar section |icon = <the data-icon, defined in stylesheet> |title = <te title of the section> |content = <the section content as comma separated lists> }}
Edit the page to see the template text.