Template:Nav buttons/inner: Difference between revisions

From Tygron 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:{{{text-color|}}} | {{{text-color|}}} | }};'>
{{nav button |color={{{color|}}} |image={{{image|}}}              | text={{{link|}}} |link={{{link|}}}                }}
{{nav button |color={{{color|}}} |image={{{image|}}}              | text={{{link|}}} |link={{{link|}}}                }}
{{nav button |color={{{color|}}} |image=getting_started_button.png | text=Tutorials  |link={{{link|}}} getting started }}
{{nav button |color={{{color|}}} |image=getting_started_button.png | text=Tutorials  |link={{{link|}}} getting started }}
Line 11: Line 11:
Example with theme:
Example with theme:
{{Nav buttons
{{Nav buttons
  | image=   waterwijzer100px.png
  | image=     Aerius button.png
  | link=     Waterwijzer Module
  | link=       Aerius Module
  | color=   {{Aerius theme|color}}
  | color=     {{Aerius theme|color}}
  | theme=   aerius theme
| text-color= {{Aerius theme|text-color}}
  | theme=     aerius theme
}}
}}
Example without theme:
Example without theme:
Line 32: Line 33:
   | image=    waterwijzer100px.png
   | image=    waterwijzer100px.png
   | link=    Waterwijzer Module
   | link=    Waterwijzer Module
   | theme=     
   | color=    {{Aerius theme|color}}
   }}
   }}
| theme-color=lightgreen
| theme-color=lightgreen

Revision as of 11:06, 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