plugin:pot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:pot [2022-01-10 16:51] – [potid] Aleksandr | plugin:pot [2024-02-13 23:29] (current) – compatible with "Igor" Aleksandr | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : | email : | ||
type : syntax | type : syntax | ||
- | lastupdate : 2022-01-09 | + | lastupdate : 2022-08-03 |
- | compatible : Hogfather | + | compatible : Hogfather, Igor |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : calculation | + | tags : calculation, math |
downloadurl: | downloadurl: | ||
Line 44: | Line 44: | ||
The values are a simple line of entries in the format: "'' | The values are a simple line of entries in the format: "'' | ||
- | ^ key ^ shortcut | + | ^ key |
- | | set | | + | | '' |
- | | potid | @value or # | + | | '' |
- | | decimals | + | | '' |
- | | currency | + | | '' |
- | | width | | + | | |
- | | formula | + | | '' |
- | | display | + | | '' |
- | | float | ! | (left) right | | + | | '' |
- | | sepmil | + | | '' |
- | | sepdec | + | | '' |
- | | defaultentry | + | | '' |
- | | color+ | + | | '' |
- | | color- | + | | '' |
- | | type | | + | | '' |
+ | | '' | ||
=== More examples === | === More examples === | ||
Line 96: | Line 97: | ||
With " | With " | ||
- | ==== hortcuts | + | ==== Shortcuts |
- | Some signs are definde as shortcuts. You might use them in the "format" | + | Some signs are definde as shortcuts. You might use them in the '' |
- | | + | '' |
- | | shortcut | the same as | | | + | ^ Shortcut |
- | | @value | + | | '' |
- | | #value | potid=value_(uniqueNumber) | nice to use in tables and to sum them with {#value} later | | + | | '' |
- | | ! | float= right | probebly best in tables to have your numbers nicely on the right side | | + | | '' |
- | | ~value | defaultentry=value | fetches page settings which were set erlier with "set=value" | + | | '' |
- | ==== text ==== | + | ==== Text ==== |
To use this plugin for text entries simply write: | To use this plugin for text entries simply write: | ||
- | <POT> my text </POT> | + | <POT> my text </ |
- | You can use this text later on the page with {@value}. A other plugin with similar functions: [[https:// | + | or |
+ | <pot format=text > my text </ | ||
- | ==== WYSiWYG editor ==== | + | You can use this text later on the page with '' |
- | Unfortunately, | + | |
- | [[https:// | + | ==== WYSIWYG editor ==== |
+ | |||
+ | Unfortunately, | ||
Line 131: | Line 135: | ||
This first attempt is only done with php. That is why the calculations and name assignments are made from top to bottom. Possibly, at some point, a variant with javascript will be created in order to be able to retrieve the set values on the whole page unhindered. | This first attempt is only done with php. That is why the calculations and name assignments are made from top to bottom. Possibly, at some point, a variant with javascript will be created in order to be able to retrieve the set values on the whole page unhindered. | ||
- | ==== developer | + | ==== Developer |
Unfortunately, | Unfortunately, | ||
plugin/pot.1641829874.txt.gz · Last modified: 2022-01-10 16:51 by Aleksandr