Jump to content

Template:Crossref/doc: Difference between revisions

Re Clean up
(Created page with "{{Documentation subpage}} {{High-use}} {{Template shortcut|Xref|Crossref}} {{lua|Module:Hatnote inline}} {{Uses TemplateStyles|{{NAMESPACE}}:{{ROOTPAGENAME}}/styles.css}} The {{tlx|{{ROOTPAGENAME}}}} (a.k.a. {{tlx|crossref}} or {{tlx|xref}}) template formats text into a standardized style for an {{em|inline}} (not block-level) "''(See also ...)''"-type parenthetical Wikipedia crossreference to other Bharatpedia material. When on different pages, these a...")
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(Re Clean up)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
{{Uses TemplateStyles|{{NAMESPACE}}:{{ROOTPAGENAME}}/styles.css}}
{{Uses TemplateStyles|{{NAMESPACE}}:{{ROOTPAGENAME}}/styles.css}}


The {{tlx|{{ROOTPAGENAME}}}} (a.k.a. {{tlx|crossref}} or {{tlx|xref}}) template formats text into a standardized style for an {{em|inline}} (not block-level) "''(See also ...)''"-type parenthetical [[MOS:CROSSREF|Wikipedia crossreference]] to other Bharatpedia material. When on different pages, these are [[BP:SELFREF|unprintworthy Bharatpedia self-references]].  When crossreferencing material on the same page, they are not. For block-level crossreferences, see the {{tlx|Hatnote}} meta-template and its various progeny ({{tlx|See also}}, etc.). The output is ultimately produced by [[Module:Hatnote inline]].  It actually does support a block-level mode, however, for special cases (see parameter documentation below).
The {{tlx|{{ROOTPAGENAME}}}} (a.k.a. {{tlx|crossref}} or {{tlx|xref}}) template formats text into a standardized style for an {{em|inline}} (not block-level) "''(See also ...)''"-type parenthetical [[MOS:CROSSREF|Bharatpedia crossreference]] to other Bharatpedia material. When on different pages, these are [[BP:SELFREF|unprintworthy Bharatpedia self-references]].  When crossreferencing material on the same page, they are not. For block-level crossreferences, see the {{tlx|Hatnote}} meta-template and its various progeny ({{tlx|See also}}, etc.). The output is ultimately produced by [[Module:Hatnote inline]].  It actually does support a block-level mode, however, for special cases (see parameter documentation below).


See [[:Category:Cross-reference templates]] for other templates derived from or similar to this template.
See [[:Category:Cross-reference templates]] for other templates derived from or similar to this template.
Line 11: Line 11:
== Usage ==
== Usage ==


The template does not automatically create links of any kind. Links and other desired formatting (round brackets, terminal punctuation) must be explicitly added, using normal [[Bharatpedia:Cheatsheet|Wikipedia markup]].
The template does not automatically create links of any kind. Links and other desired formatting (round brackets, terminal punctuation) must be explicitly added, using normal [[Bharatpedia:Cheatsheet|Bharatpedia markup]].
<!--DEPRECATED BY AUTHOR; going to replace them: Usage for links in the same article is discouraged, in favor of the more specific templates {{tlx|See above}} and {{tlx|See below}}.-->
<!--DEPRECATED BY AUTHOR; going to replace them: Usage for links in the same article is discouraged, in favor of the more specific templates {{tlx|See above}} and {{tlx|See below}}.-->