Template:Subpages4: Difference between revisions
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 49: | Line 49: | ||
The following code is the subpages template that includes the subroutines to choose the default and optional buttons | The following code is the subpages template that includes the subroutines to choose the default and optional buttons | ||
-->{|class=noprint align=right width=120px cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff" | --> | ||
{|class=noprint align=right width=120px cellpadding="1" cellspacing="0" border="0" style="background-color: #ffffff" | |||
|align="top" align="right"| | |align="top" align="right"| | ||
{|width=110px border="0" cellpadding="1" cellspacing="3" {{#ifeq:{{{{BASEPAGENAME}}/Info|info=approved}}|yes|style="background:#ddffdd|style="background:#B8DAE5}}; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff" | {|width=110px border="0" cellpadding="1" cellspacing="3" {{#ifeq:{{{{BASEPAGENAME}}/Info|info=approved}}|yes|style="background:#ddffdd|style="background:#B8DAE5}}; border-bottom:2px solid #aaaaaa; border-top:2px solid #eeeeee; border-left:2px solid #bbbbbb; border-right:2px solid #ffffff" |
Revision as of 13:29, 25 July 2007
UsageExamples of this templates use can be found at the Anthropology cluster (not approved) and the Life cluster (approved).
FunctionTwo 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.Templates associated with the {{subpages4}} template are described below:
For additional subpage ideas a new button can be added to the navigation box by replacing the FREE BUTTON place holders in the {{Subpage list}} template. If there are no free buttons in the existing template then additional button code must be added to the following three templates: {{Subpage list}}, {{ }} and {{Optional button}} Header and categories
If the subpage4 concept is adopted each article will have its own info template (Anthropology linked above as an example). The info template is critical to the functionality of the subpages4 template since it is the central depository for all the information related to the article. This includes the checklist template information, the approved template information and the ToApprove template information. All the header templates discussed below access data from the info template. This is a huge advantage since all the subpages are coordinated with the articles changing status, as recorded in the info template.
Random thoughtsFeel free to add new additions or suggest changes. Discussion of these points can continue of the talk page Template_talk:Subpages4. Ideas not yet incorporated into this tempalte:
|