Predloga:Crossreference printworthy
This (probably best used by its shortcuts {{xref-print}} and {{crossref-print}}) is a convenience and "code mess reduction" template wrapper for {{crossreference|{{{1}}}|printworthy=yes}}.
Usage
This accepts the following parameters:
- Unnamed first parameter, or named as
|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.
Intended uses
- This is primarily intended for use in disambiguation pages, set index articles, portals, and other "user-facing content but not really an article" places where an inter-page explicit Wikipedia self-reference should be printable because the page in question would not be useful if printed with these links suppressed as self-refs.
- It should be used for cross-references in regular articles that are to another section at the same page; we have no reason to suppress those.
- It can also be used in lists when the cross-reference is to a separate article but this topic also has an entry in the list at the same name as that external article (i.e., the cross-reference will still be useful if the material is being read offline).
- It can also be used in internal Wikipedia pages like guidelines, where we have no need to suppress self-refs (all guideline material and the like is one giant self-ref).
It's for things like the following, i.e. cases of "Wikipedia interrupting to directly address the reader" – but only A) on pages where these instructive comments must be printable for the page to be useful because of the kind of page it is, or B) because the specific cross-reference is to more content in the same page:
{{crossref-print|(See [[Early life of Foo of Baria]] for more detail.)}}{{crossref-print|This list does not include doodas or deedas, which are covered at [[Doodalidae]] and [[List of doodalids]].}}* '''Baz Quuxians''': {{crossref-print|See [[#Quux Bazians|Quux Bazians]]}}– in any page, since this is a cross-reference to the same page.* '''Baz Quuxians''': {{crossref-print|See [[Quux Bazians]]}}– in a list that also has a summary-style entry by this name:* '''Quux Bazians''': ...
Do not use for ...
- General wikilinks (as in
She has been the CEO of [[XYZ124 Ltd]] since 2005); those are always printable. - Self-references in regular articles that point to other pages. Use
{{Crossreference}}(AKA{{xref}},{{crossref}}) for that – it's what that template was created for. Example:...after the end of the war. {{crossref|(See [[Aftermath of the Foo–Bar War of 1817]].)}}. Inter-article cross-references should be suppressed, because our article content is intended to stand alone as plain text if printed; any kind of "dependency" on some other page which cannot be accessed except when you're right here at Wikipedia is hidden from printed versions (and anything else that makes use of the printworthiness classes to "clean" the content for reuse).
Redirects
The following alternative names redirect to this template:
{{xref-print}}{{crossref-print}}{{cross-ref print}}{{cross-reference printworthy}}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.









