வார்ப்புரு:Crossreference/doc
This is a documentation subpage for வார்ப்புரு:Crossreference. It may contain usage information, பகுப்புகள் and other content that is not part of the original வார்ப்புரு page. |
This template uses Lua: |
The {{Crossreference}} template formats text into a standardized style for an inline (not block-level) "(See also ...)"-type parenthetical to other Wikipedia material. When on the 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 many 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.
Usage for links in the same article is discouraged, in favor of the more specific templates {{See above}} and {{See below}}.
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | text 1 content | no description | Unknown | optional |
CSS classes | class extraclasses | no description | Unknown | optional |
printworthy | printworthy selfref | no description | Boolean | optional |