Template:Nav buttons/inner: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div class='nav-button-container' style='{{#if:{{{fontsize|}}}|font-size:{{{fontsize|}}}|}}'>
<div class='nav-button-container'>
{{nav button |image={{{image|}}}              |size={{{size|}}} |text={{{link|}}} |link={{{link|}}}                        }}
{{nav button |image={{{image|}}}              |width={{{width|}}} | fontsize= 1.5em |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 |width={{{width|}}} | fontsize= 1.5em |text=Tutorials  |link=Waterwijzer Module getting started }}
{{nav button |image=Overview_button.png        |size={{{size|}}} |text=Overview    |link=Waterwijzer Module overview        }}
{{nav button |image=Overview_button.png        |width={{{width|}}} | fontsize= 1.5em |text=Overview    |link=Waterwijzer Module overview        }}
{{nav button |image=theory_button.png          |size={{{size|}}} |text=Theory      |link=Waterwijzer Module theory          }}
{{nav button |image=theory_button.png          |width={{{width|}}} | fontsize= 1.5em |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      |width={{{width|}}} | fontsize= 1.5em |text=Benchmarks  |link=Waterwijzer Module benchmarks      }}
</div>
</div>
</includeonly>
</includeonly>
Line 14: Line 14:
  | link=    Waterwijzer Module
  | link=    Waterwijzer Module


  | size=     100x100px
  | width=   8em
  | fontsize= 1.5em
  | fontsize= 1.5em
}}
}}

Revision as of 13:12, 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