DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:pot [2024-02-12 20:34] – [Shortcuts] Aleksandrplugin:pot [2024-02-13 23:29] (current) – compatible with "Igor" Aleksandr
Line 7: Line 7:
 type       : syntax  type       : syntax 
 lastupdate : 2022-08-03  lastupdate : 2022-08-03 
-compatible : Hogfather +compatible : Hogfather, Igor
 depends    :   depends    :  
 conflicts  :   conflicts  :  
Line 44: Line 44:
 The values are a simple line of entries in the format: "''%%key=value | key=value | key=value%%''" The values are a simple line of entries in the format: "''%%key=value | key=value | key=value%%''"
  
-^ key  ^ shortcut  ^ (default) value  ^ why  +^ key               ^ shortcut                      ^ (default) value                                                                                                                                               ^ why                                                                                                    
-| set    | any number or word,  | with this key word you will set a page default, see below  +''set''                                         | any number or word                                                                                                                                            | with this key word you will set a page default, see below                                              
-| potid  | @value or #value  | unique id for this pot, see below: shortcut  | necessary if you want to use this pot-result within an other pot  +''potid''         ''@value''\\ or\\ ''#value''  | unique id for this pot, see below: shortcut                                                                                                                   | necessary if you want to use this pot-result within an other pot                                       
-| decimals    | (0) how many numbers after the decimal point    +''decimals''                                    | (0) how many numbers after the decimal point                                                                                                                                                                                                                         
-| currency    | () symbols ( €, $, ...) or letters (EUR, DOL, ...)    +''currency''                                    | () symbols ( €, $, ...) or letters (EUR, DOL, ...)                                                                                                                                                                                                                   
-            | you can use " _ " to place the currency before or after the value: eg. "_ €" is replaced to "value €" and "€ _" is replaced to "€ value" (default ist after)   +                                                | you can use " _ " to place the currency before or after the value: eg. "_ €" is replaced to "value €" and "€ _" is replaced to "€ value" (default ist after)                                                                                                        
-| width    | (0) length of the result field in the format: 10px  | if you need all numbers nicely below the other  +''width''                                       | (0) length of the result field in the format: 10px                                                                                                            | if you need all numbers nicely below the other                                                         
-| formula    | (false) true  | shows the formula if true  +''formula''                                     | (false) true                                                                                                                                                  | shows the formula if true                                                                              
-| display    | (flex) none  | none if you need to hide the pot ( it is still shown in the html code!)  +''display''                                     | (flex) none                                                                                                                                                   | none if you need to hide the pot ( it is still shown in the html code!)                                
-| float  | !  | (left) right    +''float''         ''!''                         | (left) right                                                                                                                                                                                                                                                         
-| sepmil    | (,)  | the sign which separates the thousand (1.000,00)  +''sepmil''                                      | (,)                                                                                                                                                           | the sign which separates the thousand (1.000,00)                                                       
-| sepdec    | (.)  | the sign which separates the decimals (0,00)  +''sepdec''                                      | (.)                                                                                                                                                           | the sign which separates the decimals (0,00)                                                           
-| defaultentry  | ~value    | shortcut, if you have used "set=3" you can use ~3 to call all settings done within the pot with set=3  | +''defaultentry''  ''~value''                                                                                                                                                                                  | shortcut, if you have used "set=3" you can use ~3 to call all settings done within the pot with set=3  | 
-| color+      | set a color for results above 0  +''color+''                                                                                                                                                                                                    | set a color for results above 0                                                                        
-| color-      | set a color for results beneath 0  +''color-''                                                                                                                                                                                                    | set a color for results beneath 0                                                                      
-| type    | (formula) text  | the pot can be used to calculate formulas or to set and reuse text  |+''type''                                        | (formula) text                                                                                                                                                | the pot can be used to calculate formulas or to set and reuse text                                     |
  
 === More examples === === More examples ===
plugin/pot.1707766468.txt.gz · Last modified: 2024-02-12 20:34 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki