Template:ਸੈਲਫਰੈਫ
- -{zh;zh-hans;zh-hant|{{{1}}}}-
ਵਰਤੋਂ
[edit]{{Selfref}}
is a template that is used to mark pieces of text and links that wouldn't make sense on mirrors of Wikiversity: see Wikiversity:Self-references to avoid.
In most cases, {{Selfref}} is used to create a disambiguation link to a page in the Wikiversity: namespace from article space; for instance, could have a selfref link '{{Selfref|For Wikiversity's policy on avoiding bias, see [[Wikiversity: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.
ਉਦਾਹਰਨ
[edit]Code | Page on Wikiversity | Page on some mirrors |
---|---|---|
{{Selfref|For the Wikiversity Sandbox, see [[WV: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. |
Template:Selfref
The Wikipedia Sandbox is a page on Wikipedia. Template:Selfref It has been edited many times. |
The Wikipedia Sandbox is a page on Wikipedia. It has been edited many times. |
ਇਹ ਵੀ ਦੇਖੋ
[edit]- Wikiversity:Self-references to avoid
- {{srlink}}, for the opposite case when you want a link to the Wikipedia: namespace that does show in mirrors without breaking (for instance when writing an article about Wikipedia or something connected to it).
- Wikiversity:Hatnote
The above documentation ਪੰਜਾਬੀ is transcluded from Template:ਸੈਲਫਰੈਫ/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |