Template:Icon
From Apache OpenOffice Wiki
Revision as of 18:02, 23 May 2009 by Dominique Pautrel (Talk | contribs)
[[Image:{{{1}}}.png|{{{3}}}px]]
This template (will try to) use the ParserFunctions extension.
I see no reason for that I couldn't work. So you can :
- Help me.
- Be patient.
- Explain briefly why I could never be valid. or make me discover another existing simple syntax for this possibility.
Help
This template (will) use three (numbered=default) parameters :
- 1. Module
- Seven values available
- 2. Position
Nine values from 1 to 9
|
|
- 3. Size in pixels
- Optional, thus in third position. Max size if ignored.
- Example wished in a cell
2nd Parameter: Position. Mapping: | Call | Result of the template : | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{Icon|Calc|3|40}} |
The result is now a 40 pixels floating Calc icon, at the top right of the cell... |
{{Icon|Base|3|80}}
(Will) Give a floating icon for Base, 80 pixel sized, top right aligned :