Template:Subpages4
Jump to navigation
Jump to search
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 :) Actually, I'm sure many parts of the whole set can be improved. Please go ahead and tinker if you have some ideas.)
Header and categories
- {{
- This is critical to the whole function of the subpages4 template (Anthropology shown as an example). It is a central depository for all the information related to the article. This includes the checklist template information, the approved template information and the ToApprove template info. All the header tempaltes below access data from this info template.
- {{Approved2}} or {{ }} will be ploaced on the article page depending on whether the article is approved or not. Much of their usage depends on we use the Draft pages in the future. At present the example for Anthropology assumes that all writing will be done on the draft page where as the article will only have an article once it is approved (NOTE: this is not current practice but is an option that has been discussed in the forums. I have set it up this way to visualise how such a solution might look in practice.)
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{ }}
- {{Signed Article Header}}
- {{Checklist2}}
- {{ }}
- {{Checklist3}}
- {{Approved2}}
}} each article will have its own info template if this subpage idea is adopted.
- {{Unused subpages}}
- {{Yes-or-no}}