Template:Lbox
Use
This linkbox template creates a floating linkbox to a designated target.
The syntax for this template is:
{{lbox|var1|var2|image=Image|size=Size|border=yes|boxsize=Boxsize|break=yes|left=yes|margin=Margin|link=Target|alt=Alt text}}
where:
- var1 is the link target.
- var2 is the link description.
- The default link description is the link target.
- image= The image to display.
- The default image is File:Globe.png.
- size= An integer representing the width of the image in pixels.
- The default image size is the lesser width of 32 pixels or 28 pixels times the image aspect ratio.
- border= Whether to add a one-pixel border around the image.
- The default is no border.
- boxsize= An integer representing the width of the link box in pixels.
- The default boxsize is the minimum width to accommodate the image and text.
- left= Whether to float the link box to the left instead of to the right
- The default is float right.
- margin= The margin around the box. The margins can be customized using |margin=top right bottom left (e.g., |margin=0.25em 0 0.25em 0.25em) or removed using |margin=0.
- The default margin is 0.5em.
- link= The link target for the image.
- The default image link is the image file.
- alt= The alternate text for the image (for visually impaired readers.)
- The default alternate text is "logo".
Placement
This template is designed to be placed in the See also section of articles.
Example
{{lbox|South America|South<br/>America|image=South America.svg}} creates:
See also
- This template is similar to Template:Linkbox and Template:Minilink.
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.