
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
| wiki:syntax [2024/05/29 23:29] – vytvořeno - upraveno mimo DokuWiki 127.0.0.1 | wiki:syntax [2025/03/02 21:31] (aktuální) – admin | ||
|---|---|---|---|
| Řádek 1: | Řádek 1: | ||
| - | ====== | + | ====== |
| + | [[doku> | ||
| + | ===== Základní formátování textu ===== | ||
| - | [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the //Edit this page// button at the top or bottom of the page. If you want to try something, just use the [[playground: | + | DokuWiki |
| + | DokuWiki podporuje **tučný**, | ||
| + | Samozřejmě je můžete **__//'' | ||
| - | ===== Basic text formatting ===== | + | Můžete také používat tagy < |
| + | Můžete také používat tagy < | ||
| + | Můžete označit text jako < | ||
| - | DokuWiki supports **bold**, | + | Můžete označit text jako < |
| + | **Odstavce** se vytvářejí pomocí prázdných řádků. Pokud chcete **vynutit nový řádek** bez vytvoření nového odstavce, můžete použít dvě zpětná lomítka následovaná mezerou nebo koncem řádku. | ||
| + | Toto je text s několika řádkovými zlomy\\ Poznamenejte si, že | ||
| - | DokuWiki supports **bold**, //italic//, __underlined__ and '' | + | dvě zpětná lomítka jsou rozpoznána pouze na konci řádku\\ |
| - | Of course you can **__//'' | + | nebo pokud jsou následována mezerou \\ tento efekt nastane bez ní. |
| + | Toto je text s několika řádkovými zlomy\\ Poznamenejte si, že | ||
| + | dvě zpětná lomítka jsou rozpoznána pouze na konci řádku\\ | ||
| - | You can use < | + | nebo pokud jsou následována mezerou \\ tento efekt nastane bez ní. |
| + | Používejte vynucené zlomy pouze, pokud je to opravdu potřeba. | ||
| + | ===== Odkazy ===== | ||
| - | You can use < | + | DokuWiki podporuje několik způsobů vytváření odkazů. |
| + | ==== Externí odkazy ==== | ||
| + | Externí odkazy jsou automaticky rozpoznávány: | ||
| - | You can mark something as < | + | DokuWiki podporuje několik způsobů vytváření odkazů. Externí odkazy jsou automaticky rozpoznávány: |
| + | ==== Interní odkazy ==== | ||
| + | Interní odkazy se vytvářejí pomocí hranatých závorek. Můžete uvést pouze [[pagename]] nebo použít dodatečné [[pagename|link text]]. | ||
| - | | + | |
| + | [[doku> | ||
| + | Můžete také používat [[some: | ||
| - | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | + | Můžete používat [[some: |
| + | Pro podrobnosti o jmenných prostorech viz [[doku> | ||
| + | Odkazování na konkrétní sekci je také možné – stačí za název stránky přidat znak hash (#) následovaný názvem sekce, stejně jako v HTML. Tento odkaz vede na [[syntax# | ||
| - | This is some text with some linebreaks\\ Note that the | + | Tento odkaz vede na [[syntax# |
| - | + | ||
| - | two backslashes are only recognized at the end of a line\\ | + | |
| - | + | ||
| - | or followed by\\ a whitespace \\this happens without it. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | This is some text with some linebreaks\\ Note that the | + | |
| - | + | ||
| - | two backslashes are only recognized at the end of a line\\ | + | |
| - | + | ||
| - | or followed by\\ a whitespace \\this happens without it. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You should use forced newlines only if really needed. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Links ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | DokuWiki supports multiple ways of creating links. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== External ==== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | External links are recognized automagically: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | DokuWiki supports multiple ways of creating links. External links are recognized | + | |
| - | + | ||
| - | automagically: | + | |
| - | + | ||
| - | link text as well: [[http:// | + | |
| - | + | ||
| - | addresses like this one: < | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Internal ==== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Internal links are created by using square brackets. You can either just give | + | |
| - | + | ||
| - | a [[pagename]] or use an additional [[pagename|link text]]. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | [[doku> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You can use [[some: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You can use [[some: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | For details about namespaces see [[doku> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | This links to [[syntax# | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Notes: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | |
| - | + | ||
| - | * DokuWiki does not use [[wp> | + | |
| - | + | ||
| - | * When a section' | + | |
| + | Poznámky: | ||
| + | * Odkazy na [[syntax|existující stránky]] se zobrazují odlišným stylem než [[nonexisting]] odkazy. | ||
| + | * DokuWiki nepoužívá automaticky [[wp> | ||
| + | * Pokud se změní nadpis sekce, změní se i záložka – proto se na odkazování na sekce příliš nespoléhejte. | ||
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| + | DokuWiki podporuje [[doku> | ||
| + | DokuWiki podporuje [[doku> | ||
| - | DokuWiki supports [[doku> | + | ==== Sdílení ve Windows ==== |
| + | Windows sdílení, jako například [[\\server\share|this]], | ||
| + | Windows sdílení jako [[\\server\share|this]] jsou rovněž rozpoznávány. | ||
| - | DokuWiki supports [[doku> | + | Poznámky: |
| - | | + | * Z bezpečnostních důvodů funguje přímé prohlížení |
| - | + | * U Mozilly a Firefoxu lze tuto funkci povolit přes konfigurační možnost | |
| - | + | * Více informací najdete na [[dokubug> | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Windows Shares ==== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Windows Shares like [[\\server\share|this]] are recognized, too. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Notes: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | | + | |
| - | + | ||
| - | * For Mozilla and Firefox it can be enabled through the config option | + | |
| - | + | ||
| - | * See [[dokubug> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Image Links ==== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | + | |
| + | ==== Odkazy na obrázky ==== | ||
| + | Obrázek můžete použít jako odkaz na jinou interní nebo externí stránku kombinací syntaxe odkazů a obrázků (viz níže). Například: | ||
| [[http:// | [[http:// | ||
| - | |||
| - | |||
| [[http:// | [[http:// | ||
| + | Poznámka: Formátování obrázků je jediná syntaxe formátování, | ||
| + | Celá syntaxe pro obrázky a odkazy je podporována (včetně změny velikosti obrázku, interních i externích obrázků, URL a interwiki odkazů). | ||
| - | Please note: The image formatting is the only formatting syntax accepted in link names. | + | ===== Poznámky pod čarou ===== |
| + | Poznámky pod čarou lze přidávat pomocí dvojitých závorek: ((Toto je poznámka pod čarou)). | ||
| + | ((Toto je poznámka pod čarou)). | ||
| - | The whole [[# | + | ===== Dělení sekcí ===== |
| + | Můžete použít až pět různých úrovní nadpisů k uspořádání obsahu. Pokud máte více než tři nadpisy, je automaticky generována obsahová tabulka – tuto funkci můžete vypnout vložením řetězce ''< | ||
| + | ==== Nadpis úrovně 3 ==== | ||
| - | ===== Footnotes ===== | + | === Nadpis úrovně 4 === |
| + | == Nadpis úrovně 5 == | ||
| + | ==== Nadpis úrovně 3 ==== | ||
| + | | ||
| + | === Nadpis úrovně 4 ==== | ||
| + | | ||
| + | == Nadpis úrovně 5 == | ||
| - | You can add footnotes ((This is a footnote)) by using double parentheses. | + | Pomocí čtyř nebo více pomlček můžete vytvořit vodorovnou čáru: |
| + | ---- | ||
| + | ===== Obrázky a další soubory ===== | ||
| - | You can add footnotes ((This is a footnote)) by using double parentheses. | + | Můžete vkládat externí i interní [[doku> |
| + | Reálná velikost: | ||
| + | Změna velikosti na zadanou šířku: | ||
| - | ===== Sectioning ===== | + | Změna velikosti na zadanou šířku a výšku (pokud poměr stran neodpovídá, |
| + | Externí obrázek ve změněné velikosti: | ||
| - | + | Reálná velikost: {{wiki: | |
| - | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''< | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Headline Level 3 ==== | + | |
| - | + | ||
| - | === Headline Level 4 === | + | |
| - | + | ||
| - | == Headline Level 5 == | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Headline Level 3 ==== | + | |
| - | + | ||
| - | === Headline Level 4 === | + | |
| - | + | ||
| - | == Headline Level 5 == | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | By using four or more dashes, you can make a horizontal line: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ---- | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Images and other files ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You can include external and internal [[doku> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Real size: {{wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Resize to given width: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Resize to given width and height((when the aspect ratio of the given width and height doesn' | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Resized external image: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Real size: {{wiki: | + | |
| - | + | ||
| - | Resize to given width: | + | |
| - | + | ||
| - | Resize to given width and height: {{wiki: | + | |
| - | + | ||
| - | Resized external image: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | By using left or right whitespaces you can choose the alignment. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | {{ wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | {{wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | {{ wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | {{ wiki: | + | |
| - | + | ||
| - | {{wiki: | + | |
| - | + | ||
| - | {{ wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Of course, you can add a title (displayed as a tooltip by most browsers), too. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | {{ wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | {{ wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | If you specify a filename (external or internal) that is not an image ('' | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | For linking an image to another page see [[#Image Links]] above. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Lists ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | * This is a list | + | |
| - | + | ||
| - | * The second item | + | |
| - | + | ||
| - | * You may have different levels | + | |
| - | + | ||
| - | * Another item | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | - The same list but ordered | + | |
| - | + | ||
| - | - Another item | + | |
| - | + | ||
| - | - Just use indention for deeper levels | + | |
| - | + | ||
| - | - That's it | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | < | + | |
| - | + | ||
| - | * This is a list | + | |
| - | + | ||
| - | * The second item | + | |
| - | + | ||
| - | * You may have different levels | + | |
| - | + | ||
| - | * Another item | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | - The same list but ordered | + | |
| - | + | ||
| - | - Another item | + | |
| - | + | ||
| - | - Just use indention for deeper levels | + | |
| - | + | ||
| - | - That's it | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Smileys ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | DokuWiki converts commonly used [[wp> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | * 8-) %% 8-) %% | + | |
| - | + | ||
| - | * 8-O %% 8-O %% | + | |
| - | + | ||
| - | * :-( %% :-( %% | + | |
| - | + | ||
| - | * :-) %% :-) %% | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | * =) %% =) %% | + | |
| - | + | ||
| - | * :-/ %% :-/ %% | + | |
| - | + | ||
| - | * :-\ %% :-\ %% | + | |
| - | + | ||
| - | * :-? %% :-? %% | + | |
| - | + | ||
| - | * :-D %% :-D %% | + | |
| - | + | ||
| - | * :-P %% :-P %% | + | |
| - | + | ||
| - | * :-O %% :-O %% | + | |
| - | + | ||
| - | * :-X %% :-X %% | + | |
| - | + | ||
| - | * :-| %% :-| %% | + | |
| - | + | ||
| - | * ;-) %% ;-) %% | + | |
| - | + | ||
| - | * ^_^ %% ^_^ %% | + | |
| - | + | ||
| - | * :?: %% :?: %% | + | |
| - | + | ||
| - | * :!: %% :!: %% | + | |
| - | + | ||
| - | * LOL %% LOL %% | + | |
| - | + | ||
| - | * FIXME %% FIXME %% | + | |
| - | + | ||
| - | * DELETEME %% DELETEME %% | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Typography ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | |
| - | + | ||
| - | "He thought ' | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | < | + | |
| - | + | ||
| - | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | |
| - | + | ||
| - | "He thought ' | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Please note: These conversions can be turned off through a [[doku> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Quoting ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | I think we should do it | + | |
| | | ||
| - | + | Změna velikosti na zadanou šířku: | |
| - | > No we shouldn' | + | |
| | | ||
| - | + | Změna velikosti na zadanou šířku a výšku: {{wiki: | |
| - | >> Well, I say we should | + | |
| | | ||
| + | Externí obrázek ve změněné velikosti: | ||
| - | > Really? | + | Pro zarovnání použijte mezery vlevo nebo vpravo. |
| - | | + | {{wiki: |
| - | >> Yes! | + | {{wiki: |
| - | | + | {{wiki: |
| - | >>> | + | Samozřejmě můžete přidat titulek (zobrazený jako tooltip ve většině prohlížečů): |
| + | {{wiki: | ||
| + | Pokud zadáte název souboru, který není obrázek (gif, jpeg, png), bude zobrazen jako odkaz. | ||
| - | I think we should do it | + | Pro odkazování obrázku na jinou stránku viz [[#Image Links]] výše. |
| + | ===== Poznámky ===== | ||
| + | DokuWiki podporuje vytváření poznámek pod čarou ((Toto je poznámka pod čarou)) pomocí dvojitých závorek. | ||
| - | > No we shouldn' | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | >> Well, I say we should | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | > Really? | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | >> Yes! | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | >>> | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Tables ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | DokuWiki supports a simple syntax to create tables. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | + | |
| - | + | ||
| - | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | + | |
| - | + | ||
| - | | Row 2 Col 1 | some colspan | + | |
| - | + | ||
| - | | Row 3 Col 1 | Row 2 Col 2 | Row 2 Col 3 | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Table rows have to start and end with a '' | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | + | |
| - | + | ||
| - | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | + | |
| - | + | ||
| - | | Row 2 Col 1 | some colspan | + | |
| - | + | ||
| - | | Row 3 Col 1 | Row 2 Col 2 | Row 2 Col 3 | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | To connect cells horizontally, | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Vertical tableheaders are possible, too. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | | ^ Heading 1 ^ Heading 2 ^ | + | |
| - | + | ||
| - | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | + | |
| - | + | ||
| - | ^ Heading 4 | no colspan this time | | | + | |
| - | + | ||
| - | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | As you can see, it's the cell separator before a cell which decides about the formatting: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | | ^ Heading 1 ^ Heading 2 ^ | + | |
| - | + | ||
| - | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | + | |
| - | + | ||
| - | ^ Heading 4 | no colspan this time | | | + | |
| - | + | ||
| - | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Note: Vertical spans (rowspan) are not possible. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ^ Table with alignment | + | |
| - | + | ||
| - | | | + | |
| - | + | ||
| - | |left | | + | |
| - | + | ||
| - | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | This is how it looks in the source: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ^ Table with alignment | + | |
| - | + | ||
| - | | | + | |
| - | + | ||
| - | |left | | + | |
| - | + | ||
| - | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Non-parsed Blocks ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You can include non-parsed blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' | + | |
| + | ===== Doplňkové bloky ===== | ||
| + | Můžete do dokumentu vložit bloky, které nebudou formátovány. To lze provést buď odsazením alespoň o dvě mezery (jako v předchozích příkladech), | ||
| < | < | ||
| - | + | Toto je formátovaný kód – všechny mezery jsou zachovány: například | |
| - | This is preformatted code all spaces are preserved: like <-this | + | |
| </ | </ | ||
| - | |||
| - | |||
| < | < | ||
| - | + | Toto je prakticky totéž, ale můžete jej použít k zobrazení textu ze souboru. | |
| - | This is pretty much the same, but you could use it to show that you quoted a file. | + | |
| </ | </ | ||
| - | + | Aby parser | |
| - | + | ||
| - | To let the parser | + | |
| - | + | ||
| < | < | ||
| - | + | Toto je text, který obsahuje adresy jako http:// | |
| - | This is some text which contains addresses like this: http:// | + | |
| </ | </ | ||
| + | Viz zdroj této stránky, abyste viděli, jak používat tyto bloky. | ||
| + | ===== Zvýraznění syntaxe ===== | ||
| - | See the source of this page to see how to use these blocks. | + | [[DokuWiki]] |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Syntax Highlighting ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | [[wiki:DokuWiki]] | + | |
| - | + | ||
| <code java> | <code java> | ||
| - | |||
| /** | /** | ||
| - | + | * Třída | |
| - | * The HelloWorldApp | + | |
| - | + | ||
| - | | + | |
| */ | */ | ||
| - | |||
| class HelloWorldApp { | class HelloWorldApp { | ||
| - | |||
| public static void main(String[] args) { | public static void main(String[] args) { | ||
| - | + | | |
| - | | + | |
| } | } | ||
| - | |||
| } | } | ||
| - | |||
| </ | </ | ||
| + | Aktuálně jsou rozpoznány následující jazykové řetězce: //abap, actionscript-french, | ||
| + | ===== RSS/ATOM agregace kanálů ===== | ||
| - | The following language strings are currently recognized: //abap, actionscript-french, actionscript, actionscript3, | + | [[DokuWiki]] může integrovat data z externích XML kanálů. K jejich parsování se používá [[http://simplepie.org/ |
| + | ^ Parametr | ||
| + | | libovolné číslo | bude použito jako maximální počet položek, výchozí hodnota je 8 | | ||
| + | | reverse | ||
| + | | author | ||
| + | | date | zobrazí datum položek | | ||
| + | | description | ||
| + | | // | ||
| + | Doba obnovení je výchozí 4 hodiny. Jakákoliv hodnota pod 10 minut bude považována za 10 minut. [[DokuWiki]] se obvykle snaží dodat ke stránce cachovanou verzi, což není vhodné, pokud stránka obsahuje dynamický externí obsah. Parametr říká, že stránka se má znovu renderovat, pokud uplynula //doba obnovení// od posledního renderování. | ||
| - | + | **Příklad:** | |
| - | + | ||
| - | ===== RSS/ATOM Feed Aggregation ===== | + | |
| - | + | ||
| - | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ^ Parameter | + | |
| - | + | ||
| - | | any number | will be used as maximum number items to show, defaults to 8 | | + | |
| - | + | ||
| - | | reverse | + | |
| - | + | ||
| - | | author | + | |
| - | + | ||
| - | | date | show item dates | | + | |
| - | + | ||
| - | | description| show the item description. If [[doku> | + | |
| - | + | ||
| - | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | **Example:** | + | |
| - | + | ||
| {{rss> | {{rss> | ||
| - | |||
| - | |||
| {{rss> | {{rss> | ||
| + | ===== Vkládání HTML a PHP ===== | ||
| - | + | Můžete vložit čistý | |
| - | + | ||
| - | + | ||
| - | ===== Embedding | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | You can embed raw HTML or PHP code into your documents by using the '' | + | |
| < | < | ||
| - | |||
| < | < | ||
| - | + | Toto je nějaké | |
| - | This is some <span style=" | + | |
| </ | </ | ||
| - | |||
| < | < | ||
| - | + | <p style=" | |
| - | <p style=" | + | |
| </ | </ | ||
| - | |||
| </ | </ | ||
| - | |||
| - | |||
| < | < | ||
| - | + | Toto je nějaké | |
| - | This is some <span style=" | + | |
| </ | </ | ||
| - | |||
| < | < | ||
| - | + | <p style=" | |
| - | <p style=" | + | |
| </ | </ | ||
| - | |||
| - | |||
| < | < | ||
| - | |||
| <php> | <php> | ||
| - | + | echo 'Logo generované | |
| - | echo 'A logo generated by PHP:'; | + | |
| echo '< | echo '< | ||
| - | + | echo '(generovaný | |
| - | echo '(generated | + | |
| </ | </ | ||
| - | |||
| <PHP> | <PHP> | ||
| - | + | echo '< | |
| - | echo '< | + | |
| echo '< | echo '< | ||
| - | |||
| echo '</ | echo '</ | ||
| - | |||
| </ | </ | ||
| - | |||
| </ | </ | ||
| - | |||
| - | |||
| <php> | <php> | ||
| - | + | echo 'Logo generované | |
| - | echo 'A logo generated by PHP:'; | + | |
| echo '< | echo '< | ||
| - | |||
| echo ' | echo ' | ||
| - | |||
| </ | </ | ||
| - | |||
| <PHP> | <PHP> | ||
| - | + | echo '< | |
| - | echo '< | + | |
| echo '< | echo '< | ||
| - | |||
| echo '</ | echo '</ | ||
| - | |||
| </ | </ | ||
| + | **Poznámka: | ||
| + | ===== Řídicí makra ===== | ||
| - | **Please Note**: HTML and PHP embedding is disabled | + | Některé syntaktické prvky ovlivňují, |
| + | ^ Makro ^ Popis ^ | ||
| + | | %%~~NOTOC~~%% | ||
| + | | %%~~NOCACHE~~%% | DokuWiki cachuje veškerý výstup standardně. Pokud to nechcete (např. při použití %%< | ||
| + | ===== Syntaxe pluginů ===== | ||
| - | ===== Control Macros ===== | + | Syntaxe |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Some syntax influences how DokuWiki | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ^ Macro ^ Description | | + | |
| - | + | ||
| - | | %%~~NOTOC~~%% | + | |
| - | + | ||
| - | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Syntax Plugins ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | DokuWiki' | + | |
| - | + | ||
| ~~INFO: | ~~INFO: | ||
| - | |||
| Poslední provedené úpravy: |
|
|
Hlavní stránka o kaplích: https://kaplicky.cesty.in |
|
|
|
|