Template:Subpages9

From Citizendium
Revision as of 15:21, 27 July 2007 by imported>Chris Day
Jump to navigation Jump to search
{{#ifeq:Subpages9|Subpages9|{{#ifeq:Template|Talk||{{#ifeq:Subpages9|Subpages9/Draft|Template:Cell style{{ #ifeq: Template:Subpages9|Talk:Subpages9| Template:Cell style{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|Subpages9|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Related|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Bibliography|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Links|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Tables|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Gallery|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Timelines|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Tutorials|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Debate guide|Template:Cell style{{#ifeq: Subpages9 |Subpages9/News guide|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Signed articles|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Discography|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other1|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other2|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other3|Template:Cell style
Main Article Draft Related articles Bibliography External links  

Placement

Use on the top of pages as an index mechanism for subpages.

Usage

See example on Chiropractic an approved article. See New York City an article that is not currently approved.

Wikitext
{{Subpages9}}
Appearance
{{#ifeq:Subpages9|Subpages9|{{#ifeq:Template|Talk||{{#ifeq:Subpages9|Subpages9/Draft|Template:Cell style{{ #ifeq: Template:Subpages9|Talk:Subpages9| Template:Cell style{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|Subpages9|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Related|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Bibliography|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Links|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Tables|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Gallery|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Timelines|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Tutorials|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Debate guide|Template:Cell style{{#ifeq: Subpages9 |Subpages9/News guide|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Signed articles|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Discography|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other1|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other2|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other3|Template:Cell style
Main Article Draft Related articles Bibliography External links  


Anatomical
{{#ifeq:Subpages9|Subpages9|{{#ifeq:Template|Talk||{{#ifeq:Subpages9|Subpages9/Draft|Template:Cell style{{ #ifeq: Template:Subpages9|Talk:Subpages9| Template:Cell style{{ #ifeq: {{../../Info|info=pagename}}/Signed articles|Subpages9|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Related|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Bibliography|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Links|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Tables|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Gallery|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Timelines|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Tutorials|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Debate guide|Template:Cell style{{#ifeq: Subpages9 |Subpages9/News guide|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Signed articles|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Discography|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other1|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other2|Template:Cell style{{#ifeq: Subpages9 |Subpages9/Other3|Template:Cell style
Main Article Draft Related articles Bibliography External links  

Parameters

When used on the main article the template will transclude the {{Approved}} template if the article has been approved or transclude the {{Construction}} template if the article is still a developing. Consequently the subpages9 templates uses the same parameters.

Consequently when the subpages9 template is used on the main article, it may need one or more of the following parameters. See {{Approved}} fo9r a more detailed explanation of their usage.

{{Subpages9
|editor=
|editor2=
|editor3=
|group=
|group2=
|group3=
|abc=
|status=
}}

Templates via transclusion are used on all the subpages, although not all of these templates use variable parameters. The following templates are transcluded for each subpage. (this is still a work in progress, any parameters important for each subpage will be added pending this template moving beyond a testing phase.

Style templates

The folowing templates are used to control the style elements of the tab buttons.

  • {{Subpagetab}} - designates the variables for the selected tab.
  • {{Subpagetab2}} - designates the variables for the unselected tab.

Credits