Template:Nav button: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><li style="display: inline-block;">
<includeonly><li style="display: inline-block;">
<div class="module-button">[[File:{{{image|}}}|100x100px|center|link={{{link|}}}]]
<div class="module-button">[[File:{{{image|}}}|{{{size|100x100px}}}|center|link={{{link|}}}]]
<div class="module-button-text">{{#if:{{{text|}}}|[[{{{link|}}}|{{{text|}}}]]|[[{{{link|}}}]]}}</div>
<div class="module-button-text">{{#if:{{{text|}}}|[[{{{link|}}}|{{{text|}}}]]|[[{{{link|}}}]]}}</div>
</div>
</div>
Line 16: Line 16:
* text: The text underneath the button
* text: The text underneath the button
* link: The page the button should like to
* link: The page the button should like to
* size: The sizing of the images. Default is 100x100px.
</noinclude>
</noinclude>

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