Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(no need for template branch these will not be used in this template)
Line 156: Line 156:
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
              |<!--(the metadata template)-->(the metadata template)
              |<!--(the metadata template)-->(the metadata template)
                               | {{#ifeq:{{{namespace|}}}|Template
                               | }} }} }} }}
| <!--(template main page)--> (template main page)
        | <!--(template talk page)--> (template talk page) }} }} }} }} }}
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
|}</div>{{ #ifeq: {{{name|}}}|{{{fullpagename|}}}
       | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
       | {{ #ifeq: {{{basepagename|}}}|{{{fullpagename|}}}
Line 186: Line 184:
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
           | {{#ifeq:{{{pagename|}}}/Metadata|{{{basepagename|}}}
              |<!--(the metadata template)-->(the metadata template)
              |<!--(the metadata template)-->(the metadata template)
                               | {{#ifeq:{{{namespace|}}}|Template
                               | }} }} }} }}</includeonly>
| <!--(template main page)--> (template main page)
        | <!--(template talk page)--> (template talk page) }} }} }} }} }}</includeonly>
<noinclude>
<noinclude>
{| width=100%
|style="background-color: #cccccc"| <nowiki>{{{basepagename|}}}</nowiki>|| {{{basepagename}}}
|style="background-color: #cccccc"| <nowiki>{{{fullpagename|}}}</nowiki>||  {{{fullpagename}}}
|style="background-color: #cccccc"| <nowiki>{{{pagename|}}}</nowiki>||  {{{pagename}}}
|-
|style="background-color: #cccccc"| <nowiki>{{{name|}}}</nowiki>||  {{{name}}}
|style="background-color: #cccccc"| <nowiki>{{{subpagename|}}}</nowiki>||  {{{subpagename}}}
|style="background-color: #cccccc"| <nowiki>{{{namespace|}}}</nowiki>||  {{{namespace}}} 
|-
|style="background-color: #cccccc"| <nowiki>{{{type|}}}</nowiki> || {{{type}}} 
|style="background-color: #cccccc"| <nowiki>{{{pagename}}}</nowiki>||{{{pagename}}}
|style="background-color: #cccccc"| <nowiki>{{{variant}}}</nowiki>||{{{variant}}}
|-
|style="background-color: #cccccc"| <nowiki>{{{abc}}}</nowiki>||{{{abc}}}
|style="background-color: #cccccc"| <nowiki>{{{cat_check}}}</nowiki>||{{{cat_check}}}
|style="background-color: #cccccc"| <nowiki>{{{status}}}</nowiki>||{{{status}}}
|-
|style="background-color: #cccccc"| <nowiki>{{{underlinked}}}</nowiki>||{{{underlinked}}}
|style="background-color: #cccccc"| <nowiki>{{{cleanup}}}</nowiki>||{{{cleanup}}}
|style="background-color: #cccccc"| <nowiki>{{{by}}}</nowiki>||{{{by}}}
|-
|style="background-color: #cccccc"| <nowiki>{{{group}}}</nowiki>||{{{group}}}
|style="background-color: #cccccc"|  ||
|style="background-color: #cccccc"|  ||
|}
{| width=100%
|style="background-color: #cccccc"| <nowiki>{{SUBPAGENAME}}</nowiki>|| {{SUBPAGENAME}}
|style="background-color: #cccccc"| <nowiki>{{FULLPAGENAME}}</nowiki>|| {{FULLPAGENAME}}
|style="background-color: #cccccc"| <nowiki>{{BASEPAGENAME}}</nowiki>|| {{BASEPAGENAME}}
|-
|style="background-color: #cccccc"| <nowiki>{{PAGENAME}}</nowiki>|| {{PAGENAME}}
|style="background-color: #cccccc"| <nowiki>[[/]]</nowiki>|| [[/]]
|style="background-color: #cccccc"| <nowiki>[[../]]</nowiki>|| [[../]]
|-
|style="background-color: #cccccc"| <nowiki>[[../../]]</nowiki>|| [[../../]]
|style="background-color: #cccccc"| <nowiki>{{/}}</nowiki>|| {{/}}
|style="background-color: #cccccc"| <nowiki>{{../}}</nowiki>|| {{../}}
|-
|style="background-color: #cccccc"| <nowiki>{{../../}}</nowiki>|| {{../../}}
|style="background-color: #cccccc"| <nowiki>{{NAMESPACE}}</nowiki>|| {{NAMESPACE}}
|style="background-color: #cccccc"|  ||
|}
==Usage==
==Usage==



Revision as of 22:09, 5 October 2007


Usage

See CZ:Using the Subpages template for information on how to use this template. See CZ:Subpages for an introduction to the concept and our use of subpages.

Examples of this templates use can be found at the Test article cluster (unapproved) and the Biology cluster (approved).