Template:LinkBox/testcases

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is the template test case page for Template:LinkBox and its sandbox version. You may have to purge this page to update the examples.
No parameter
Wiki code {{LinkBox}}

Main version
[[File:{{{icon}}}|bottom|link={{{link}}}]] [[{{{link}}}|{{{title}}}]]
Sandbox version
{{LinkBox template error}}
Parameter icon not defined. For correct usage see LinkBox template's documentation on the icon parameter.
Parameter: icon
Wiki code {{LinkBox|icon=IconDisc.png}}

Main version
link={{{link}}} [[{{{link}}}|{{{title}}}]]
Sandbox version
{{LinkBox template error}}
Parameter link not defined. For correct usage see LinkBox template's documentation on the link parameter.
Parameter: icon, link
Wiki code {{LinkBox|icon=IconDisc.png|link=Main Page}}

Main version
Sandbox version
{{LinkBox template error}}
Parameter title not defined. For correct usage see LinkBox template's documentation on the title parameter.


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
IconDisc.png Our main page
with lots of linkboxes.
Sandbox version
IconDisc.png Our main page
with lots of linkboxes.