[[syntax]]

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

syntax [2015/10/08 19:55]
crook [Basic Text Formatting]
syntax [2015/10/26 13:21] (aktuální)
crook přeloženo, omazány nepotřebné sekce. - když to bude potřeba tak stejně lidi musí najít si nápovědu na DokuWiki.
Řádek 1: Řádek 1:
-====== Formatting Syntax ======+====== Formátování Sytaxe ======
  
-[[doku>DokuWiki]] supports some simple markup languagewhich tries to make the datafiles to be as readable as possibleThis page contains all possible syntax you may use when editing the pagesSimply have a look at the source of this page by pressing the //Edit this page// button at the top or bottom of the pageIf you want to try something, just use the [[piskoviste|playground]] pageThe simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+[[doku>DokuWiki]] podporuje jednoduchý styl formátováníkterý se snaží aby "data files" byly co nejlépe srozumitelné. 
 +Tato stránka obsahuje možné formátování syntaxe, kterou můžete užít při editaci stránek. 
 +Pro úpravu stránky jednoduše stiskněte dole tlačítko "upravit tuto stránku" 
 +Pokud si chcete něco vyzkoušet použijte [[playground:playground|playground]]. 
 +Pro snadnější úpravu stránek užijte [[doku>toolbar|quickbuttons]].
  
 ===== Specialní znaky ===== ===== Specialní znaky =====
  
-^  znak  ^  kl.zkratka  ^  Alt+#   ^  název  ^ +^  Znak  ^  Kl.zkratka  ^  Alt+#   ^  Název  ^ 
-|  #     |  Ctrl+Alt+X  |  Alt+35  |  mřížka/hash/sharp  |+|  #     |  Ctrl+Alt+X  |  Alt+35  |  mřížka / hash / sharp  |
 |  $     |  Ctrl+Alt+ů  |  Alt+36  |  dollar  | |  $     |  Ctrl+Alt+ů  |  Alt+36  |  dollar  |
 |  &     |  Ctrl+Alt+C  |  Alt+38  |  ampersand  | |  &     |  Ctrl+Alt+C  |  Alt+38  |  ampersand  |
Řádek 13: Řádek 17:
 |  [     |  Ctrl+Alt+F  |  Alt+91  |  levá hranatá závorka  | |  [     |  Ctrl+Alt+F  |  Alt+91  |  levá hranatá závorka  |
 |  ]     |  Ctrl+Alt+G  |  Alt+93  |  pravá hranatá závorka  | |  ]     |  Ctrl+Alt+G  |  Alt+93  |  pravá hranatá závorka  |
-|  \     |  Ctrl+Alt+Q  |  Alt+92  | obrácené/opačné lomítko/backslash  | +|  \     |  Ctrl+Alt+Q  |  Alt+92  | obrácené / opačné lomítko / backslash  | 
-|      |  Ctrl+Alt+W  |  Alt+124  |  svislítko  | +|  %%|%%     |  Ctrl+Alt+W  |  Alt+124  |  svislítko nebo oddělovač  | 
-       |              |  Alt+94  |  stříška  |+ %%^ %%    |              |  Alt+94  |  stříška  |
 |  {     |  Ctrl+Alt+B  |  Alt+123  |  levá složená závorka  | |  {     |  Ctrl+Alt+B  |  Alt+123  |  levá složená závorka  |
 |  }     |  Ctrl+Alt+N  |  Alt+125  |  pravá složená závorka  | |  }     |  Ctrl+Alt+N  |  Alt+125  |  pravá složená závorka  |
 |  ~     |  Ctrl+Alt++  |  Alt+126  |  vlnovka  | |  ~     |  Ctrl+Alt++  |  Alt+126  |  vlnovka  |
 \\ \\
-\\ 
-===== Basic Text Formatting ===== 
  
-DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. Of course you can **__//''combine''//__** all these. 
  
-  DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. +===== Základní Formátovávní Textu =====
-  Of course you can **__//''combine''//__** all these.+
  
-You can use <sub>subscript</sub> and <sup>superscript</sup>too.+DokuWiki podporuje základní formátování textu jako je **tlustě**, //italic//, __podtržení__ a ''monospaced''. Samozdřejmě tyto formáty lze **__//''kombinovat''//__**.\\
  
