Template:Nav button: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="nav-button {{{class|}}}"> | ||
<div class=" | [[File:{{{image|}}}|{{{size|100x100px}}}|center|link={{{link|}}}]] | ||
<div class=" | <div class="nav-button-text">{{#if:{{{text|}}}|[[{{{link|}}}|{{{text|}}}]]|[[{{{link|}}}]]}}</div> | ||
</div | </div></includeonly><noinclude> | ||
</noinclude>{{Template-category|Navigation}}<noinclude> | </noinclude>{{Template-category|Navigation}}<noinclude> | ||
Example: | Example: | ||
Line 18: | Line 17: | ||
* size: The sizing of the images. Default is 100x100px. | * size: The sizing of the images. Default is 100x100px. | ||
* class: Addition class for styling | |||
</noinclude> | </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