Template:AppItem: Difference between revisions

From KDE UserBase Wiki
(Created page with "|colspan="2"|<h4>[[Special:myLanguage/{{{1}}}|{{{3}}}]]</h4> |- |[[Image:{{{2}}}|48px|link=Special:myLanguage/{{{1}}}]]||")
 
No edit summary
Line 1: Line 1:
|colspan="2"|<h4>[[Special:myLanguage/{{{1}}}|{{{3}}}]]</h4>
|colspan="2"|<h4>[[Special:myLanguage/{{{1}}}|{{{3}}}]]</h4>
|-
|-
|[[Image:{{{2}}}|48px|link=Special:myLanguage/{{{1}}}]]||
|[[Image:{{{2}}}|48px|link=Special:myLanguage/{{{1}}}]]||<noinclude>
 
This template makes entries for application lists. It requires three arguments: A link (without the Special:myLanguage prefix), the name of an image file and a title. Even if the link and the title is the same, the title must be there since it should be translatable. It is meant to be used within a <nowiki>{| ... |}</nowiki> group and to be immediately followed by a short text.
 
Example:
{{Input|1=<nowiki>{|
{{AppItem|System Settings/Account Details|Image:Preferences-desktop-user.png|Account Details}}
Some descriptive text.
|}</nowiki>}} displays
 
{|
{{AppItem|System Settings/Account Details|Preferences-desktop-user.png|Account Details}}
Some descriptive text.
|}
 
[[Category:Template]]
</noinclude>

Revision as of 10:52, 9 July 2011

|colspan="2"|

[[Special:myLanguage/{{{1}}}|{{{3}}}]]

|- |[[Image:{{{2}}}|48px|link=Special:myLanguage/{{{1}}}]]||

This template makes entries for application lists. It requires three arguments: A link (without the Special:myLanguage prefix), the name of an image file and a title. Even if the link and the title is the same, the title must be there since it should be translatable. It is meant to be used within a {| ... |} group and to be immediately followed by a short text.

Example:

{|
{{AppItem|System Settings/Account Details|Image:Preferences-desktop-user.png|Account Details}}
Some descriptive text.
|}

displays

Account Details

Some descriptive text.