Template:Wikibullet
Purpose
This template supplies a "noprint" class bulleted item.
Authors of templates which provide bulleted items such as search links are responsible for applying an informed and judicious use of HTML classes noprint.
Applicable attributes include
- selfreference
- A direct reference to what is not content. These are stripped from some re-use of content.
- metadata
- A reference to content in the context of Wikipedia operations or maintenance; for example, references to status or maintenance categories or tags that are not content proper. These also are stripped from some re-use of content; for example, in print and in "extracts" they are removed, but not in "mobile".
- noprint
- Online-only elements. They make little or no sense in a paper or electronic facsimile of the online page. Online, the display elements with the "noprint" attribute are stripped from a print preview of page. For example, a button or other elements that require interactive actions in order to be useful.
- nomobile
- Hides things explicitly from the "mobile" medium. (No room for interpretation.)
- plainlinks
- Can, for example, hide this section's external-link [1] arrow icon as [2], or even disguised it as a wikilink.
Templates that apply these attributes include, for example {{selfref}} and {{nomirror}}.
For example, the output of the {{intitle}} or {{lookfrom}} are self-references in article space. In other namespaces, such as this one, a search link is not a self reference, and may need to be printed.
Markup{{wikibullet | {{intitle}} }}
{{wikibullet | {{lookfrom}}}}
{{wikibullet | {{search link| Wikipedia: intitle: "external links" }}}}
Renders as
| There is no standard way to print preview from your browser, but the menu items and keyboard shortcuts will include print preview. In Firefox and Internet Explorer, choose "Print preview" in the File menu; in Google Chrome, press ctrl+P. |
Print previews as
Usage
Defaults to a noprint bullet. Otherwise you can write
|bullet=no and |print=yes.
- parameter one
- the bullet item, also noprint
- parameter two, three, and four
- the HTML classes
For good spacing in the rendering on screen or paper place noprint bullets at the top or bottom of bullet list, not in the middle: The spacing in the screen version and print versions are slightly different. The discrepancy between the screen and normal bullets, begins to show after three bullets: see columns two and three. The same discrepancy does not show in print. The column labeled "Wrong" does not space well in print.
|
good
Footer |
Good
Footer |
Good
Footer |
Good Footer |
Wrong
Footer |
It goes at the beginning of a line. The first parameter as the bullet item. For example,
the search link template ''intitle'':
* Item 1
* Item 2
{{wikibullet | {{intitle}} | selfreference}}
{{wikibullet | {{lookfrom}} | nomobile}}
Renders as: the search link template intitle:
- Item 1
- Item 2
Examples
{{Nomirror}} uses <span class="selfreference noprint">...</span>.
{{Noprint}} uses <span class="selfreference noprint">...</span>.
{{in title/sandbox}} uses span or div tags per inline or bulleted line
{{tlg}} applies span tags per parameters
What you tried
{{nomirror|'''Special searches'''
* {{In title|Wikipedia}}
* {{lookfrom|Wikipedia}}
}}
What you got
Span tags leaves a stray bullet in the print preview, unlike div tags.
What you type now
{{noprint | '''Special searches'''
{{wikibullet | {{In title|Wikipedia}}
{{wikibullet | {{lookfrom|Wikipedia}}
}}
Now what you get
A print preview of this page will now hide the bullet list under Now what you get.
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.