Template:Editnotice talkpagename/doc
This is a documentation subpage for Template:Editnotice talkpagename It may contain usage information, categories and other content that is not part of the original template page. |
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 source]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/doc
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}}]]
See also
[edit source]- Help:Editnotices – More about editnotices.
- {{editnotice pagename}} – Returns the full pagename for the editnotice for the current page.
- {{editnotice}} – A template for making editnotice message boxes.