Template:Nav

From Serious Sam Wiki
Jump to: navigation, search

This template transcludes a navigation bar for topics that span over up to ten pages.

Use the following syntax to include it:

{{nav|[Parent_Page]|[Back_Page]|[Forward_Page]|[Completed]|[Uncompleted]}}
[Parent_Page] (mandatory)
Replace with name of page that links to the first page of the topic.
[Back_Page]
Replace with name of page before the current page. Leave empty for the first page of the topic.
[Forward_Page]
Replace with name of page that links to the next page. Leave empty for the last page of the topic.
[Completed] (mandatory)
Replace with number of current page in the entire topic.
[Parent_Page] (mandatory)
Replace with number of pages left in the topic.

Examples:

  • {{nav|Creating a simple map||Adding Models|1|9}}
creates

x
Nav Green.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png


  • {{nav|Creating a simple map|Adding Models|Adding Enemies|3|7}}
creates

Nav Green.png Nav Green.png Nav Green.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png Nav Blue.png