সাঁচ:Crossreference
এই সাঁচে লুৱা ব্যৱহাৰ কৰে: |
The {{crossreference}}
(a.k.a. {{crossref}}
or {{xref}}
) template formats text into a standardized style for an inline (not block-level) "(See also ...)"-type parenthetical Wikipedia crossreference to other Wikipedia material. When on different pages, these are unprintworthy Wikipedia self-references. When crossreferencing material on the same page, they are not. For block-level crossreferences, see the {{Hatnote}}
meta-template and its various progeny ({{See also}}
, etc.). The output is ultimately produced by Module:Hatnote inline.
See Category:Cross-reference templates for other templates derived from or similar to this template.
Usage
সম্পাদনা কৰকBasic crossreference to another page:
লিপি | প্ৰদৰ্শন কৰে |
---|---|
{{Crossreference|(See also [[Radical Whigs]].)}} |
|
Basic crossreference on same page:
লিপি | প্ৰদৰ্শন কৰে |
---|---|
{{Crossreference|selfref=no|(see [[#Parameters]])}} |
|
All parameters:
লিপি | প্ৰদৰ্শন কৰে |
---|---|
{{Crossreference|text|class=class1 class2|selfref=no}}}} |
|
The meta-template does not automatically create links of any kind. Links and other desired formatting (round brackets, terminal punctuation) must be explicitly added, using normal Wikipedia markup.
Parameters
সম্পাদনা কৰকThis template accepts the following parameters:
|1=
or|text=
or|content=
– The cross-reference text (required). While the explicit naming of this parameter with1=
,text=
, orcontent=
is not required, it is always safest to use it this way, since any=
character in the text will break the template if the parameter is unnamed.|class=
or|extraclasses=
– Any extra CSS classes to be added. This should not normally be used.|selfref=no
– If set to no (or n, false, 0, etc.) removes the default CSS classselfref
, used to denote unprintworthy self-references to Wikipedia . This option should not be used on cross-article links, only links within the same article (and the shorthand templates{{See above}}
and{{See below}}
can be used for this purpose). The parameter aliases|printworthy=yes
(or with any other value, like y, true, 1, etc.) and|unprintworthy=no
(or n, false, 0) have the same effect as|selfref=no
.
Redirects
সম্পাদনা কৰকThe following alternative names redirect to this template:
{{xref}}
{{crossref}}
{{cross-ref}}
{{cross-reference}}
See also
সম্পাদনা কৰক{{Hatnote inline}}
, for the meta-template this template uses, and other templates that use it{{See above}}
and{{See below}}
, some specific, printworthy "child" templates of{{Crossreference}}
- Template:Hatnote templates documentation, for all the block-format hatnotes]]
Template data
সম্পাদনা কৰকformats text into a standardized style for an inline (not block-level) "(See also ...)"-type parenthetical Wikipedia crossreference to other Wikipedia material.
পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
---|---|---|---|---|
text | text 1 content | কোনো বিৱৰণ নাই | অজ্ঞাত | ঐচ্ছিক |
CSS classes | class extraclasses | কোনো বিৱৰণ নাই | অজ্ঞাত | ঐচ্ছিক |
printworthy | printworthy selfref | কোনো বিৱৰণ নাই | বুলিয়ান | ঐচ্ছিক |
The above documentation is transcluded from সাঁচ:Crossreference/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |