Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:systemomega-setup [2014/10/27 17:56] Roman Sališ [prettytables plugin] |
wiki:systemomega-setup [2015/04/20 16:18] (aktuálne) Michala Hrnková [Include Plugin] |
||
---|---|---|---|
Riadok 6: | Riadok 6: | ||
- | Pluginy, ktoré sú nainštalované mimo základnej distribúcie: | + | Pluginy, ktoré sú nainštalované mimo základnej distribúcie aj s poznámkami: |
Riadok 46: | Riadok 46: | ||
---- | ---- | ||
+ | |||
+ | ==== Page Title Plugin ==== | ||
+ | |||
+ | [[https://www.dokuwiki.org/plugin:pagetitle|Page Title Plugin]] od S.Sahara | ||
+ | |||
+ | Pomocou jednoduchého kódu je možné definovať vlastný nadpis stránky: | ||
+ | <code> | ||
+ | ~~Title: some page title which different from the first heading~~ | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Imagereference plugin ==== | ||
+ | |||
+ | [[https://www.dokuwiki.org/plugin:imagereference:pagetitle|Imagereference plugin]] od G. Uitslag | ||
+ | |||
+ | Pridávanie nadpisov obrázkov a tabuliek a možnosť robiť referencie na ne. | ||
+ | \\ Urobili sme podporu pre slovenskú verziu v súbore ''lib/plugins/imagereference/lang/sk/lang.php'' | ||
+ | |||
+ | <code> | ||
+ | <imgcaption ref1|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption> | ||
+ | |||
+ | The Dokuwiki image can be seen in <imgref ref1>. | ||
+ | </code> | ||
+ | <imgcaption ref1|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption> | ||
+ | |||
+ | The Dokuwiki image can be seen in <imgref ref1>. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Translation Plugin ==== | ||
+ | |||
+ | [[https://www.dokuwiki.org/plugin:translation|Translation Plugin]] od Andreas Gohr | ||
+ | |||
+ | Jazykové mutácie stránok. | ||
+ | |||
+ | ---- | ||
==== AlignCode ==== | ==== AlignCode ==== | ||
AlignCode Plugin od Roman Sališ | AlignCode Plugin od Roman Sališ | ||
- | Pri formátovaní tag-u ''code'' zarovná text vľavo a zobrazí kód bez zbytočných tabulátorov. Funguje automaticky, nič netreba aktivovať. Ak by bolo predsa len vynútiť pôvodné správanie, potom stačí použiť tag ''file''. | + | Pri formátovaní tag-u ''code'' zarovná text vľavo a zobrazí kód bez zbytočných tabulátorov alebo medzier. |
+ | Funguje automaticky, nič netreba aktivovať. Ak by bolo predsa len vynútiť pôvodné správanie, potom stačí použiť tag ''file''. | ||
+ | |||
+ | Použitie ''%%<file php>%%'': | ||
+ | <file php> | ||
+ | $result = array(); | ||
+ | |||
+ | |||
+ | if (empty($settings["patientMsId"])) { | ||
+ | return x2_register_result(FALSE, getErrorText("7238.09.2")); | ||
+ | } | ||
+ | </file> | ||
+ | |||
+ | To isté ale ako ''%%<code php>%%'': | ||
+ | <code php> | ||
+ | $result = array(); | ||
+ | |||
+ | |||
+ | if (empty($settings["patientMsId"])) { | ||
+ | return x2_register_result(FALSE, getErrorText("7238.09.2")); | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | Ďalšie možnosti: | ||
+ | * ''%%<code php>%%'' | ||
+ | * ''%%<code php example.php>%%'' -> bude poskytnutý download ako ''example.php'' | ||
+ | * ''%%<code php example.php space=2>%%'' -> zamení dve medzery za tabulátor, bude poskytnutý download ako ''example.php'' | ||
+ | * ''%%<code php file=example.php&space=2>%%'' -> zamení dve medzery za tabulátor, bude poskytnutý download ako ''example.php'' | ||
+ | |||
+ | ---- | ||
==== Backticks ==== | ==== Backticks ==== | ||
Riadok 68: | Riadok 135: | ||
* ``table2`.`name`` | * ``table2`.`name`` | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Include Plugin ==== | ||
+ | |||
+ | This is a handy plugin with which you can include another wiki page into the current one. Just including certain sections of a page or even whole namespaces is supported, too. | ||
+ | |||
+ | ==== Condition Plugin ==== | ||
+ | |||
+ | The Syntax Plugin allows to parse a content only if a specific condition (or multiple condition) is fulfilled. Some basic tests are provided and users can add new tests just by implementing a file in the template directory. | ||