(Zie JIRA-issue EMT-829.)
|
|||
(6 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> |
|title = <te title of the section> |
||
|content = <the section content as comma separated lists> |
|content = <the section content as comma separated lists> |
||
Regel 10: | Regel 12: | ||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
− | <div class=" |
+ | <div class="sidenav"> |
− | <h3 |
+ | <h3 class="sidenav__title icon icon--{{{icon|}}}">{{{title|}}}</h3> |
− | <ul> |
+ | <ul class="sidenav__list"> |
{{#arraymaptemplate:{{{content|}}}|Sidebar link|,|\n}} |
{{#arraymaptemplate:{{{content|}}}|Sidebar link|,|\n}} |
||
</ul> |
</ul> |
||
</div> |
</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.