Template:Subpages3: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 1: Line 1:
{{error check}}<!--
<!--


***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages as well as the metadata template.***
***The following section specifically establishes parameters for the subpage template on all pages except subsubpages and their talk pages as well as the metadata template.***
Line 12: Line 12:
***The following section filters out all pages except for the metadata page. Then tests to see if the metadata page exists. If the metadata page does exist it establishes the parameters for the subpages tempalte.  If not, it should enter the an error check mode via "subsub talk catch" template  Note, this used to function with subsubpage talk pages too but not now.***
***The following section filters out all pages except for the metadata page. Then tests to see if the metadata page exists. If the metadata page does exist it establishes the parameters for the subpages tempalte.  If not, it should enter the an error check mode via "subsub talk catch" template  Note, this used to function with subsubpage talk pages too but not now.***


-->{{ {{ #ifeq: {{PAGENAME}}|{{FULLPAGENAME}}
-->{{ {{#ifexist:{{{{BASEPAGENAME}}|info=pagename}}
      |x0
|subpage_style|x0 }}|namespace={{NAMESPACE}} |subpagename={{SUBPAGENAME}} |basepagename={{BASEPAGENAME}} |fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= template|pagename= {{{{BASEPAGENAME}}|info=pagename}}|variant= {{{{BASEPAGENAME}}|info=variant}}|abc= {{{{BASEPAGENAME}}|info=abc}}|cat_check= {{{{BASEPAGENAME}}|info=cat_check}}|status= {{{{BASEPAGENAME}}|info=status}}|underlinked= {{{{BASEPAGENAME}}|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}|info=cleanup}}|by= {{{{BASEPAGENAME}}|info=by}}|group = {{{{BASEPAGENAME}}|info=cat1}}|group2= {{{{BASEPAGENAME}}|info=cat2}}|group3= {{{{BASEPAGENAME}}|info=cat3}}|article url= {{{{BASEPAGENAME}}|info=article url}}|subpage url= {{{{BASEPAGENAME}}|info=subpage url}}|cluster= {{{{BASEPAGENAME}}|info=cluster}}|now= {{{{BASEPAGENAME}}|info=now}}|ToA editor= {{{{BASEPAGENAME}}|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}|info=ToA editor3}}|date= {{{{BASEPAGENAME}}|info=date}}|A editor= {{{{BASEPAGENAME}}|info=A editor}}|A editor2= {{{{BASEPAGENAME}}|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}|info=A editor3}} }}
      | {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}}
              |x0
              |{{#ifeq:{{NAMESPACE}}|Talk
                  |x0
          |{{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|{{BASEPAGENAME}}
                                |subpage_style
                                |x0 }} }} }} |namespace={{NAMESPACE}} |subpagename={{SUBPAGENAME}} |basepagename={{BASEPAGENAME}} |fullpagename={{FULLPAGENAME}}|name={{PAGENAME}}|type= template|pagename= {{{{BASEPAGENAME}}|info=pagename}}|variant= {{{{BASEPAGENAME}}|info=variant}}|abc= {{{{BASEPAGENAME}}|info=abc}}|cat_check= {{{{BASEPAGENAME}}|info=cat_check}}|status= {{{{BASEPAGENAME}}|info=status}}|underlinked= {{{{BASEPAGENAME}}|info=underlinked}}|cleanup= {{{{BASEPAGENAME}}|info=cleanup}}|by= {{{{BASEPAGENAME}}|info=by}}|group = {{{{BASEPAGENAME}}|info=cat1}}|group2= {{{{BASEPAGENAME}}|info=cat2}}|group3= {{{{BASEPAGENAME}}|info=cat3}}|article url= {{{{BASEPAGENAME}}|info=article url}}|subpage url= {{{{BASEPAGENAME}}|info=subpage url}}|cluster= {{{{BASEPAGENAME}}|info=cluster}}|now= {{{{BASEPAGENAME}}|info=now}}|ToA editor= {{{{BASEPAGENAME}}|info=ToA editor}}|ToA editor2= {{{{BASEPAGENAME}}|info=ToA editor2}}|ToA editor3= {{{{BASEPAGENAME}}|info=ToA editor3}}|date= {{{{BASEPAGENAME}}|info=date}}|A editor= {{{{BASEPAGENAME}}|info=A editor}}|A editor2= {{{{BASEPAGENAME}}|info=A editor2}}|A editor3= {{{{BASEPAGENAME}}|info=A editor3}} }}

Revision as of 17:10, 17 March 2008