Template:Self-reference link: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Dinoguy1000 (this count hasn't been updated for almost a decade, and should be included on the documentation if it is anywhere) |
||
Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#ifeq:{{SITENAME}}|Wikipedia | ||
|<!-- True, so make a wikilink | |<!-- True, so make a wikilink | ||
[[{{{1}}}]] or [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]] or [[{{{1}}}|{{{2}}}]] |
Latest revision as of 23:45, 3 April 2023
{{Self-reference link}} is used in articles about Wikipedia to link to a Wikipedia page in the form of an external link, so that the link will still work on mirrors and forks of Wikipedia. "Srlink" is short for "self-reference link". For when a self-reference link may, or should not, be used, see Wikipedia:Manual of Style/Self-references to avoid.
Usage
{{Srlink|Jimbo Wales}}
produces Jimbo Wales{{Srlink|Main Page|Wikipedia's Main Page}}
produces Wikipedia's Main Page{{Srlink|User:Magnus Manske|Magnus Manske's Wikipedia user page}}
produces Magnus Manske's Wikipedia user page
See also
- Wikipedia:Self-references to avoid § Writing about Wikipedia itself
- Wikipedia:Self-references to avoid § Self-reference tools
- {{Selfref}} – a hatnote for unprintworthy self-references
- {{Selfref inline}} – for unprintworthy inline self-references
- {{Printworthy selfref}} – for cases of self-references that are printworthy and may or may not be desired by reusers of WP content, depending upon whether they are mirroring or just using single articles