User:BrentSimpson/NavTemplates

= Navigational Templates =

see:


 * w:Wikipedia:Navigational_templates
 * http://meta.wikimedia.org/wiki/Help:ParserFunctions
 * w:Wikipedia:Collapsible_tables

Version #1: Topics with Subtopics
Simple syntax for adding Topics and Subtopics. Also uses collapsible table. Syntax would either need to be cut'n'pasted into each page, or I may experiment with using an inputbox to create a unique template for a project which may then be transcluded into pages using the standard syntax to include/transclude templates.

These instuctions are somewhat deprecated See: Template:TopicsWithSubpages for more up-to-date info.

Pages Used

 * Template:TopicsWithSubpages
 * Template:TWSbase - used by the above
 * MediaWiki:Common.css - css that is unique to these templates goes here.
 * MediaWiki:Common.js - javascript for the collapsing tables is here.

Working Example

Edit page to view syntax.

Syntax that produced the above

Problems / Issues


 * can't use | to seperate out the subtopics because it is interpreted as part of the template; may be able to put in later as part of syntax .. but probably not. Only solution may be to make a template of the | page and transclude it, ie.

Version #2: Project Navigation
These instuctions are somewhat deprecated See: Template:ProjectNav for more up-to-date info.

Syntax:

Problems / Issues
 * change use of H1 for bolding, etc as mediawiki wants to style these as part of main.css.