Difference between revisions of "Template:Editnotice talkpagename"
imported>CharlotteWebb (same difference, easier to maintain one switch statement in the unlikely need for changes) |
imported>MSGJ (pass page param) |
||
Line 1: | Line 1: | ||
− | {{editnotice pagename|talk}}<noinclude> | + | {{editnotice pagename|talk|page={{{page|}}}}}<noinclude> |
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 15:39, 10 July 2012
Template talk:Editnotices/Page/Template:Editnotice talkpagename
This is the {{editnotice talkpagename}} meta-template.
It returns the full pagename for the talkpage of the editnotice for the current page.
Note that this template doesn't produce the editnotice pagename for talk pages, instead it produces the talkpage name of the editnotice.
If you need the editnotice pagename itself, then use {{editnotice pagename}} instead.
Note that the main editnotices for a user page and a user talk page do not have a talk page, so it will not work there.
Usage
This template takes no parameters and automatically outputs a proper formatted editnotice talkpage address. Like this:
{{editnotice talkpagename}}
Which outputs the talkpage 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 talkpage of the editnotice for the current page. Like this:
[[{{editnotice talkpagename}}]]
See also
- Wikipedia:Editnotice – More about editnotices.
- {{editnotice pagename}} – Returns the full pagename for the editnotice for the current page.
- {{editnotice}} – A template for making editnotice message boxes.
The above documentation is transcluded from Template:Editnotice talkpagename/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |