Template:Editnotice pagename

Revision as of 10:42, 23 October 2012 by Mastergalen (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Editnotices/Page/Template:Editnotice pagename

[edit] [history] [purge] Documentation icon Template documentation

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

It returns the full pagename for the editnotice of the current page. It works both for subject pages such as articles and for their talk pages.

{{editnotice fullpagename}} redirects here and can be used as an alternative name for this template.

If you instead need the talkpage name for the editnotice then use {{editnotice talkpagename}}.

Usage

This template can be used without any parameters and automatically outputs a proper formatted editnotice page address. Like this:

{{editnotice pagename}}

Which outputs the pagename of the editnotice for this page itself:

Template:Editnotices/Page/Template:Editnotice pagename

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

[[{{editnotice pagename}}]]
Template:Editnotices/Page/Template:Editnotice pagename

This template works for all editnotices.

Talk page of edit notice

Use the following to produce the talk page of the edit notice template:

{{editnotice pagename|talk}}

Note: this does not work on User or User talk pages because these edit notices do not have talk pages.

Specify the page

To get the page name of the edit notice of a different page, use the |page= parameter. For example:

{{editnotice pagename|page=Sausage}}

produces: Template:Editnotices/Page/Sausage

{{editnotice pagename|page=User:Example}}

produces: User:Example/Editnotice

{{editnotice pagename|talk|page=Bacon}}

produces: Template talk:Editnotices/Page/Bacon

See also

it:Template:Editnotice_pagename

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis