plugin:explain
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:explain [2019-08-02 02:54] – [Alternate Delimiter Feature Request] mekineer | plugin:explain [2024-01-08 16:01] (current) – Aleksandr | ||
---|---|---|---|
Line 19: | Line 19: | ||
Just like for the acronyms you can define a file containing a table which declares terms, a short explanation and two links to a longer definition. This automatically works for all those terms in the whole wiki. | Just like for the acronyms you can define a file containing a table which declares terms, a short explanation and two links to a longer definition. This automatically works for all those terms in the whole wiki. | ||
+ | |||
+ | [[https:// | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | [[https:// | ||
Search and install the plugin using the [[plugin: | Search and install the plugin using the [[plugin: | ||
Line 85: | Line 86: | ||
Edward Barker | Edward Barker | ||
- | ==== Edit the conf/ | + | ==== Edit the conf/ |
- | Base on the style of plugins, I have changed the CSS to plugins/ | + | The file can be [[https:// |
- | <code css> | + | |
- | div.dokuwiki a.explain { | + | The TAB character can't be used for editing within the browser, as it just skips to the next field. |
- | color: __black__; | + | Thanks to https:// |
- | border-bottom: | + | Instead of the CSV code below, I chose to use 4 whitespace characters as the delimiter, by changing line 53 from:\\ |
- | padding-top: | + | $parts = explode(" |
- | } | + | to: |
- | + | $parts = explode(" | |
- | div.dokuwiki a.explain: | + | |
- | background-color: | + | |
- | } | + | |
- | </ | + | |
- | I have also changed the code a little bit to use comma separated instead of TAB separated s.t. the file can be [[https:// | + | |
+ | Which is a lot easier than the CSV code below. | ||
<code php> | <code php> | ||
<?php | <?php | ||
Line 221: | Line 218: | ||
</ | </ | ||
+ | Base on the style of plugins, I have changed the CSS to plugins/ | ||
+ | <code css> | ||
+ | div.dokuwiki a.explain { | ||
+ | color: __black__; | ||
+ | border-bottom: | ||
+ | padding-top: | ||
+ | } | ||
+ | | ||
+ | div.dokuwiki a.explain: | ||
+ | background-color: | ||
+ | } | ||
+ | </ | ||
- | Ken Cheung 2007-04-30 | + | Ken Cheung 2007-04-30\\ |
+ | Marcos Reyes 2019-08-01 | ||
==== regular expressions ==== | ==== regular expressions ==== | ||
Line 362: | Line 372: | ||
-- Alois Hockenschlohe, | -- Alois Hockenschlohe, | ||
+ | |||
+ | ==== Ignore this Word ==== | ||
+ | |||
+ | I love the plugin, thank you! One question, or maybe it's a request... Some terms may be used in the ' | ||
+ | |||
+ | [[user> | ||
+ | |||
plugin/explain.1564707284.txt.gz · Last modified: 2019-08-02 02:54 by mekineer