smileys
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
smileys [2015-12-02 14:49] – [Notes and hints] Added a tip on how to add the smiley to a wiki article. 174.2.36.39 | smileys [2022-07-31 23:09] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Smileys ====== | ====== Smileys ====== | ||
- | ===== Usage ===== | + | [[DokuWiki]] can convert text smileys to their graphically equivalent. The [[wiki: |
- | [[DokuWiki]] can convert text smileys to their graphically equivalent. | + | The default smileys images are stored in the '' |
+ | |||
+ | |||
+ | Instead of using .gif based pixel graphics DokuWiki versions since Igor 2022 release use SVG smileys based on the [[https:// | ||
===== Customize smileys ===== | ===== Customize smileys ===== | ||
Line 9: | Line 12: | ||
To add your own smileys, and make them upgrade-safe as well, you should follow these instructions instead of mixing them with the default-smileys from Dokuwiki-package: | To add your own smileys, and make them upgrade-safe as well, you should follow these instructions instead of mixing them with the default-smileys from Dokuwiki-package: | ||
- | - Create a new folder called '' | + | - Create a new folder called '' |
- Create a custom smiley-config file at < | - Create a custom smiley-config file at < | ||
- | An example configuration file could look like this: < | + | An example configuration file could look like this: < |
# Custom Smileys | # Custom Smileys | ||
# Images are seen relatively from the smiley directory lib/ | # Images are seen relatively from the smiley directory lib/ | ||
# TEXT_TO_REPLACE | # TEXT_TO_REPLACE | ||
# | # | ||
- | : | + | : |
+ | |||
+ | # or eventually disable a smiley by mentioning the key, without image path. | ||
+ | DELETEME | ||
</ | </ | ||
Line 23: | Line 29: | ||
* It is good practice to surround your own text macros with colons (":" | * It is good practice to surround your own text macros with colons (":" | ||
- | * You can't use ''#'' | + | * Because it is reserved to mark a comment line, a hash ('' |
* If your newly added smiley does not appear in your edit toolbar popup, it is almost always a problem of [[caching]]. You may have to [[devel: | * If your newly added smiley does not appear in your edit toolbar popup, it is almost always a problem of [[caching]]. You may have to [[devel: | ||
* Make sure to have a space before and after the smiley when adding to a wiki article (e.g. Test :NEW: smiley). | * Make sure to have a space before and after the smiley when adding to a wiki article (e.g. Test :NEW: smiley). | ||
Line 52: | Line 58: | ||
| {{http:// | | {{http:// | ||
| {{http:// | | {{http:// | ||
+ | | Different sets: [[https:// | ||
+ | |||
+ | |||
+ | ===== User provided additional smileys packs ===== | ||
+ | |||
+ | The following smileys packs were created by DokuWiki users, using a similar style to the default ones. If you like them place them in your local smiley directory (lib/ | ||
+ | ^ Smileys pack image ^ url ^ created by ^ | ||
+ | | {{https:// | ||
+ | | {{https:// | ||
+ | | {{https:// | ||
+ | | {{https:// | ||
+ | More examples at https:// | ||
=====See also===== | =====See also===== | ||
+ | |||
* [[config|Configuring DokuWiki]] | * [[config|Configuring DokuWiki]] | ||
smileys.1449064183.txt.gz · Last modified: 2015-12-02 14:49 by 174.2.36.39