Template:Subpages4: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>Chris Day
Line 101: Line 101:


===Header and categories===
===Header and categories===
* {{tl|Anthropology/Info}}
* {{tl|Anthropology/Info}} each article will have its own info template if this subpage idea is adopted.
* {{tl|Construction2}}
::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.
* {{tl|Related header2}}
** {{tl|Construction2}}
* {{tl|Bibliography header2}}
** {{tl|Draft header2}}
* {{tl|Links header2}}
** {{tl|Related header2}}
* {{tl|Tables header2}}
** {{tl|Bibliography header2}}
* {{tl|Gallery header2}}
** {{tl|Links header2}}
* {{tl|Tutorials header2}}
** {{tl|Tables header2}}
* {{tl|Debate guide header2}}
** {{tl|Gallery header2}}
* {{tl|News guide header2}}
** {{tl|Tutorials header2}}
* {{tl|Signed articles header2}}
** {{tl|Debate guide header2}}
* {{tl|Discography header2}}
** {{tl|News guide header2}}
* {{tl|Timelines header2}}
** {{tl|Signed articles header2}}
* {{tl|Other2 header2}}
** {{tl|Discography header2}}
* {{tl|Other3 header2}}
** {{tl|Timelines header2}}
* {{tl|Other4 header2}}
** {{tl|Signed Article Header}}
** {{tl|Checklist2}}
** {{tl|Draft header2}}
** {{tl|Checklist3}}
** {{tl|Approved2}}
* {{tl|Unused subpages}}
* {{tl|Unused subpages}}
* {{tl|Signed Article Header}}
* {{tl|Checklist2}}
* {{tl|Yes-or-no}}
* {{tl|Yes-or-no}}
* {{tl|Draft header2}}
* {{tl|Checklist3}}
* {{tl|Approved2}}
</noinclude>
</noinclude>

Revision as of 23:22, 24 July 2007

Cluster

Subpages4
InformationTemplate:Default button

About Clusters
Unused subpages

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.

Navigation box

Defines the button names and whether they are Default or Optional
Definition of the ON button colour and style.
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)
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

  • {{Anthropology/Info}} each article will have its own info template if this subpage idea is adopted.
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.