This is a documentation subpage for Vorlage:Selfref. It contains usage information, categories and other content that is not part of the original vorlage page. |
Usage[Quelltext bearbeiten]
{{Selfref}} is a template that is used to mark pieces of text and links that wouldn't make sense in reuses of Wikipedia article content elsewhere: see Wikipedia:Self-references to avoid. This template should not be substituted.
In most cases, {{Selfref}} is used to create a disambiguation link to a page in the "Wikipedia:" namespace from article-space; for instance, the page Objectivity (disambiguation) could have a self-referential "hatnote" link at the top: {{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}}
which produces:
When using {{Selfref}} in this way, the text will be indented slightly, italicized (Wikipedia house style for self-referential notes), and both preceded and followed by a linebreak.
To use it inline without the indentation and line break, add the parameter |inline
:
{{Selfref|the self-referential text to display, including links|inline}}
which produces:
the self-referential text to display, including links
Example[Quelltext bearbeiten]
Code | Page on Wikipedia | Page on [some] mirrors |
---|---|---|
{{Selfref|For the Wikipedia Sandbox, see [[WP:SAND]]}}
|
For the Wikipedia Sandbox, see WP:SAND
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[Quelltext bearbeiten]