Template:Nav buttons/inner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class='nav-button-container' style='color: {{ #if:{{{{{theme|}}}}} | | {{{{{theme|}}}|text-color}} }};'> | <div class='nav-button-container' style='color: {{ #if:{{{{{theme|}}}}} | | {{{{{theme|}}}|text-color}} }};'> | ||
{{nav button | | {{nav button |color={{{color|}}} |image={{{image|}}} | text={{{link|}}} |link={{{link|}}} }} | ||
{{nav button | | {{nav button |color={{{color|}}} |image=getting_started_button.png | text=Tutorials |link={{{link|}}} getting started }} | ||
{{nav button | | {{nav button |color={{{color|}}} |image=Overview_button.png | text=Overview |link={{{link|}}} overview }} | ||
{{nav button | | {{nav button |color={{{color|}}} |image=theory_button.png | text=Theory |link={{{link|}}} theory }} | ||
{{nav button | | {{nav button |color={{{color|}}} |image=benchmarks_button.png | text=Benchmarks |link={{{link|}}} benchmarks }} | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Line 13: | Line 13: | ||
| image= waterwijzer100px.png | | image= waterwijzer100px.png | ||
| link= Waterwijzer Module | | link= Waterwijzer Module | ||
| color= {{Aerius theme|color}} | |||
| theme= aerius theme | | theme= aerius theme | ||
}} | }} | ||
Line 19: | Line 20: | ||
| image= waterwijzer100px.png | | image= waterwijzer100px.png | ||
| link= Waterwijzer Module | | link= Waterwijzer Module | ||
| | |||
| theme= | | theme= | ||
}} | }} |
Revision as of 11:01, 14 December 2020
Example with theme:
Example without theme:
Example in nav element:
Parameters:
- image: The image to use for the first button
- link: Main article of the subject matter
- size: Size of the images
- fontsize: Size of the text
Style here: MediaWiki:Common.css