Template:Test lemma: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day No edit summary |
imported>Chris Day No edit summary |
||
Line 1: | Line 1: | ||
{{ {{#ifexist:Template:{{BASEPAGENAME}}/Metadata | {{#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}} | |||
| | |||
|{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | |[[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}} | |||
| | |||
|[[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}} }} | |||
|{{#ifexist:{{BASEPAGENAME}}/Definition | |||
|{{#ifeq: {{PAGENAME}}|{{FULLPAGENAME}} | |||
|{{#ifeq: {{BASEPAGENAME}}|{{FULLPAGENAME}} | |||
|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}} }} }} | |||
|Lemma}} }} }} }} }} |
Revision as of 02:15, 4 February 2009
{{#ifeq:Test lemma|Definition | |Test lemma [r]: Add brief definition or description
This article contains just a definition and optionally other subpages (such as a list of related articles), but no metadata. Create the metadata page if you want to expand this into a full article.