Template:Subpages: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 38: | Line 38: | ||
-->{{#ifeq:{{SUBPAGENAME}}|Definition | -->{{#ifeq:{{SUBPAGENAME}}|Definition | ||
|{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}||[[Category:Definition Only]] }} | |<!--Adds category for the stand alone subpages in this case definitions-->{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} | ||
| | |||
|{{#ifexist:{{BASEPAGENAME}} (disambiguation) | |||
|[[Category:Dabdef Subpages]] | |||
|[[Category:Definition Only]] }}| }} | |||
|{{#ifeq:{{SUBPAGENAME}}|Related Articles | |{{#ifeq:{{SUBPAGENAME}}|Related Articles | ||
|{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}||[[Category:Related Articles Only]] }} | |<!--Adds category for the stand alone subpages in this case related articles-->{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} | ||
|{{#ifexist:Template:{{BASEPAGENAME}}/Metadata | | | ||
|[[Category:Related Articles Only]] }} | |||
|{{#ifexist:Template:{{BASEPAGENAME}}/Metadata | |||
|{{ {{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} | |||
|Editor error catch | |||
|{{#ifexist:{{BASEPAGENAME}} | |||
|metadata error catch | |metadata error catch | ||
|Orphan subpage}} }} }} | |Orphan subpage}} }} }} | ||
|{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | |||
|{{ {{ #ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | |||
|no metadata template | |no metadata template | ||
|{{ #ifexist: {{../../Metadata|info=pagename}} | |{{ #ifexist: {{../../Metadata|info=pagename}} | ||
|x0 | |x0 | ||
|no metadata template}} }} }} | |no metadata template}} }} }} | ||
| {{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}} | |||
| {{ {{#ifeq:{{NAMESPACE}}|Talk | |||
|x0 | |x0 | ||
|{{#ifeq:{{NAMESPACE}}|User | |{{#ifeq:{{NAMESPACE}}|User | ||
Line 63: | Line 69: | ||
|no metadata template}} | |no metadata template}} | ||
|x0}} }} }} }} | |x0}} }} }} }} | ||
| {{ {{#ifeq:{{NAMESPACE}}|Talk | |||
| no metadata template | | no metadata template | ||
| x0}} }} }} }} }} }} }}<!-- | | x0}} }} }} }} }} }} }}<!-- |
Revision as of 08:22, 28 May 2008
Full documentation for this template can be found at Subpages/Doc.