Category | Template | Form |
---|---|---|
Text | Text | Text |
Author | Author | Author |
Collection | Collection | Collection |
Keywords | Keywords | Keywords |
Subpage | Subpage | Subpage |
Template | Form |
---|---|
BrowseTexts | BrowseTexts |
BrowseAuthors | BrowseAuthors |
BrowseLetters | BrowseLetters |
Template:GalleryAuthorsPreviewSmall
Special pages :
Template:Selfref
The {{Selfref}} template adds a {{hatnote}} to an article that will not appear in any reuse of the wiki article (transclusion, printing...). Self-references in an article usually mention the wiki directly or tell readers to take an action that has to take place on the wiki, such as editing the article. Reading such information off-site would only cause confusion.
With this template, you can safely make a self-reference where needed, but that need is rare, because the main templates that display self-references ({{See also}}...) already avoid displaying off-site.
Usage
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.
Template {{Selfref}} also has the parameter |inline
:
{{Selfref|the self-referential text to display, including links|inline}}
but it does not always function properly as of early 2019, and may cause a line break under some circumstances.
Example
Code | Page on Wikipedia | Page on [some] mirrors |
---|---|---|
{{Selfref|For the Wikipedia Sandbox, see [[WP:SAND]]}}
|
(You can edit it by clicking "edit" on the page.) It has been edited many times.
|
The Wikipedia Sandbox is a page on Wikipedia. The Wikipedia Sandbox is a page on Wikipedia. It has been edited many times. |