Template:Nav buttons: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{nav buttons/inner | <includeonly>{{nav buttons/inner | ||
| image= {{{image|}}} | | image= {{ #if:{{{{{theme|}}}}} | {{{image|}}} | {{{{{theme|}}}|image}} }} | ||
| link= {{{link|}}} | | link= {{ #if:{{{{{theme|}}}}} | {{{link|}}} | {{{{{theme|}}}|mainlink}} }} | ||
| color= {{ #if:{{{{{theme|}}}}} | {{{color|}}} | {{{{{theme|}}}|color}} }} | | color= {{ #if:{{{{{theme|}}}}} | {{{color|}}} | {{{{{theme|}}}|color}} }} | ||
| text-color= {{ #if:{{{{{theme|}}}}} | {{{text-color|}}} | {{{{{theme|}}}|text-color}} }} | | text-color= {{ #if:{{{{{theme|}}}}} | {{{text-color|}}} | {{{{{theme|}}}|text-color}} }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Example with theme: | Example with theme: | ||
{{Nav buttons | {{Nav buttons | ||
| theme= aerius theme | | theme= aerius theme | ||
}} | }} |
Revision as of 13:08, 14 December 2020
Example with theme:
Example without theme:
Example in nav element:
Parameters:
- image: The image to use for the first button
- link: Main article of the subject matter
- size: Size of the images
- fontsize: Size of the text
Style here: MediaWiki:Common.css