Template:Editnotice talkpagename

From Wikibooks, open books for an open world
Jump to: navigation, search

Template talk:Editnotices/Page/Template:Editnotice talkpagename

Template documentation[edit] [history] [purge]

This is the {{editnotice talkpagename}} meta-template.

It returns the full pagename for the discussion page of the editnotice for the current page.

Note that this template doesn't produce the editnotice page name for discussion pages, instead it produces the discussion page name for the editnotice.

If you need the editnotice page name itself, then use {{editnotice pagename}} instead.

Note that the main editnotices for a user page and a user discussion page do not have a discussion page, so it will not work there.

Usage[edit]

This template takes no parameters and automatically outputs a proper formatted editnotice discussion page address. Like this:

{{editnotice talkpagename}}

Which outputs the discussion page name of the editnotice for this page itself:

Template talk:Editnotices/Page/Template:Editnotice talkpagename

This can for instance be used to produce a link to the discussion page of the editnotice for the current page. Like this:

[[{{editnotice talkpagename}}]]
Template talk:Editnotices/Page/Template:Editnotice talkpagename

See also[edit]