Template:AppListItem

From KDE UserBase Wiki
Revision as of 08:47, 27 July 2012 by Claus chr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template inserts a suitable table row with an image left side and an textblock on the right containing a title and a short description.

The image will commonly be the icon of the application. You can adjust optionally the image size with the size parameter; remember to use px unit. Default size is 48px.

The title is marked up as heading level 4 and will appear in the table of contents. If title is omitted the pagename will be used as title instead and vice versa.

Image and title both link to the page.

Usage

:{|
{{AppListItem|image=Konqueror.png|size=64px|page=Konqueror|title=Konqui|description=The one and only internet browser.}}
|-
{{AppListItem|image=Kate.png|page=Kate|title=KAnotherTextEditor|description=A very powerful editor.}}
|}

Notice the wrapping table markup :{| ... |}

Preview

Konqui

The one and only internet browser.

KAnotherTextEditor

A very powerful editor.


|rowspan="2" style="padding-right:2em;"|[[Image:{{{image}}}|48px|link=Special:myLanguage/{{{title}}}]]

|

[[Special:myLanguage/{{{page}}}|{{{page}}}]]

|- |{{{description}}}