Template:Subpage print2: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(prune down a bit since some of these buttons are never required.)
imported>Chris Day
(fix so works on talk)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{| height=25px align="right" border="0" cellpadding="2" cellspacing="0"
{{#ifeq:{{SUBPAGENAME}}|Unused
{{#ifeq:{{NAMESPACE}}|Talk||{{!}}{{clickurl|image=Print button.png|link=http://en.citizendium.org/wiki?title={{FULLPAGENAMEE}}&printable=yes|width=20px|height=20px}} }}
    |
    |{{#ifeq:{{NAMESPACE}}|Talk
          |
          |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
              |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}|{{PAGENAME}}
                    | {{!}}{{clickurl|image=Compare.png|link=http://en.citizendium.org/wiki?title={{PAGENAMEE}}/Draft&diff=current&oldid={{REVISIONID}} | width=17px | height=17px}}
                    |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Draft|{{PAGENAME}}
                        |{{!}}{{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}} }}
{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
                 |{{!}} {{click|image=Approval button.png|link={{{{BASEPAGENAME}}|info=pagename}}/Approval |width=17px|height=17px}}
                 |{{!}} {{click|image=Approval button.png|link={{{{BASEPAGENAME}}|info=pagename}}/Approval |width=17px|height=17px}}

Latest revision as of 01:17, 15 March 2008