Template:Navbutton

From Don't Starve Wiki
Jump to navigation Jump to search
Template documentation [View] [Edit] [History] [Refresh]
Description
This template is used to insert navigation buttons between pages.
Syntax
Add {{Navbutton|text|link}} on any page.
Usage
{| style="position:relative;"
{{Navbutton|link=Wilson|text=Here}}
{{Navbutton|link=Willow|text=There}}
|}
  • The template is not automatically centered.
  • Any number of buttons can be placed between {| and |}.
  • Each button acts as a table cell, meaning a new row can be created by placing |- between lines.
Example
<center>
{| style="position:relative;"
{{Navbutton|link=Template:Navbutton|text=Here}}
{{Navbutton|link=Wilson|text=There}}
|-
{{Navbutton|link=Willow|text=Somewhere|type=2}}
{{Navbutton|link=Wendy|text=Elsewhere|type=2}}
|}
</center>
Ui button variant 1 on.png
Ui button variant 1 off.png
Ui button variant 2 on.png
Ui button variant 2 off.png