Template:EduAppCell: Difference between revisions

From KDE TechBase
No edit summary
(Added usage & parameters)
 
Line 1: Line 1:
<noinclude>
<noinclude>
This writes a standard table cell for with an application icon, the application's name, and a link to the page.
This writes a standard table cell for with an application icon, the application's name, and a link to the page.
==Parameters==
;name
:Name of the app.
;icon
:Image name of the app's icon. Default is White32.png.
;link
:Startpage for the application. Default is Projects/Edu/''Name''
----
</noinclude>
</noinclude>
| style="vertical-align:bottom;text-align:center;padding-bottom:1em;" | [[Image:{{{icon|White32.png}}}|48px|link={{{link}}}]]<br />[[{{{link}}}|'''{{{name}}}''']]
| style="vertical-align:bottom;text-align:center;padding-bottom:1em;" | [[Image:{{{icon|White32.png}}}|48px|link={{{link|Projects/Edu/{{{name}}}}}}]]<br />[[{{{link}}}|'''{{{name}}}''']]

Latest revision as of 17:16, 6 July 2010

This writes a standard table cell for with an application icon, the application's name, and a link to the page.

Parameters

name
Name of the app.
icon
Image name of the app's icon. Default is White32.png.
link
Startpage for the application. Default is Projects/Edu/Name


| style="vertical-align:bottom;text-align:center;padding-bottom:1em;" | link=Projects/Edu/{{{name}}}
[[{{{link}}}|{{{name}}}]]