Template:Crossreference/doc
This is a documentation subpage for Template:Crossreference (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
The {{crossreference}} (a.k.a. {{crossref}}) template formats text into a standardized style for an inline (not block-level) "(See also ...)"-type parenthetical Festipedia crossreference to other Festipedia material. When on different pages, these are unprintworthy Festipedia 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[edit]
Basic crossreference to another page:
Markup | Renders as |
---|---|
{{Crossreference|(See also [[Charles Easton Spooner]].)}} |
|
Basic crossreference on same page:
Markup | Renders as |
---|---|
{{Crossreference|selfref=no|(see [[#Parameters]])}} |
|
All parameters:
Markup | Renders as |
---|---|
{{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 MediaWiki markup.
Parameters[edit]
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 Festipedia. This option should not be used on cross-article links, only links within the same article. 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[edit]
The following alternative name redirects to this template:
- {{crossref}}
See also[edit]
- {{Hatnote inline}}, for the meta-template this template uses, and other templates that use it
Template data[edit]
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 |