Template:Subpages3: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day |
||
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}} | ||
| | |||
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}} | |||
| | |||
|{{#ifeq:{{NAMESPACE}}|Talk | |||
| | |||
|{{#ifeq:{{{{BASEPAGENAME}}|info=pagename}}/Metadata|{{BASEPAGENAME}} | |||
|{{subpage_style|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}}}} | |||
| }} }} }} }} |