Template:Subpage style: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(remove compare option)
Line 86: Line 86:
{{#ifeq:{{{namespace|}}}|Talk
{{#ifeq:{{{namespace|}}}|Talk
           |
           |
           |{{#ifeq:{{{status|}}}|0
           |{{#ifeq:{{{namespace|}}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
              |{{#ifeq:{{{pagename|}}}|{{{name|}}}
                    | {{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{PAGENAMEE}}/Draft&diff=current&oldid={{REVISIONID}} | width=17px | height=17px}}
                    |{{#ifeq:{{{pagename|}}}/Draft|{{{name|}}}
                        |{{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{BASEPAGENAMEE}}&diff=current&oldid={{REVISIONID}} |width=17px|height=17px}}
                        | }} }}
              |}} }}
{{#ifeq:{{{namespace|}}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=17px|height=17px}} }}
{{ #ifeq: {{{type|}}}|template
{{ #ifeq: {{{type|}}}|template
                 |{{!}} {{click|image=Approval button.png|link={{{pagename|}}}/Approval |width=17px|height=17px}}
                 |{{!}} {{click|image=Approval button.png|link={{{pagename|}}}/Approval |width=17px|height=17px}}

Revision as of 16:40, 11 March 2008

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).