Template:Selfref/doc

From Wolfire Games Wiki
< Template:Selfref
Revision as of 01:23, 4 March 2012 by Conner36 (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> == Usage == <nowiki>{{Selfref}}</nowiki> is a template that is used to mark ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
http://wiki.wolfire.com/index.php?title=Template:Selfref/doc&oldid=3792
wiki.wolfire.com
crawl=CC-MAIN-2021-49
19079
application/http; msgtype=response
sha1:PGZHBCM4NROYJM5DN7FPHNTRN3QEQVDD
<urn:uuid:32067a61-5b7c-4faa-a19f-2765dd027fad>
2021-12-09T13:05:21Z
172.67.197.16
text/html
sha1:QYTO4LQAXMPUSYNJC2EMFWREQOJG4VS2
<urn:uuid:682b9aab-160d-4287-b0e9-7399b852c100>
http://wiki.wolfire.com/index.php?title=Template:Selfref/doc&oldid=3792
response
<urn:uuid:b382e6b7-f79d-42a1-b523-8af38cd2a7e3>
isPartOf: CC-MAIN-2021-49
publisher: Common Crawl
description: Wide crawl of the web for November/December 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-102
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/