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='{{#if:{{{fontsize|}}}|font-size:{{{fontsize|}}}|}}'> | ||
{{nav button |image={{{image|}}} |size={{{size|}}} |text={{{link|}}} |link={{{link|}}} }} | {{nav button |image={{{image|}}} |size={{{size|}}} |text={{{link|}}} |link={{{link|}}} }} | ||
{{nav button |image=getting_started_button.png |size={{{size|}}} |text=Tutorials |link=Waterwijzer Module getting started }} | {{nav button |image=getting_started_button.png |size={{{size|}}} |text=Tutorials |link=Waterwijzer Module getting started }} | ||
Line 6: | Line 6: | ||
{{nav button |image=theory_button.png |size={{{size|}}} |text=Theory |link=Waterwijzer Module theory }} | {{nav button |image=theory_button.png |size={{{size|}}} |text=Theory |link=Waterwijzer Module theory }} | ||
{{nav button |image=benchmarks_button.png |size={{{size|}}} |text=Benchmarks |link=Waterwijzer Module benchmarks }} | {{nav button |image=benchmarks_button.png |size={{{size|}}} |text=Benchmarks |link=Waterwijzer Module benchmarks }} | ||
</ | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Example: | Example: | ||
{{Nav buttons | {{Nav buttons | ||
| image= waterwijzer100px.png | | image= waterwijzer100px.png | ||
| link= | | link= Waterwijzer Module | ||
| size= | |||
| size= 80x80px | |||
| fontsize= 1.5em | |||
}} | }} | ||
Line 21: | Line 23: | ||
* size: Size of the images | * size: Size of the images | ||
* fontsize: Size of the text | |||
Style here: | Style here: | ||
[[MediaWiki:Common.css]] | [[MediaWiki:Common.css]] | ||
</noinclude> | </noinclude> |
Revision as of 12:46, 8 October 2020
Example:
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