-  You can use <sub>subscript</sub> and <sup>superscript</sup>, too.+Jednotlivé formáty vypadají takto:\\
  
-You can mark something as <del>deleted</delas well.+<code> 
 +**tlustě**, //italic//, __podtržení__ a ''monospace'' 
 +</code> 
 +v kombinaci to vypadá takto:\\ 
 +<code> 
 +**__//''combine''//__** 
 +</code> 
 +\\ 
 +Můžete taky užít <sub>dolní index</sub> a <sup>horní index</sup>.\\ 
 +\\ 
 +Dolní index:\\ 
 +  <sub>dolní index</sub> 
 +Horní index:\\ 
 +  <sup>horní index</sup>
  
-  You can mark something as <del>deleted</del> as well.+\\ 
 +Text lze také označit přeskrtnutě: <del>deleted</del>\\ 
 +  <del>deleted</del>
  
-**Paragraphs** are created from blank linesIf you want to **force a newline** without a paragraph, you can use two backslashes followed by whitespace or the end of line.+\\ 
 +**Odstavce** se tvroří z prázdných řádkůPokud chcete sami vytvořit nový řádek bez odstavce může užít dvě zpětná lomítka mezeru.
  
-This is some text with some linebreaks\\ Note that the +Takhto vypadá text s řádky\\ Všimněte si že zpětná lomítka 
-two backslashes are only recognized at the end of a line\\ +jsou rozpoznána pouze na konci řádku\\ kde následuje mezera. 
-or followed by\\ a whitespace \\this happens without it.+Tohle se stane \\bez mezery. 
 +\\ 
 +Formát textu nahoře vypadá takto:
  
-  This is some text with some linebreaks\\ Note that the +  Takto vypadá text s řádky\\ Všimněte si že zpětná lomítka 
-  two backslashes are only recognized at the end of a line\\ +  jsou rozpoznána pouze na konci řádku\\ kde následujem mezera. 
-  or followed by\\ a whitespace \\this happens without it.+  Tohle se stane \\bez mezery.
  
-You should use forced newlines only if really needed.+===== Odkazy =====
  
-===== Links =====+DokuWiki podporuje několik způsobů jak vytvářet odkazy.
  
-DokuWiki supports multiple ways of creating links.+==== Externí ====
  
-==== External ====+Externí odkazy jsou rozeznány automaticky: http://www.google.com nebo www.google.com - Můžete taky užít tento formát pro text odkazu: [[http://www.google.com|This Link points to google]]. 
  
-External links are recognized automagically: http://www.google.com or simply www.google.com You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: <andi@splitbrain.org> are recognized, too.+E-mail adresy jsou rozpoznány také automaticky: <andi@splitbrain.org>.\\ 
 +\\ 
 +Formát textu nahoře vypadá takto:
  
