Template:Nav button: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 11: | Line 11: | ||
Example: | Example: | ||
{{nav button | {{nav button | ||
|image={{ | |image={{Water theme|image}} | ||
|text={{ | |text={{Water theme|mainlink}} | ||
|link={{ | |link={{Water theme|mainlink}} | ||
|color={{ | |color={{Water theme|color}} | ||
}} | }} | ||
{{nav button | {{nav button | ||
|image= | |image={{Heat_Stress theme|image}} | ||
|text= | |text={{Heat_Stress theme|mainlink}} | ||
|link= | |link={{Heat_Stress theme|mainlink}} | ||
|color={{Heat_Sress theme|color}} | |||
}} | }} | ||
This template should not be used on pages directly. Instead, use [[template:nav buttons]]. | This template should not be used on pages directly. Instead, use [[template:nav buttons]]. | ||
| Line 30: | Line 33: | ||
* class: Addition class for styling | * class: Addition class for styling | ||
General style here (note that part of the style should be overwrite-able by parameters): | |||
[[MediaWiki:Common.css]] | [[MediaWiki:Common.css]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:25, 13 April 2026
Example:
This template should not be used on pages directly. Instead, use template:nav buttons.
Parameters:
- image: The image to use to display the button
- text: The text underneath the button
- link: The page the button should like to
- class: Addition class for styling
General style here (note that part of the style should be overwrite-able by parameters): MediaWiki:Common.css


