Wikipedia:Manual of Style/Self-references to avoid: Difference between revisions
Content deleted Content added
→Note that ..., It is important to ..., What is ...?, Surprisingly ..., Of course ...: Correction: This is not a shortcut to this MOS section, but to a separate standalone essay. |
LittleWink (talk | contribs) →Self-reference tools: template code consistency |
||
Line 70:
The self-reference template, {{tlx|selfref}}, is used to mark pieces of text and links that wouldn't make sense on copies of Wikipedia. This gives the ability to programmatically remove all such references or transform them into external links. Thus, the end product can have all of its self-references removed automatically for users, such as forks and mirrors. This template is most often used as a [[Wikipedia:Hatnote|hatnote template]] to help guide editors from an article to a related Wikipedia policy or guideline page in the [[Wikipedia:Project namespace|Wikipedia project namespace]].
Many hatnote templates that ''do'' contain helpful preset text and linking, such as {{
In cases where a Wikipedia page should link to Wikipedia itself (for instance, at [[Wikipedia]]) and this link should be kept on mirrors, the format {{tlx|srlink|link}} can be used to write the link as external, rather than internal when outside of Wikipedia, to prevent it breaking in mirrors. For instance: {{srlink|Main Page|Wikipedia's Main Page}} (made by <code><nowiki>{{srlink|Main Page|Wikipedia's Main Page}}</nowiki></code>) as opposed to [[Main Page|Wikipedia's Main Page]] (<code><nowiki>[[Main Page|Wikipedia's Main Page]]</nowiki></code>).
|