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><!--
[[File:{{{image|}}}|{{{size|100x100px}}}|link={{{link|}}}]]
--><div class="nav-button {{{class|}}}"><!--
<div class="nav-button-text">
  -->[[File:{{{image|}}}|{{{size|100x100px}}}|link={{{link|}}}]]<!--
{{#if:{{{text|}}}|[[{{{link|}}}|{{{text|}}}]]|[[{{{link|}}}]]}}
  --><div class="nav-button-text"><!--
</div>
    -->{{#if:{{{text|}}}|[[{{{link|}}}|{{{text|}}}]]|[[{{{link|}}}]]}}<!--
</div></includeonly><noinclude>
  --></div><!--
--></div><!--
--></includeonly><noinclude>
</noinclude>{{Template-category|Navigation}}<noinclude>
</noinclude>{{Template-category|Navigation}}<noinclude>
Example:
Example:

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