Template talk:Application: Difference between revisions
Simon Smith (talk | contribs) (→Notes: forgot to sign) |
Simon Smith (talk | contribs) (→How to use this template: Updated) |
||
Line 1: | Line 1: | ||
== How to use this template == |
== How to use this template == |
||
This is a template for adding a quick application pages. To include |
This is a template for adding a quick application pages. To include it in a page, enter <nowiki>{{Application|name=<application name>|image=<image address>|size=<horizontal size of image, in pixels>|caption=<image caption>|author=<author or company name>|os=<Known OS '''in'''compatibilities or requirements>|desc=<brief description, 50–100 words>|translations=<languages supported>|url=<application homepage|alt=<any well-known equivalents>}}</nowiki> |
||
Please ensure you include '''all''' fields. If you want to include an empty field, use eg: <nowiki>os=|</nowiki> that is, no text between the = and the | |
|||
For an example of this template, see [[Confix]] or [[Grapevine]] |
For an example of this template, see [[Confix]] or [[Grapevine]] |
||
For application icons, a size of twice the normal icon size is recommended, so that the icon is large enough to see clearly. Hence the usual default size will be 64 or 68 pixels. There is no need to specify a vertical size as well; the image will be scaled automatically without distorting its aspect ratio. |
|||
Revision as of 17:30, 9 October 2007
How to use this template
This is a template for adding a quick application pages. To include it in a page, enter {{Application|name=<application name>|image=<image address>|size=<horizontal size of image, in pixels>|caption=<image caption>|author=<author or company name>|os=<Known OS '''in'''compatibilities or requirements>|desc=<brief description, 50–100 words>|translations=<languages supported>|url=<application homepage|alt=<any well-known equivalents>}}
Please ensure you include all fields. If you want to include an empty field, use eg: os=| that is, no text between the = and the |
For an example of this template, see Confix or Grapevine
For application icons, a size of twice the normal icon size is recommended, so that the icon is large enough to see clearly. Hence the usual default size will be 64 or 68 pixels. There is no need to specify a vertical size as well; the image will be scaled automatically without distorting its aspect ratio.
Notes
The whole thing is positionable with CSS. It expects to find a class: "infobox bordered", which the current stylesheet doesn't have, but I'm planning on bringing up stylesheets in a separate comment at some point.
Almost all software that is likely to appear on this wiki will be largely OS-neutral, so in that case you only need to enter anything on the OS line if it doesn't work with all the current OS versions
Also it's easy enough to have this with more information in the normal text after the template.
How do you get the images the right size. E.g. WinSnap, MultiError?
Also, has there been any progress on the CSS front? I think the template would benefit a lot from being a bit wider.
Adamr 17:07, 9 October 2007 (BST)
The Application template is applying a default size of 300 pixels to all images. I'm experimenting with changing it now. I'd suggest specifying icons at 2x default size otherwise they are a bit tiddly. See here for further details on image formatting. CSS tweaks - don't know yet. Simon Smith 18:16, 9 October 2007 (BST)