Template:Subpages4: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day |
||
Line 93: | Line 93: | ||
* {{tl|Button off}} | * {{tl|Button off}} | ||
::Definition of the OFF button colour and style. | ::Definition of the OFF button colour and style. | ||
* {{tl|Default button}} | * {{tl|Default button}} | ||
::Adds the ''Default'' buttons to the navigation box whether they exist or not (so expect so red links, the idea is to encourage people to create those missing subpages) | |||
* {{tl|Optional button}} | * {{tl|Optional button}} | ||
::Adds the ''Optional'' buttons to the navigation box if they exist in the cluster. (these are added to the navigation box after the default buttons have been set). | |||
* {{tl|Subpage list row3}} | |||
::Toggles button to on ON or OFF. ON if the subpage is being viewed. (''I am sure there is a more economic way to do this. If you're watching, and know how, feel free to step in and fix it'' :) ) | |||
===Header and categories=== | ===Header and categories=== |
Revision as of 23:12, 24 July 2007
Examples of this templates usage can be found at the Anthropology cluster (not approved) and the Life cluster (approved).
Templates associated with the subpages4 template:
Function
Two functions are associated with this template. First to place a subpage navigation box with the appropriate buttons on each page. Second, to define the header and categories for each subpage.
- {{Subpage list}}
- Defines the button names and whether they are Default or Optional
- {{Button on}}
- Definition of the ON button colour and style.
- {{Button off}}
- Definition of the OFF button colour and style.
- {{ }}
- Adds the Default buttons to the navigation box whether they exist or not (so expect so red links, the idea is to encourage people to create those missing subpages)
- {{Optional button}}
- Adds the Optional buttons to the navigation box if they exist in the cluster. (these are added to the navigation box after the default buttons have been set).
- Toggles button to on ON or OFF. ON if the subpage is being viewed. (I am sure there is a more economic way to do this. If you're watching, and know how, feel free to step in and fix it :) )
Header and categories
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{Unused subpages}}
- {{Signed Article Header}}
- {{Checklist2}}
- {{Yes-or-no}}
- {{ }}
- {{Checklist3}}
- {{Approved2}}