Difference between revisions of "Template:Editnotices/Namespace/Main"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(Proper workaround: Cancel out the PAGENAME problem of returning an HTML-entitified string by applying it to the TFX title as well.)
imported>MSGJ
(add note about draft version, per request)
Line 1: Line 1:
{{#ifeq: {{PAGENAME}} | {{PAGENAME:{{TFA title}}}} | {{TFA-editnotice}} }}{{#ifeq: {{PAGENAME}} | {{PAGENAME:{{TFL title}}}} | {{TFL-editnotice}} }}
+
{{#ifexist:{{FULLPAGENAME}}||{{#ifexist:Draft:{{FULLPAGENAME}}|{{Hatnote|There is a draft for this article at [[Draft:{{FULLPAGENAME}}]]}}|}}}}{{#ifeq: {{PAGENAME}} | {{PAGENAME:{{TFA title}}}} | {{TFA-editnotice}} }}{{#ifeq: {{PAGENAME}} | {{PAGENAME:{{TFL title}}}} | {{TFL-editnotice}} }}

Revision as of 09:04, 9 March 2016