Difference between revisions of "Template:Editnotice talkpagename/doc"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
m (update)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 36: Line 36:
 
* {{tl|editnotice}} – A template for making editnotice message boxes.
 
* {{tl|editnotice}} – A template for making editnotice message boxes.
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wikipedia metatemplates|Editnotice talkpagename]]
 
[[Category:Wikipedia metatemplates|Editnotice talkpagename]]
 
[[Category:Wikipedia editnotices| ]]
 
[[Category:Wikipedia editnotices| ]]
</includeonly>
+
}}</includeonly>

Latest revision as of 01:02, 25 April 2020

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/doc

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

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

See also