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>
<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 |theme={{{theme|}}} |image={{{image|}}}              | text={{{link|}}} |link={{{link|}}}                }}
{{nav button |theme={{{theme|}}} |image={{{image|}}}              | size=50x50px | text={{{link|}}} |link={{{link|}}}                }}
{{nav button |theme={{{theme|}}} |image=getting_started_button.png | text=Tutorials  |link={{{link|}}} getting started }}
{{nav button |theme={{{theme|}}} |image=getting_started_button.png | size=50x50px | text=Tutorials  |link={{{link|}}} getting started }}
{{nav button |theme={{{theme|}}} |image=Overview_button.png        | text=Overview    |link={{{link|}}} overview        }}
{{nav button |theme={{{theme|}}} |image=Overview_button.png        | size=50x50px | text=Overview    |link={{{link|}}} overview        }}
{{nav button |theme={{{theme|}}} |image=theory_button.png          | text=Theory      |link={{{link|}}} theory          }}
{{nav button |theme={{{theme|}}} |image=theory_button.png          | size=50x50px | text=Theory      |link={{{link|}}} theory          }}
{{nav button |theme={{{theme|}}} |image=benchmarks_button.png      | text=Benchmarks  |link={{{link|}}} benchmarks      }}
{{nav button |theme={{{theme|}}} |image=benchmarks_button.png      | size=50x50px | text=Benchmarks  |link={{{link|}}} benchmarks      }}
</div>
</div>
</includeonly>
</includeonly>

Revision as of 09:45, 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