Module:Icon box/doc
| This Lua module is used on approximately 255,000 pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
| This module depends on the following other modules: |
Create a compact box with a list of icons and links, suitable for talk page banners. For mainspace usage, see {{Portal}} instead.
Usage
{{#invoke:Icon box|main|portal1=|portal2=|...|project1=|project2=|...|noticeboard1=|noticeboard2=|...}}
- Create a box with a optional list of portals, projects, and noticeboards
Specialized usage
{{#invoke:Icon box|portal|portal1|portal2|...}}
- Create box with a list of portals
{{#invoke:Icon box|wikiproject|projectname1|projectname2|...}}
- Create box with a list of wikiprojects
{{#invoke:Icon box|noticeboard|projectname1|projectname2|...}}
- Create box with a list of notice boards (usually WikiProject talk pages)
{{#invoke:Icon box|all|projectname}}
- Create box with a Portal, WikiProject, and Noticeboard/talk page
{{#invoke:Icon box|workgroup|wikiproject|work group}}
- Create box with a link to a work group within a wikiproject
{{#invoke:Icon box|taskforce|wikiproject|task force}}
- Create box with a link to a task force within a wikiproject
Named arguments
- align, float
- how to place box on page, default "right"
- color
- background color for box
- size
- font size. If bare number, interpreted as pt
- lh
- line height
- width
- width of box. If bare number, interpreted as px
- talign
- alignment of link text, defaults to "center"
- image
- (all, workgroup, and taskforce only, no namespace prefix) override default image
- ilink
- (all, workgroup, and taskforce only) override link in icon
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.