Template:Nav button: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div class="nav-button {{{class|}}}">
<includeonly><div class="nav-button {{{class|}}}">
   [[File:{{{image|}}}|{{{size|100x100px}}}|center|link={{{link|}}}]]
   [[File:{{{image|}}}|{{{size|100x100px}}}|link={{{link|}}}]]
   <div class="nav-button-text">{{#if:{{{text|}}}|[[{{{link|}}}|{{{text|}}}]]|[[{{{link|}}}]]}}</div>
   <div class="nav-button-text">{{#if:{{{text|}}}|[[{{{link|}}}|{{{text|}}}]]|[[{{{link|}}}]]}}</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>

Revision as of 12:23, 8 October 2020

Example:

Parameters:

  • image: The image to use to display the button
  • text: The text underneath the button
  • link: The page the button should like to
  • size: The sizing of the images. Default is 100x100px.
  • class: Addition class for styling