Template:Test lemma: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (New page: {{#ifexist:{{../../Metadata|info=pagename}} | |Category:Masterlist OnlyCategory:All Content }} |{{ {{#ifexist:Template:{{BASEPAGENAME}}/Meta...) |
imported>Chris Day No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexist:{{../../Metadata|info=pagename}} | {{#ifeq:{{SUBPAGENAME}}|Definition | ||
|<!--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]][[Category:All Content]] }}| }} | |||
|{{#ifeq:{{SUBPAGENAME}}|Related Articles | |||
|<!--Adds category for the stand alone subpages in this case related articles-->{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}} | |||
| | |||
|[[Category:Related Articles Only]][[Category:All Content]] }} | |||
|{{#ifeq:{{SUBPAGENAME}}|Masterlist | |||
|<!--Adds category for the stand alone subpages in this case a masterlist subsubpage related articles-->{{#ifexist:{{../../Metadata|info=pagename}} | |||
|{{#ifeq: {{ | | | ||
|[[Category:Masterlist Only]][[Category:All Content]] }} | |||
|{{ {{#ifexist:Template:{{BASEPAGENAME}}/Metadata | |||
|{{#ifeq:{{localurl:{{BASEPAGENAME}}}}|{{localurl:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} | |||
|{{#ifexist:{{BASEPAGENAME}} | |||
|Editor error catch | |||
|Orphan subpage}} | |||
|{{#ifexist:{{BASEPAGENAME}} | |||
|metadata error catch | |||
|x0}} }} | |||
|{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | |||
|{{#ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | |||
|{{#ifexist:{{BASEPAGENAME}}/Definition | |||
|Lemma | |||
|no metadata template}} | |||
|{{ #ifexist: {{../../Metadata|info=pagename}} | |||
|x0 | |||
|no metadata template}} }} | |||
|{{#ifeq: {{BASEPAGENAME}}/{{SUBPAGENAME}}|{{PAGENAME}} | |||
|{{#ifeq:{{NAMESPACE}}|Talk | |||
|x0 | |||
|{{#ifeq:{{NAMESPACE}}|User | |||
|x0 | |||
|{{#ifeq:{{SUBPAGENAME}}|Metadata | |||
|{{#ifeq:{{NAMESPACE}}|Template talk | |||
|x0 | |||
|no metadata template}} | |||
|x0}} }} }} | |||
|{{#ifeq:{{NAMESPACE}}|Talk | |||
| no metadata template | |||
| x0}} }} }} }} }} }} }} }} |