Template:Subpage print2: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
(fix so works on talk)
 
(6 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}} }}
    |
{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
    |{{#ifeq:{{NAMESPACE}}|Talk
                |{{!}} {{click|image=Approval button.png|link={{{{BASEPAGENAME}}|info=pagename}}/Approval |width=17px|height=17px}}
          |
          |{{#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: {{../../Metadata|info=pagename}}
          |{{!}}{{click|image=Metadata.png|link=Template:{{../../Metadata|info=pagename}}/Metadata|width=17px|height=17px}}


{{!}} {{click|image=Approval button.png|link={{../../Metadata|info=pagename}}/Approval |width=17px|height=17px}}
                |{{#ifeq:{{NAMESPACE}}|Talk
                      |{{!}}{{click|image=Metadata.png|link=Template:{{BASEPAGENAME}}/Metadata|width=17px|height=17px}}


{{!}}{{click|image=Unused button.png|link={{../../Metadata|info=pagename}}/Unused|width=17px|height=17px}}
{{!}} {{click|image=Approval button.png|link={{BASEPAGENAME}}/Approval |width=17px|height=17px}}  
 
                      |{{#ifeq:{{SUBPAGENAME}}|Approval
          |{{ #ifexist: {{{{BASEPAGENAME}}|info=pagename}}
                            |{{!}}{{click|image=Metadata.png|link=Template:{{BASEPAGENAME}}/Metadata|width=17px|height=17px}}
                |{{!}}{{click|image=Metadata.png|link=Template:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|width=17px|height=17px}}
                            |}} }} }}
 
{{!}} {{click|image=Approval button.png|link={{{{BASEPAGENAME}}|info=pagename}}/Approval |width=17px|height=17px}}
 
{{!}}{{click|image=Unused button.png|link={{{{BASEPAGENAME}}|info=pagename}}/Unused|width=17px|height=17px}}
 
                |{{#ifeq:{{NAMESPACE}}|Talk|{{!}}{{click|image=Metadata.png|link=Template:{{BASEPAGENAME}}/Metadata|width=17px|height=17px}}
 
{{!}} {{click|image=Approval button.png|link={{BASEPAGENAME}}/Approval |width=17px|height=17px}}
 
{{!}}{{click|image=Unused button.png|link={{BASEPAGENAME}}/Unused|width=17px|height=17px}} }} }}}}
|}
|}

Latest revision as of 01:17, 15 March 2008