Template:Selfref

From Wolfire Games Wiki
Revision as of 01:22, 4 March 2012 by Conner36 (talk | contribs) (Created page with "{{#switch:{{{2|NONE}}} |NONE|hatnote|hat={{Hatnote|1=<span class="plainlinks selfreference">{{{1}}}</span>}} |inline|<!--empty-->=<span class="plainlinks selfreference">{{{1}}}</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[edit] [purge] 50px Template documentation

Usage

{{Selfref}} is a template that is used to mark pieces of text and links that wouldn't make sense on mirrors of Wikipedia: see Wikipedia:Self-references to avoid.

In most cases, {{Selfref}} is used to create a disambiguation link to a page in the Wikipedia: namespace from article space; for instance, Objectivity could have a selfref link '{{Selfref|For Wikipedia's policy on avoiding bias, see [[Wikipedia:Neutral point of view]].}}'. When using {{Selfref}} in this way, use the following format:

{{Selfref|the self-referential notice to display, including links}}

When using {{Selfref}} in this way, the text will be indented slightly and put in italics.

{{Selfref}} can also be used for any other text which shouldn't appear in mirrors (the mirrors can remove it by blanking {{Selfref}} in their copy, although not all of them do), without reformatting; to use it like this, place an extra vertical bar at the end of the template inclusion, like this:

{{Selfref|the self-referential text to display without reformatting|}}

or adding the word "inline" after a bar, like this:

{{Selfref|the self-referential text to display without reformatting|inline}}

This template should not be substituted.

Example

Code Page on Wikipedia Page on some mirrors
{{Selfref|For the Wikipedia Sandbox, see [[WP:SAND]]}}

The Wikipedia Sandbox is a page on Wikipedia. {{Selfref|You can edit it by clicking "edit" on the page.|}} It has been edited many times.

The Wikipedia Sandbox is a page on Wikipedia. You can edit it by clicking "edit" on the page. It has been edited many times.

The Wikipedia Sandbox is a page on Wikipedia. It has been edited many times.

See also

cs:Šablona:Sebereference da:Skabelon:Selfref fr:Modèle:Voir aussi Wikipédia gl:Template:autoref gv:Clowan:Selfref ja:Template:Selfref ml:ഫലകം:Selfref pt:Predefinição:Selfref th:แม่แบบ:Selfref zh:Template:Selfref zh-yue:Template:Selfref