Template:LinkBox
From Gentoo Wiki
[[File:{{{icon}}}|bottom|link={{{link}}}]] [[{{{link}}}|{{{title}}}]]
[edit]
Documentation
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Use this template to create linkboxes like the ones on the main page.
Parameters
- icon
- Add an icon.
- link
- Add a link.
- title
- Add a title.
- width (optional)
- Set the width. (Defaults to 15em)
- unnamed (optional)
- Some text.
Usage
See the template's testcases:
Parameter: icon, link, title | |
---|---|
Wiki code | {{LinkBox|icon=IconDisc.png|link=Main Page|title=Our main page}}
|
Main version | |
Sandbox version |
Parameter: unnamed | |
---|---|
Wiki code | {{LinkBox|icon=IconDisc.png|link=Main Page|title=Our main page|with lots of linkboxes.}}
|
Main version | Our main page
with lots of linkboxes. |
Sandbox version | Our main page
with lots of linkboxes. |
Note
The above documentation is transcluded from Template:LinkBox/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)
The above documentation is transcluded from Template:LinkBox/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)