Template:Nav buttons/inner: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<ul>
<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      }}
</ul>
</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example:
Example:
{{Nav buttons
{{Nav buttons
  | image= waterwijzer100px.png
  | image=   waterwijzer100px.png
  | link= Waterwijzer Module
  | link=     Waterwijzer Module
  | size=  50x50px
 
  | 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