-  DokuWiki supports multiple ways of creating links. External links are recognized +  Externí odkazy jsou rozeznány automaticky: http://www.google.com nebo www.google.com - Můžete  
-  automagically: http://www.google.com or simply www.google.com - You can set +  taky užít tento formát pro text odkazu: [[http://www.google.com|This Link points to google]].  
-  link text as well: [[http://www.google.com|This Link points to google]]. Email +  E-mail adresy jsou rozpoznány také automaticky: <andi@splitbrain.org>.
-  addresses like this one: <andi@splitbrain.org> are recognized, too.+
  
-==== Internal ====+==== Interní ====
  
-Internal links are created by using square bracketsYou can either just give a [[pagename]] or use an additional [[pagename|link text]].+Interní odkazy, lze tvořit pomocí hranatých závorekMůžete užít rovnou [[název stránky]] kam chcete odkázat nebo [[název stránky|speciální pojmenování]].\\ 
 +\\ 
 +Formát textu nahoře vypadá takto:
  
-  Internal links are created by using square bracketsYou can either just give +  Interní odkazy, lze tvořit pomocí hranatých závorek.  
-  [[pagename]] or use an additional [[pagename|link text]].+  Můžete užít rovnou [[název stránky]] kam chcete odkázat  
 +  nebo [[název stránky|speciální pojmenování]].
  
-[[doku>pagename|Wiki pagenames]] are converted to lowercase automaticallyspecial characters are not allowed.+[[doku>pagename|Názvy stránek]] pro interní databázi jsou automaticky změněny na malá písmenaspeciální znaky nejsou povoleny.
  
-You can use [[some:namespaces]] by using a colon in the pagename.+Pro více informací ohledně názvů stránek naštivte [[doku>namespaces]].
  
-  You can use [[some:namespaces]] by using a colon in the pagename.+Odkaz na specifickou sekci je taky možný. Stačí zadat název sekce (nadpis) za hash znak. Odkazuje to pak na [[syntax#interní|tuto sekci]].
  
-For details about namespaces see [[doku>namespaces]].+Formát pro odkaz vypadá takto: 
 +  Odkazuje to pak na [[syntax#interní|tuto sekci]].
  
-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#internal|this Section]].+Poznámky:
  
-  This links to [[syntax#internal|this Section]]. +  * Odkazy na [[syntax|existující stránky]] se zobrazují jinak než na [[neexistující]]. 
- +  * DokuWiki nevyužívá [[wp>CamelCase]] ke tvorbě odkazů. Dá se to však umožnit v [[doku>config]] souboruZapnuté či ne? Pokud DokuWiki je link, tak je zaplé
-Notes: +  * Pokud je nadpis této sekce linkem tak je nastavení změněnéProto nespoléhejte na interní odkazy.
- +
-  Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones+
-  * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] fileHint: If DokuWiki is a link, then it's enabled+
-  * When a section's heading is changed, its bookmark changes, tooSo don't rely on section linking too much.+
  
 ==== Interwiki ==== ==== Interwiki ====
  
-DokuWiki supports [[doku>Interwiki]] linksThese are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]+DokuWiki podporuje [[doku>Interwiki]] odkzayTyto rychlé odkazy odkazují na jiné Wiki.  
- +Například tento linka odkazuje na stránku WIkipedie o různých Wiki: [[wp>Wiki]].\\ 
-  DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. +\\ 
-  For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]]. +Formát pro text nahoře vypadá pak takto:
- +
-==== 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>Intranet]]. +
- +
-  Windows Shares like [[\\server\share|this]] are recognized, too. +
- +
-Notes: +
- +
-  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). +
-  * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/local.protected.php'': +
- +
-  $lang['js']['nosmblinks'] = '';+
  
-==== Image Links ====+  DokuWiki podporuje [[doku>Interwiki]] odkzay. Tyto rychlé odkazy odkazují na jiné Wiki.  
 +  Například tento linka odkazuje na stránku WIkipedie o různých Wiki: [[wp>Wiki]].
  
-You can also use an image to link to another internal or external page by combining the syntax for links and [[#images_and_other_files|images]] (see below) like this:+==== Odkazy na Obrázky ====
  
-  [[http://www.php.net|{{dokuwiki-128.png}}]]+Můžete taky využít obrázek pro odkaz na interní nebo externí stránku.  
 +Stačí udělat kombinaci syntaxe pro odkaz a pro [[#images_and_other_files|obrázky]] (viz níže) nebo takto:
  
-[[http://www.php.net|{{dokuwiki-128.png}}]]+  [[http://www.php.net|{{wiki:dokuwiki-128.png}}]]
  
-Please noteThe image formatting is the only formatting syntax accepted in link names.+PoznámkaFormátování obrázků je jedinné povolené formátování v odkazech.
  
-The whole [[#images_and_other_files|image]] and [[#links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links).+===== Poznámky pod Čarou =====
  
-===== Footnotes =====+Můžete užívat i poznámky pod čarou ((poznámka pod čarou)) - stačí užít dvakrát oblou závorku na začátku a konci.
  
-You can add footnotes ((This is a footnote)) by using double parentheses.+Formát pro text nahoře vypadá takto: 
 +  Můžete užívat i poznámky pod čarou ((poznámka pod čarou)) - stačí užít dvakrát oblou závorku na začátku a konci.
  
-  You can add footnotes ((This is a footnote)) by using double parentheses.+===== Struktura =====
  
-===== Sectioning =====+Pro rozdělení textu a jeho struktualizaci můžete využít různé velikosti nadpisů. Na výběr máte více než tři typy nadpisů.  
 +Obsah se generuje automaticky - toto lze vypnout při využítí tohoto kódu ''<nowiki>~~NOTOC~~</nowiki>'' na stránce.
  
-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 ''<nowiki>~~NOTOC~~</nowiki>'' in the document.+==== Nadpis Level 3 ==== 
 +=== Nadpis Level 4 === 
 +== Nadpis Level 5 ==
  
-==== Headline Level 3 ==== +Formát nadpisů vypadá takto:
-=== Headline Level 4 === +
-== Headline Level 5 ==+
  
-  ==== Headline Level 3 ==== +  ==== Nadpis Level 3 ==== 
-  === Headline Level 4 === +  === Nadpis Level 4 === 
-  == Headline Level 5 ==+  == Nadpis Level 5 ==
  
-By using four or more dashesyou can make a horizontal line:+Pokud využijete více pomlčekmůžete vytvořit dělící čáru:
  
 ---- ----
  
-===== Images and Other Files =====+===== Obrázky a Jiné Soubory =====
  
-You can include external and internal [[doku>images]] with curly bracketsOptionally you can specify the size of them.+Můžete přidávat externí a interní [[doku>images|obrázky]] pomocí složených závorekPokud chcete můžete specifikovat i velikost obrázku.
  
-Real size:                        {{dokuwiki-128.png}}+Skutečná velikost:                        {{dokuwiki-128.png}}
  
-Resize to given width:            {{dokuwiki-128.png?50}}+Resize podle určené šířky:            {{dokuwiki-128.png?50}}
  
-Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{dokuwiki-128.png?200x50}}+Resize podle určené šířky a délky ((pokud toto specifikujete tak šířka a délka nemusí odpovídat proporčně obrázku a dojde tedy k deformaci)): {{dokuwiki-128.png?200x50}}
  
-Resized external image:           {{http://de3.php.net/images/php.gif?200x50}}+Resize externího obrázku:           {{http://de3.php.net/images/php.gif?200x50}}
  
-  Real size                       {{dokuwiki-128.png}} +  Skutečná velikost                {{dokuwiki-128.png}} 
-  Resize to given width           {{dokuwiki-128.png?50}} +  Resize podle určené šířky        {{dokuwiki-128.png?50}} 
-  Resize to given width and height: {{dokuwiki-128.png?200x50}} +  Resize podle určené šířky a délky: {{dokuwiki-128.png?200x50}} 
-  Resized external image          {{http://de3.php.net/images/php.gif?200x50}}+  Resize externího obrázku         {{http://de3.php.net/images/php.gif?200x50}}
  
  
-By using left or right whitespaces you can choose the alignment.+Při užití mezer na levo a na pravo určíte zarovnání obrázku.
  
 {{ dokuwiki-128.png}} {{ dokuwiki-128.png}}
Řádek 170: Řádek 180:
   {{ dokuwiki-128.png }}   {{ dokuwiki-128.png }}
  
-Of courseyou can add a title (displayed as a tooltip by most browsers), too.+Můžete přidat i pojmenováníkteré se zobrazí po najetí myší na obrázek.
  
-{{ dokuwiki-128.png |This is the caption}}+{{ dokuwiki-128.png |Toto je pojmenování}}
  
-  {{ dokuwiki-128.png |This is the caption}}+  {{ dokuwiki-128.png |Toto je pojmenování}}
  
-If you specify a filename (external or internalthat is not an image (''gif, jpeg, png''), then it will be displayed as a link instead.+Pokud zadáte název souboru (jak interního, tak externíhoco není obrázek (''gif, jpeg, png''), poté se zobrazí odkaz místo obrázku. 
 +===== Seznamy =====
  
-For linking an image to another page see [[#Image Links]] above.+Dokuwiki podporuje různé druhy seznamů. Pro vytvoření seznamu zadejte dvě mezery a ''*'' pro číslovaný seznam dvě mezery a ''-''.
  
-===== Lists =====+  * Seznam 
 +  * Druhý bod v seznamu 
 +    * Seznamy lze struktualizovat 
 +  * Další bod seznamu
  
-Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a ''*'' for unordered lists or a ''-'' for ordered ones.+  Ten samý seznam jen číslovaný 
 +  - Druhý bod v seznamu 
 +    - Struktura seznamu 
 +  - Další bod seznamu
  
-  * This is a list +<code>
-  * The second item +
-    * You may have different levels +
-  * Another item+
  
-  - The same list but ordered +  * Seznam 
-  - Another item +  * Druhý bod v seznamu 
-    - Just use indention for deeper levels +    * Seznamy lze struktualizovat 
-  - That's it+  * Další bod seznamu
  
-<code> +  - Ten samý seznam jen číslovaný 
-  * This is a list +  - Druhý bod v seznamu 
-  * The second item +    - Struktura seznamu 
-    * You may have different levels +  - Další bod seznamu
-  * Another item+
  
-  - The same list but ordered 
-  - Another item 
-    - Just use indention for deeper levels 
-  - That's it 
 </code> </code>
  
-Also take a look at the [[doku>faq:lists|FAQ on list items]].+Můžete se taky kouknout na [[doku>faq:lists|FAQ u seznamů]] - v Angličtině.
  
-===== Text Conversions =====+===== Konverze Textu =====
  
-DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML.+DokuWiki může převést předem definovanou kombinaci znaků nebo kódu na obrázky nebo jiný text nebo HTML
 +\\ 
 +\\ 
 +Konverze textu je hlavně udělána pro smajlíky
  
-The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, but can be configured to use other HTML as well.+==== Konverze Textu na Obrázky ====
  
-==== Text to Image Conversions ====+DokuWiki mění běžne užívané [[wp>emoticon|smajlíky]] do jejich grafických ekvivalentů.. Tyto [[doku>Smileys|smajlíky]] a jiné obrázky lze nastavit nebo změnit. Zde je přehled běžných 
  
-DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalents. Those [[doku>Smileys]] and other images can be configured and extended. Here is an overview of Smileys included in DokuWiki:+konverzí v DokuWiki:
  
   * 8-) %%  8-)  %%   * 8-) %%  8-)  %%
Řádek 239: Řádek 251:
   * DELETEME %% DELETEME %%   * DELETEME %% DELETEME %%
  
-==== Text to HTML Conversions ==== +==== Konverze Textu do HTML====
- +
-Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.+
  
 +Typografie: [[DokuWiki]] dokáže převést sadu znaků do typograficky odpovídajích znaků. Zde je příklad rozpoznávaných znaků: 
 +\\
 -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
 "He thought 'It's a man's world'..." "He thought 'It's a man's world'..."
Řádek 251: Řádek 263:
 </code> </code>
  
-The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>entities|pattern file]].+===== Citace =====
  
-There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "double quotes". They can be turned off through a [[doku>config:typography|config option]]. +Pokud chcete označit něco jako odpověď na komentář, stačí použít tuto syntaxi:
- +
-===== 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   I think we should do it
Řádek 270: Řádek 278:
      
   >>> Then lets do it!   >>> Then lets do it!
 +\\ 
 +Potom to vypadá takto: 
 +\\
 I think we should do it I think we should do it
  
Řádek 283: Řádek 293:
 >>> Then lets do it! >>> Then lets do it!
  
-===== Tables =====+===== Tabulky =====
  
-DokuWiki supports a simple syntax to create tables.+DokuWiki podporuje jednoduchou syntaxi pro tvorbu tabulek.
  
-Heading 1      ^ Heading 2       ^ Heading 3          ^ +Nadpis 1      ^ Nadpis 2       ^ Nadpis 3          ^ 
-Row Col 1    | Row Col 2     | Row Col 3        | +Řada Buňka 1    | Řada Buňka 2     | Řada Buňka 3        | 
-Row Col 1    | some colspan (note the double pipe) || +Řada Buňka 1    | Řada spojených buněk (všimněte si dvou svislítek na konci) || 
-Row Col 1    | Row Col 2     | Row Col 3        |+Řada Buňka 1    | Řada Buňka 2     | Řada Buňka 3        | 
 +\\ 
 +Začátky tabulek musí začínat a končit tímto znakem: ''|'' pro obyčejné řádky. Pro nadpisy tímto znakem: ''^'' .
  
-Table rows have to start and end with a ''|'' for normal rows or a ''^'' for headers.+  Nadpis 1      ^ Nadpis 2       ^ Nadpis 3          ^ 
 +  | Řada 1 Buňka 1    | Řada 1 Buňka 2     | Řada 1 Buňka 3        | 
 +  | Řada 2 Buňka 1    | Řada spojených buněk (všimněte si dvou svislítek na konci) || 
 +  | Řada 3 Buňka 1    | Řada 3 Buňka 2     | Řada 3 Buňka 3        | 
 +\\ 
 +Proto abyste spojili buňky dohromady stačí aby následující buňka byla prázdná - tak jak je vidět nahoře**Pokaždé musíte mít stejný počet svislítek (oddělovačů)!**
  
-  ^ Heading 1      ^ Heading 2       ^ Heading 3          ^ +Vertikální nadpisy v tabulkách jsou také možné:
-  | Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | +
-  | Row 2 Col 1    | some colspan (note the double pipe) || +
-  | Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        |+
  
-To connect cells horizontallyjust make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators!+|              ^ Nadpis 1            ^ Nadpis 2          ^ 
 +^ Nadpis 3    | Řada 1 Buňka 2                | Řada 1 Buňka 3        | 
 +^ Nadpis 4    | Žádné spojené buňky tentokrát |                    | 
 +^ Nadpis 5    | Řada 2 Buňka 2                | Řada 2 Buňka 3        | 
 +\\ 
 +Jak můžete vidětsvislítko před buňkou určuje formátování:
  
-Vertical tableheaders are possibletoo.+  |              ^ Nadpis 1            ^ Nadpis 2          ^ 
 +  ^ Nadpis 3    | Řada 1 Buňka 2                | Řada1 Buňka 3        | 
 +  ^ Nadpis 4    | Žádné spojené buňky tentokrát |                    | 
 +  ^ Nadpis 5    | Řada 2 Buňka 2                | Řada 2 Buňka 3        | 
 +\\ 
 +Pokud chcete mít buňky spojené vertikálněstačí přidat do buňky pod se kterou se má spojit do tyto znaky: '':::''.
  
-|              Heading            Heading 2          ^ +Nadpis      Nadpis                  ^ Nadpis 3          ^ 
-^ Heading 3    Row Col 2          Row Col 3        | +Řada Buňka 1    | roztažení buňky vertikálně Řada Buňka 3        | 
-^ Heading 4    | no colspan this time                    +| Řada 2 Buňka 1    | :::                        Řada 2 Buňka 3        
-^ Heading 5    | Row 2 Col 2          Row Col 3        |+| Řada 3 Buňka 1    | :::                        Řada Buňka 3        | 
 +\\ 
 +Kromě znaků '':::'' by tyto buňky neměly nic obsahovat..
  
-As you can seeit's the cell separator before cell which decides about the formatting:+  ^ Nadpis 1      ^ Nadpis 2                  ^ Nadpis 3          ^ 
 +  | Řada 1 Buňka 1    | roztažení buňky vertikálně | Řada 1 Buňka 3        | 
 +  | Řada 2 Buňka 1    | :::                        | Řada 2 Buňka 3        | 
 +  | Řada 3 Buňka 1    | :::                        | Řada 2 Buňka 3        | 
 +\\ 
 +Samozdřejmělze formátovat i obsah tabulek. Stačí přidat nebo ubrat mezery na začátku či konci textu v buňce.\\ 
 +Dvě mezery na levo pro zarovnání do prava, dvě mezery na pravo pro zarovnání do leva dvě na začátku a konci pro zarovnání na střed.Y
  
-  |              ^ Heading 1            ^ Heading 2          ^ +^           Tabulka se zarovnáním           ^^^ 
-  ^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        | +|         vpravo|    na střed    |vlevo          | 
-  ^ Heading 4    | no colspan this time |                    | +|vlevo          |         vpravo|    na střed    |
-  ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | +
- +
-You can have rowspans (vertically connected cells) by adding '':::'' into the cells below the one to which they should connect. +
- +
-^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ +
-| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | +
-| Row 2 Col 1    | :::                        | Row 2 Col 3        | +
-| Row 3 Col 1    | :::                        | Row 2 Col 3        | +
- +
-Apart from the rowspan syntax those cells should not contain anything else. +
- +
-  ^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ +
-  | Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | +
-  | Row 2 Col 1    | :::                        | Row 2 Col 3        | +
-  | Row 3 Col 1    | :::                        | Row 2 Col 3        | +
- +
-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           ^^^ +
-|         right|    center    |left          | +
-|left          |         right|    center    |+
 | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
 +\\
 +Syntax pak vypadá takto:
  
-This is how it looks in the source: +  ^           Tabulka se zarovnáním           ^^^ 
- +  |         vpravo|    na střed    |vlevo          | 
-  ^           Table with alignment           ^^^ +  |vlevo          |         vpravo|    na střed    |
-  |         right|    center    |left          | +
-  |left          |         right|    center    |+
   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
 +\\
 +Poznámka: Zarovnání svisle není podporováno.
  
-Note: Vertical alignment is not supported. +===== Bez Formátování =====
- +
-===== No Formatting =====+
  
-If you need to display text exactly like it is typed (without any formatting), enclose the area either with ''%%<nowiki>%%'' tags or even simpler, with double percent signs ''<nowiki>%%</nowiki>''.+Pokud potřebujete ukázat přesně to co jste napsali bez formátování staší přidat k dané oblasti ''%%<nowiki>%%'' nebo jednodušeji tento znak: % ''<nowiki>%%</nowiki>''.
  
 <nowiki> <nowiki>
-This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.+Nějaký text bez formátování: http://www.splitbrain.org and **formatting**
 </nowiki> </nowiki>
-The same is true for %%//__this__ text// with a smiley ;-)%%.+to samé je pro: %%//__this__ text// se smajlíkem ;-)%%.
  
   <nowiki>   <nowiki>
-  This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.+  Nějaký text bez formátování: http://www.splitbrain.org and **formatting**
   </nowiki>   </nowiki>
-  The same is true for %%//__this__ text// with a smiley ;-)%%.+  to samé je pro: %%//__this__ text// se smajlíkem ;-)%%.
  
-===== Code Blocks =====+===== Zdrojové Kódy a Ohraničení =====
  
-You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags ''%%<code>%%'' or ''%%<file>%%''.+Můžete ukázat zdrojové kódy a ohraničení na stránce. Stačí je identifikovat dvěma mezerema na začátku textu, tak jak je ukázáno v příkladech na této stráce nebo užítím tohoto formátu: ''%%<code>%%'' nebo ''%%<file>%%''.
  
-  This is text is indented by two spaces.+  Text oddělený dvěma mezerami.
  
 <code> <code>
-This is preformatted code all spaces are preservedlike              <-this+V tomto kódu jsou všechny prázdé mezery zachoványjako              <-takto
 </code> </code>
  
 <file> <file>
-This is pretty much the same, but you could use it to show that you quoted a file.+V podsatě je to samé.
 </file> </file>
  
-Those blocks were created by this source:+Bloky nahoře byly vytvořeny touto syntaxí:
  
-    This is text is indented by two spaces.+    Text oddělený dvěma mezerami.
  
   <code>   <code>
-  This is preformatted code all spaces are preservedlike              <-this+  V tomto kódu jsou všechny prázdé mezery zachoványjako              <-takto
   </code>   </code>
  
   <file>   <file>
-  This is pretty much the same, but you could use it to show that you quoted a file.+  V podsatě je to samé.
   </file>   </file>
  
-==== Syntax Highlighting ==== 
  
-[[DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax is the same like in the code and file blocks in the previous section, but this time the name of the used language is inserted inside the tag. Eg. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.+===== Užití HTML a PHP =====
  
-<code java> +Můžete vložit HTML nebo PHP kód na stránku užitím ''%%<html>%%'' nebo ''%%<php>%%''.
-/** +
- * The HelloWorldApp class implements an application that +
- * simply displays "Hello World!" to the standard output. +
- */ +
-class HelloWorldApp { +
-    public static void main(String[] args) { +
-        System.out.println("Hello World!"); //Display the string. +
-    } +
-+
-</code> +
- +
-The following language strings are currently recognized: //4cs, abap, actionscript-french, actionscript, actionscript3, ada, apache, applescript, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, ecmascript, eiffel, email, erlang, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lisp, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender, plsql, postgresql, povray, powerbuilder, powershell, progress, prolog, properties, providex, purebasic, python, q, qbasic, rails, rebol, reg, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, z80// +
- +
-==== Downloadable Code Blocks ==== +
- +
-When you use the ''%%<code>%%'' or ''%%<file>%%'' syntax as above, you might want to make the shown code available for download as well. You can to this by specifying a file name after language code like this: +
- +
-<code> +
-<file php myexample.php> +
-<?php echo "hello world!"; ?> +
-</file> +
-</code> +
- +
-<file php myexample.php> +
-<?php echo "hello world!"; ?> +
-</file> +
- +
-If you don't want any highlighting but want a downloadable file, specify a dash (''-'') as the language code: ''%%<code - myfile.foo>%%''. +
- +
- +
-===== Embedding HTML and PHP ===== +
- +
-You can embed raw HTML or PHP code into your documents by using the ''%%<html>%%'' or ''%%<php>%%'' tags. (Use uppercase tags if you need to enclose block level elements.)+
  
-HTML example:+HTML příklad:
  
 <code> <code>
Řádek 431: Řádek 408:
 </html> </html>
 <HTML> <HTML>
-<p style="border:2px dashed red;">And this is some block HTML</p>+<p style="border:2px dashed red;"> vytvoření ohraničení pomocí HTML</p>
 </HTML> </HTML>
 </code> </code>
Řádek 439: Řádek 416:
 </html> </html>
 <HTML> <HTML>
-<p style="border:2px dashed red;">And this is some block HTML</p>+<p style="border:2px dashed red;">Vytvoření ohraničení pomocí HTML</p>
 </HTML> </HTML>
  
-PHP example:+PHP příklad:
  
 <code> <code>
Řádek 451: Řádek 428:
 </php> </php>
 <PHP> <PHP>
-echo '<table class="inline"><tr><td>The samebut inside a block level element:</td>';+echo '<table class="inline"><tr><td>To samé ohraničeníale v PHP:</td>';
 echo '<td><img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /></td>'; echo '<td><img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /></td>';
 echo '</tr></table>'; echo '</tr></table>';
Řádek 463: Řádek 440:
 </php> </php>
 <PHP> <PHP>
-echo '<table class="inline"><tr><td>The samebut inside a block level element:</td>';+echo '<table class="inline"><tr><td>To samé ohraničeníale v PHP:</td>';
 echo '<td><img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /></td>'; echo '<td><img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" /></td>';
 echo '</tr></table>'; echo '</tr></table>';
 </PHP> </PHP>
  
-**Please Note**: HTML and PHP embedding is disabled by default in the configurationIf disabled, the code is displayed instead of executed. +**Poznámka**: HTML PHP využívání je defaultně vypnuté v nastaveníKdyž je vyplé zobranzí se kód místo provedení.
- +
-===== RSS/ATOM Feed Aggregation ===== +
-[[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http://simplepie.org/|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters: +
- +
-^ Parameter  ^ Description ^ +
-| any number | will be used as maximum number items to show, defaults to 8 | +
-| reverse    | display the last items in the feed first | +
-| author     | show item authors names | +
-| date       | show item dates | +
-| description| show the item description. If [[doku>config:htmlok|HTML]] is disabled all tags will be stripped | +
-| //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. [[DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered. +
- +
-**Example:** +
- +
-  {{rss>http://slashdot.org/index.rss 5 author date 1h }} +
- +
-{{rss>http://slashdot.org/index.rss 5 author date 1h }} +
- +
- +
-===== Control Macros ===== +
- +
-Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: +
- +
-^ Macro           ^ Description | +
-| %%~~NOTOC~~%%   | If this macro is found on the page, no table of contents will be created | +
-| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call | +
- +
-===== Syntax Plugins =====+
  
-DokuWiki's syntax can be extended by [[doku>plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation: 
  
-~~INFO:syntaxplugins~~ 
  
 

Vytvořil Typhoon | Provozováno na dokuwiki | Optimalizováno pro Firefox, Opera, Chrome. |  podpora. | Některé z obrázků mohou spadat pod ochrannou známku Gravity Corp. & Lee Myoungjin.  | Vygenerováno během: 0.094 s |   | Copyright 2011-2024