Narzędzia użytkownika

Narzędzia witryny


wiki:syntax

Różnice

Różnice między wybraną wersją a wersją aktualną.

Odnośnik do tego porównania

Poprzednia rewizja po obu stronachPoprzednia wersja
Nowa wersja
Poprzednia wersja
Ostatnia wersjaNastępna rewizja po obu stronach
wiki:syntax [2015/08/23 13:57] – edycja zewnętrzna 127.0.0.1wiki:syntax [2016/04/04 21:34] xrogers
Linia 1: Linia 1:
-====== Formatting Syntax ======+====== Składnia formatowania ======
  
-[[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 "Edit this page"If you want to try something, just use the [[playground:playground|playground]] pageThe simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+[[DokuWiki]] używa **prostego** języka znaczników, który umożliwia pozostawienie tekstu tak czytelnegojak to możliwePoniższa strona zawiera całą dostępną składnię, którą można zastosować edytując treśćZobacz po prostu na treść tej strony wciskając guzik //Edytuj stronę// na górze lub na dole stronyJeżeli chcesz coś wypróbować, to zrób to na stronie [[playground:playground|"piaskownicy"]]. Szybkie formatowanie jest dostępne także za pomocą [[doku>pl:toolbar|szybkich przycisków]].
  
-===== Basic Text Formatting =====+===== Proste formatowanie tekstu =====
  
-DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' textsOf course you can **__//''combine''//__** all these.+DokuWiki umożliwia **pogrubienie**, //pochylenie//, __podkreślenie__ i ''stałą szerokość'' tekstuOczywiście można zastosować ich **__//''kombinację''//__**.
  
-  DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts+  DokuWiki umożliwia **pogrubienie**, //pochylenie//, __podkreślenie__ i ''stałą szerokość'' tekstu.  
-  Of course you can **__//''combine''//__** all these.+  Oczywiście można zastosować ich **__//''kombinację''//__**.
  
-You can use <sub>subscript</sub> and <sup>superscript</sup>, too.+Można też zastosować <sub>indeks dolny</sub> lub <sup>indeks górny</sup>.
  
-  You can use <sub>subscript</sub> and <sup>superscript</sup>, too.+  Można też zastosować <sub>indeks dolny</sub> lub <sup>indeks górny</sup>.
  
-You can mark something as <del>deleted</del> as well.+Można oznaczyć coś jako <del>usunięte</del>.
  
-  You can mark something as <del>deleted</del> as well.+  Można oznaczyć coś jako <del>usunięte</del>.
  
-**Paragraphs** are created from blank linesIf you want to **force a newline** without a paragraphyou can use two backslashes followed by a whitespace or the end of line.+**Akapity** są tworzone przez puste linieJeżeli chcesz **wymusić nowy wiersz** bez akapitumożesz wpisać dwukrotny znak odwrotnego ukośnika i spację w środku linii lub dwukrotny znak odwrotnego ukośnika na końcu linii.
  
-This is some text with some linebreaks\\ Note that the +To jest fragment tekstu z nowymi wierszami\\ Zwróć uwagę że 
-two backslashes are only recognized at the end of a line\\ +dwa odwrotne ukośniki są rozpoznawane jedynie na końcu linii\\ 
-or followed by\\ a whitespace \\this happens without it.+lub gdy jest za nimi\\ spacja \\a to dzieje się gdy jej nie ma.
  
-  This is some text with some linebreaks\\ Note that the +  To jest fragment tekstu z nowymi wierszami\\ Zwróć uwagę że 
-  two backslashes are only recognized at the end of a line\\ +  dwa odwrotne ukośniki są rozpoznawane jedynie na końcu linii\\ 
-  or followed by\\ a whitespace \\this happens without it.+  lub gdy jest za nimi\\ spacja \\a to dzieje się gdy jej nie ma.
  
-You should use forced newlines only if really needed.+Nie powinno się wymuszać nowego wiersza jeżeli nie jest to naprawdę potrzebne.
  
-===== Links =====+===== Linki =====
  
-DokuWiki supports multiple ways of creating links.+DokuWiki udostępnia wiele sposobów tworzenia linków.
  
-==== External ====+==== Wewnętrzne ====
  
-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.+Wewnętrzne linki są tworzone przy użyciu podwójnych nawiasów prostokątnychMożna podać tylko [[nazwę strony]] lub dodatkowo użyć [[nazwę strony|opisu]].
  
-  DokuWiki supports multiple ways of creating linksExternal links are recognized +  Wewnętrzne linki są tworzone przy użyciu nawiasów prostokątnych.  
-  automagically: http://www.google.com or simply www.google.com - You can set +  Można podać tylko [[nazwę strony]] lub dodatkowo użyć [[nazwę strony|opisu]].
-  link text as well: [[http://www.google.com|This Link points to google]]. Email +
-  addresses like this one: <andi@splitbrain.org> are recognized, too. +
- +
-==== 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>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed. [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed.
Linia 56: Linia 47:
   You can use [[some:namespaces]] by using a colon in the pagename.   You can use [[some:namespaces]] by using a colon in the pagename.
  
-For details about namespaces see [[doku>namespaces]].+For details about namespaces see [[doku>pl:namespaces]].
  
 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]]. 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]].
Linia 65: Linia 56:
  
   * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones.   * 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]] file. Hint: If DokuWiki is a link, then it's enabled.+  * DokuWiki does not use [[wppl>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>pl:config]] file. Hint: If DokuWiki is a link, then it's enabled.
   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.   * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.
  
-==== Interwiki ====+==== Zewnętrzne ====
  
-DokuWiki supports [[doku>Interwiki]] linksThese are quick links to other WikisFor example this is a link to Wikipedia'page about Wikis[[wp>Wiki]].+Linki zewnętrzne są rozpoznawane automatycznie: http://www.google.com lub po prostu www.google.com. Można też zmienić nazwę linka: [[http://www.google.com|To link który prowadzi do Google]]. Adresy e-mail są wyświetlane tak<andi@splitbrain.org>.
  
-  DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis+  Linki zewnętrzne są rozpoznawane automatycznie: http://www.google.com lub po prostu www.google.com. 
-  For example this is a link to Wikipedia'page about Wikis[[wp>Wiki]].+  Można też zmienić nazwę linka: [[http://www.google.com|To link który prowadzi do Google]].  
 +  Adresy e-mail są wyświetlane tak<andi@splitbrain.org>.
  
-==== 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.+==== Interwiki ====
  
-Notes:+DokuWiki umożliwia tworzenie linków [[doku>pl:interwiki|Interwiki]]. Są to szybkie linki do innych systemów Wiki. Na przykład to jest link do strony w Wikipedii na temat [[wp>Wiki]].
  
-  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). +  DokuWiki umożliwia tworzenie linków [[doku>interwiki|Interwiki]]. Są to szybkie linki  
-  * 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 ShareTo remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> +  do innych systemów WikiNa przykład to jest link do strony w Wikipedii na temat [[wp>Wiki]].
-<?php +
-/** +
- * Customization of the english language file +
- * Copy only the strings that needs to be modified +
- */ +
-$lang['js']['nosmblinks'] = ''; +
-</code>+
  
-==== Image Links ==== 
  
-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:+==== Udziały sieciowe Windows ====
  
-  [[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+Udziały sieciowe Windows, takie jak [[\\server\share|ten]], są także rozpoznawaneProszę zauważyć że takie linki mają sens tylko w homogenicznych grupach użytkowników jak w korporacyjnym [[wppl>Intranet|intranecie]].
  
-[[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+  Udziały sieciowe Windows takie jak [[\\server\share|ten]] są także rozpoznawane.
  
-Please noteThe image formatting is the only formatting syntax accepted in link names.+Uwagi:
  
-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).+  * Ze względów bezpieczeństwa bezpośrednie przeglądanie udziałów sieciowych działa domyślnie tylko w Microsoft Internet Explorer (i tylko w "strefie lokalnej"). 
 +  * W Mozilli i Firefox można tę funkcję uaktywnić za pomocą opcji [[http://www.mozilla.org/quality/networking/docs/netprefs.html#file|security.checkloaduri]], lecz nie jest to zalecane. 
 +  * Zobacz więcej szczegółów w [[bug>151]].
  
-===== Footnotes ===== 
  
-You can add footnotes ((This is a footnote)) by using double parentheses.+==== Linki w grafice ====
  
-  You can add footnotes ((This is a footnote)by using double parentheses.+Możesz utworzyć link wewnętrzny lub zewnętrzny w grafice wklejonej na stronie poprzez złączenie składni linku i [[#zdjęcia i inne pliki|grafiki]] (zobacz poniżejw ten sposób:
  
-===== Sectioning =====+  [[https://www.php.net|{{wiki:dokuwiki-128.png}}]]
  
-You can use up to five different levels of headlines to structure your contentIf 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.+[[https://www.php.net|{{wiki:dokuwiki-128.png}}]]
  
-==== Headline Level 3 ==== +Uwaga: Formatowanie grafiki jest jedynym elementem składni, który można użyć w linkach.
-=== Headline Level 4 === +
-== Headline Level 5 ==+
  
-  ==== Headline Level 3 ==== +Jest tu dozwolona całość składni [[#zdjęcia i inne pliki|grafiki]] i [[#linki|linków]] (w tym skalowanie grafiki, grafika wewnętrzna i zewnętrzna oraz łącza URL i interwiki.
-  === Headline Level 4 === +
-  == Headline Level 5 ==+
  
-By using four or more dashes, you can make a horizontal line: 
  
-----+===== Przypisy =====
  
-===== Media Files =====+Można dodawać przypisy ((To jest przypis)) używając podwójnych nawiasów.
  
-You can include external and internal [[doku>images|images, videos and audio files]] with curly brackets. Optionally you can specify the size of them.+  Można dodawać przypisy ((To jest przypis)) używając podwójnych nawiasów.
  
-Real size:                        {{wiki:dokuwiki-128.png}}+===== Podział na sekcje (tytuły) =====
  
-Resize to given width:            {{wiki:dokuwiki-128.png?50}}+Można używać do pięciu poziomów tytułów by nadać treści strony strukturę hierarchiczną. Jeżeli w dokumencie będzie więcej niż trzy tytuły, spis treści zostanie wygenerowany automatycznie -- można to zablokować poprzez dodanie napisu ''<nowiki>~~NOTOC~~</nowiki>'' w treści dokumentu.
  
-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)): {{wiki:dokuwiki-128.png?200x50}}+==== Tytuł poziomu 3 ==== 
 +=== Tytuł poziomu 4 === 
 +== Tytuł poziomu 5 ==
  
-Resized external image:           {{http://de3.php.net/images/php.gif?200x50}}+  ==== Tytuł poziomu 3 ==== 
 +  === Tytuł poziomu 4 === 
 +  == Tytuł poziomu 5 ==
  
-  Real size                       {{wiki:dokuwiki-128.png}} +Używając czterech lub więcej kresek (znak minus), można uzyskać poziomą linię:
-  Resize to given width:            {{wiki:dokuwiki-128.png?50}} +
-  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} +
-  Resized external image:           {{http://de3.php.net/images/php.gif?200x50}}+
  
 +----
  
-By using left or right whitespaces you can choose the alignment. 
  
-{{ wiki:dokuwiki-128.png}} 
  
-{{wiki:dokuwiki-128.png }}+===== Zdjęcia i inne pliki =====
  
-{{ wiki:dokuwiki-128.png }}+Możesz wstawić wewnętrzne lub zewnętrzne [[doku>images|zdjęcie]] za pomocą nawiasów klamrowych. Opcjonalnie można ustalić jego wielkość.
  
-  {{ wiki:dokuwiki-128.png}} +Normalny rozmiar                {{wiki:dokuwiki-128.png}}
-  {{wiki:dokuwiki-128.png }} +
-  {{ wiki:dokuwiki-128.png }}+
  
-Of course, you can add a title (displayed as a tooltip by most browsers), too.+Skalowane do podanej szerokości:  {{wiki:dokuwiki-128.png?50}}
  
-{{ wiki:dokuwiki-128.png |This is the caption}}+Podana szerokość i wysokość:      {{wiki:dokuwiki-128.png?200x50}}
  
-  {{ wiki:dokuwiki-128.png |This is the caption}}+Przeskalowana grafika zewnętrzna: {{http://de3.php.net/images/php.gif?200x50}}
  
-For linking an image to another page see [[#Image Links]] above.+  Normalny rozmiar:                 {{wiki:dokuwiki-128.png}} 
 +  Skalowane do podanej szerokości:  {{wiki:dokuwiki-128.png?50}} 
 +  Podana szerokość i wysokość:      {{wiki:dokuwiki-128.png?200x50}} 
 +  Przeskalowana grafika zewnętrzna: {{http://de3.php.net/images/php.gif?200x50}}
  
-==== Supported Media Formats ====+Dodając spacji z lewej lub prawej możesz odpowiednio wyrównać grafikę.
  
-DokuWiki can embed the following media formats directly.+{{ wiki:dokuwiki-128.png}}
  
-| Image | ''gif'', ''jpg'', ''png'' +{{wiki:dokuwiki-128.png }}
-| Video | ''webm'', ''ogv'', ''mp4''+
-| Audio | ''ogg'', ''mp3'', ''wav'' +
-| Flash | ''swf''                    |+
  
-If you specify a filename that is not a supported media format, then it will be displayed as a link instead.+{{ wiki:dokuwiki-128.png }}
  
-By adding ''?linkonly'' you provide a link to the media without displaying it inline+  {{ wiki:dokuwiki-128.png}} 
 +  {{wiki:dokuwiki-128.png }} 
 +  {{ wiki:dokuwiki-128.png }}
  
-  {{wiki:dokuwiki-128.png?linkonly}}+Oczywiście można też dodać podpis (wyświetlany jako podpowiedź przez większość przeglądarek).
  
-{{wiki:dokuwiki-128.png?linkonly}} This is just a link to the image.+{{ wiki:dokuwiki-128.png |To jest podpis}}
  
-==== Fallback Formats ====+  {{ wiki:dokuwiki-128.png |To jest podpis}}
  
-Unfortunately not all browsers understand all video and audio formats. To mitigate the problemyou can upload your file in different formats for maximum browser compatibility.+Jeżeli podasz nazwę pliku (wewnętrznego lub zewnętrznego) który nie jest zdjęciem (''gifjpeg, png''), to w zamian pojawi się link do niego.
  
-For example consider this embedded mp4 video:+Składnia dla linków do [[#Linki w grafice|grafiki z innych stron]] opisana powyżej.
  
-  {{video.mp4|A funny video}}+===== Listy =====
  
-When you upload a ''video.webm'' and ''video.ogv'' next to the referenced ''video.mp4'', DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser.+Dokuwiki wspiera tworzenie numerowanych i nienumerowanych listBy utworzyć punkt listy, zrób wcięcie tekstu wstawiając na początku wiersza dwie spacje i wpisz ''*'' dla podpunktu nienumerowanego lub ''-'' dla numerowanego.
  
-Additionally DokuWiki supports a "poster" image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work. 
  
-===== Lists =====+  * To jest lista 
 +  * To druga pozycja 
 +    * Może być wiele poziomów wypunktowań 
 +  * Jeszcze jeden podpunkt
  
-Dokuwiki supports ordered and unordered lists. To create a list itemindent your text by two spaces and use a ''*'' for unordered lists or a ''-'' for ordered ones. +  - Ta sama listalecz numerowana 
- +  - Kolejny podpunkt 
-  * This is a list +    - Po prostu użyj wcięcia tekstu, by zaznaczyć poziom 
-  * The second item +  - To jest to
-    * You may have different levels +
-  * Another item +
- +
-  - The same list but ordered +
-  - Another item +
-    - Just use indention for deeper levels +
-  - That's it+
  
 <code> <code>
-  * This is a list +  * To jest lista 
-  * The second item +  * To druga pozycja 
-    * You may have different levels +    * Może być wiele poziomów wypunktowań 
-  * Another item+  * Jeszcze jeden podpunkt
  
-  - The same list but ordered +  - Ta sama lista, lecz numerowana 
-  - Another item +  - Kolejny podpunkt 
-    - Just use indention for deeper levels +    - Po prostu użyj wcięcia tekstu, by zaznaczyć poziom 
-  - That's it+  - To jest to
 </code> </code>
  
-Also take a look at the [[doku>faq:lists|FAQ on list items]]. 
  
-===== Text Conversions =====+===== Konwersja tekstu =====
  
-DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML.+DokuWiki może zamieniać określone, predefiniowane znaki lub ciągi znaków na grafikę lub inny tekst lub HTML.
  
-The text to image conversion is mainly done for smileysAnd the text to HTML conversion is used for typography replacementsbut can be configured to use other HTML as well.+Zamiana na grafikę dotyczy przede wszystkim emotikonZamianę na tekst lub HTML stosuje się zaś głównie do poprawek typograficznychmoże być jednak równie dobrze skonfigurowana do innych czynności.
  
-==== Text to Image Conversions ====+==== Emotikony ====
  
-DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalentsThose [[doku>Smileys]] and other images can be configured and extendedHere is an overview of Smileys included in DokuWiki:+DokuWiki przekształca często używane [[http://pl.wikipedia.org/wiki/emotikony|emotikony]] do ich graficznego odpowiednikaDodatkowe znaki można umieścić w katalogu ''smiley'' i skonfigurować w pliku ''conf/smileys.conf''. Poniżej przegląd emotikon zawartych w DokuWiki.
  
   * 8-) %%  8-)  %%   * 8-) %%  8-)  %%
Linia 253: Linia 225:
   * DELETEME %% DELETEME %%   * DELETEME %% DELETEME %%
  
-==== Text to HTML Conversions ==== 
  
-Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters.+ 
 +==== Typografia ==== 
 + 
 +[[DokuWiki]] może konwertować proste oznaczenia tekstowe na poprawne typograficznie znakiOto przykłady rozpoznawanych kombinacji znaków:
  
 -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
Linia 265: Linia 239:
 </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]].+Uwaga: Ta konwersja może być wyłączona przez [[doku>config#typography|opcję konfiguracyjną]] lub [[doku>entities|plik wzorcowy?]].
  
-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]]. 
  
-===== Quoting =====+===== Cytowanie =====
  
-Some times you want to mark some text to show it's a reply or commentYou can use the following syntax:+Czasami chcesz zaznaczyć część tekstu by pokazać iż jest odpowiedzią lub komentarzemZastosuj wtedy następującą składnię:
  
-<code> +  Myślę, że powinniśmy tak zrobić. 
-I think we should do it +   
- +  Nie, nie powinniśmy   
-No we shouldn'+  >> A moim zdaniem powinniśmy. 
- +  Naprawdę
->> Well, I say we should +  >> Tak
- +  >>> Więc zróbmy tak!
-Really+
- +
->> Yes+
- +
->>> Then lets do it! +
-</code> +
- +
-I think we should do it +
- +
-> No we shouldn't+
  
->> WellI say we should+Myślę, że powinniśmy tak zrobić. 
 +Nienie powinniśmy 
 +>> A moim zdaniem powinniśmy. 
 +> Naprawdę? 
 +>> Tak! 
 +>>> Więc zróbmy tak!
  
-> Really? 
  
->> Yes!+===== Tabele =====
  
->>> Then lets do it!+DokuWiki posiada prostą składnię do tworzenia tabel.
  
-===== Tables =====+^ Nagłówek 1  ^ Nagłówek 2  ^ Nagłówek 3  ^ 
 +| w1k1        | w1k2        | w1k3        | 
 +| w1k1        | :::         | w1k3        |
  
-DokuWiki supports a simple syntax to create tables.+^ Nagłówek 1            ^ Nagłówek 2             ^ Nagłówek 3                ^ 
 +| Wiersz 1 Kolumna 1    | Wiersz 1 Kolumna 2     | Wiersz 1 Kolumna 3        | 
 +| Wiersz 2 Kolumna 1    | złączona kolumna (zwróć uwagę na podwójną kreskę) || 
 +| Wiersz 3 Kolumna 1    | Wiersz 2 Kolumna 2     | Wiersz 2 Kolumna 3        |
  
-Heading 1      ^ Heading 2       ^ Heading 3          ^ +Kolumny tabeli powinny zaczynać się od ''|'' dla normalnych komórek i od ''^'' dla nagłówków.
-| 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        |+
  
-Table rows have to start and end with a ''|'' for normal rows or a ''^'' for headers.+  Nagłówek 1            ^ Nagłówek 2             ^ Nagłówek 3                ^ 
 +  | Wiersz 1 Kolumna 1    | Wiersz 1 Kolumna 2     | Wiersz 1 Kolumna 3        | 
 +  | Wiersz 2 Kolumna 1    | złączona kolumna (zwróć uwagę na podwójną kreskę) || 
 +  | Wiersz 3 Kolumna 1    | Wiersz 2 Kolumna 2     | Wiersz 2 Kolumna 3        |
  
-  ^ Heading 1      ^ Heading 2       ^ Heading 3          ^ +By połączyć komórki poziomo, pozostaw następną komórkę całkowicie pustą, jak w przykładzie powyżej. Upewnij się że zawsze masz tę samą ilość separatorów komórek w wierszu!
-  | 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 horizontally, just make the next cell completely empty as shown aboveBe sure to have always the same amount of cell separators!+Można też utworzyć nagłówki wierszy w pionie.
  
-Vertical tableheaders are possible, too.+|               ^ Nagłówek 1                  ^ Nagłówek 2                ^ 
 +^ Nagłówek 3    | Wiersz 1 Kolumna 2          | Wiersz 1 Kolumna 3        | 
 +^ Nagłówek 4    | tym razem bez łączenia      |                           | 
 +^ Nagłówek 5    | Wiersz 2 Kolumna 2          | Wiersz 2 Kolumna 3        |
  
-|              ^ Heading 1            ^ Heading 2          ^ +Jak zauważyłeś, to separator komórki decyduje o formatowaniu:
-^ 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:+  |               ^ Nagłówek 1                  ^ Nagłówek 2                ^ 
 +  ^ Nagłówek 3    | Wiersz 1 Kolumna 2          | Wiersz 1 Kolumna 3        | 
 +  ^ Nagłówek 4    | tym razem bez łączenia      |                           | 
 +  ^ Nagłówek 5    | Wiersz 2 Kolumna 2          | Wiersz 2 Kolumna 3        |
  
-  |              ^ Heading 1            ^ Heading 2          ^ +Można również łączyć komórki w pionie, poprzez umieszczenie '':::'' w komórkach znajdujących się poniżej tej, z którą chcemy je połączyć.
-  ^ 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        |+
  
-You can have rowspans (vertically connected cells) by adding ''%%:::%%'' into the cells below the one to which they should connect.+^ Nagłówek 1            ^ Nagłówek 2                    ^ Nagłówek 3                ^ 
 +| Wiersz 1 Kolumna 1    | ta kolumna łączy się w pionie | Wiersz 1 Kolumna 3        | 
 +| Wiersz 2 Kolumna 1    | :::                           | Wiersz 2 Kolumna 3        | 
 +| Wiersz 3 Kolumna 1    | :::                           | Wiersz 2 Kolumna 3        |
  
-^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ +Poza ww. składnią, komórki te nie mogą posiadać żadnej innej treści.
-| 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.+  ^ Nagłówek 1            ^ Nagłówek 2                    ^ Nagłówek 3                ^ 
 +  | Wiersz 1 Kolumna 1    | ta kolumna łączy się w pionie | Wiersz 1 Kolumna 3        | 
 +  | Wiersz 2 Kolumna 1    | :::                           | Wiersz 2 Kolumna 3        | 
 +  | Wiersz 3 Kolumna 1    | :::                           | Wiersz 2 Kolumna 3        |
  
-  ^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ +Można też wyrównywać zawartość tabeli. Po prostu dodaj dwie spacje po przeciwnej stronie tekstuDodaj dwie spacje po lewej stronie aby wyrównać do prawej, dwie spacje po prawej stronie aby wyrównać do lewej lub po dwie spacje po obu stronach aby tekst wyśrodkować.
-  | 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           ^^^ +^           Tabela z wyrównaniem           ^^^ 
-|         right|    center    |left          | +|         prawo|    środek    |lewo          | 
-|left                  right|    center    |+|lewo                  prawo|    środek    |
 | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
  
-This is how it looks in the source:+Tak to wygląda w tekście źródłowym:
  
-  ^           Table with alignment           ^^^ +  ^           Tabela z wyrównaniem           ^^^ 
-  |         right|    center    |left          | +  |         prawo|    środek    |lewo          | 
-  |left                  right|    center    |+  |lewo                  prawo|    środek    |
   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
  
-Note: Vertical alignment is not supported. 
  
-===== 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>''. 
  
-<nowiki> +===== Fragmenty niesformatowane =====
-This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. +
-</nowiki> +
-The same is true for %%//__this__ text// with a smiley ;-)%%.+
  
-  <nowiki> +Możesz włączyć do tekstu fragmentyktóre nie będą formatowane poprzez poprzedzenie wiersza dwiema spacjami (jak we wszystkich powyższych przykładachlub używając znaczników ''code'' lub ''file''.
-  This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**but nothing is done with it. +
-  </nowiki> +
-  The same is true for %%//__this__ text// with a smiley ;-)%%. +
- +
-===== Code Blocks ===== +
- +
-You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examplesor by using the tags ''%%<code>%%'' or ''%%<file>%%''+
- +
-  This is text is indented by two spaces.+
  
 <code> <code>
-This is preformatted code all spaces are preserved: like              <-this+To fragment wcześniej sformatowanego kodu zawierającego spacje, które są zachowane               <-w ten sposób.
 </code> </code>
  
 <file> <file>
-This is pretty much the same, but you could use it to show that you quoted a file.+Mniej więcej to samo; można używać do cytowania fragmentów pliku.
 </file> </file>
  
-Those blocks were created by this source:+By parser całkowicie zignorował pewien fragment (tzn. nie formatował go), ujmij ten fragment w znaczniki ''nowiki'' lub - jeszcze prościej - w podwójny znak procenta ''<nowiki>%%</nowiki>''.
  
-    This is text is indented by two spaces.+<nowiki> 
 +To jest fragment tekstu, który zawiera adres: http://www.splitbrain.org ale **formatowanie** tu nie występuje. 
 +</nowiki>
  
-  <code> +Zobacz źródło tej strony żeby zobaczyć jak używać bloków.
-  This is preformatted code all spaces are preserved: like              <-this +
-  </code>+
  
-  <file> 
-  This is pretty much the same, but you could use it to show that you quoted a file. 
-  </file> 
  
-==== Syntax Highlighting ====+===== Podświetlanie składni =====
  
-[[wiki:DokuWiki]] can highlight sourcecodewhich makes it easier to readIt uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supportedThe syntax uses the same code and file blocks described in the previous sectionbut this time the name of the language syntax to be highlighted is included inside the tage.g. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.+[[DokuWiki]] może podświetlać składnię kodu źródłowegoco ułatwia jego czytanieW tym celu używa [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- więc każdy język wspierany przez GeSHi jest rozpoznawanySkładnia jest taka sama jak w blokach kodu w poprzednim akapicieale tym razem w znaczniku jest wstawiona dodatkowo nazwa zastosowanego językanp. ''<nowiki><code java></nowiki>''.
  
 <code java> <code java>
-/**+/** 
  * The HelloWorldApp class implements an application that  * The HelloWorldApp class implements an application that
  * simply displays "Hello World!" to the standard output.  * simply displays "Hello World!" to the standard output.
Linia 417: Linia 367:
 </code> </code>
  
-The following language strings are currently recognized: //4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript-french, actionscript, actionscript3, ada, algol68, apache, applescript, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscriptcil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, e, epc, ecmascript, eiffel, email, erlang, euphoria, f1, falcon, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, go, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, html5, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, objeck, ocaml-brief, ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, 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, uscript, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic//+Obecnie są rozpoznawane następujące języki: //actionscript-french, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, caddcl, cadlisp, cfdg, cfm, c_macc, cpp, csharp, css, delphi, diff, div, dos, d, eiffel, fortran, freebasic, gml, groovy, html4strict, idl, ini, inno, java5, java, javascript, latex, lisp, lua, matlab, mpasm, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, perl, php-brief, php, python, qbasic, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vbnet, vb, vhdl, visualfoxpro, winbatch, xml//
  
-==== 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 do this by specifying a file name after language code like this: 
  
-<code> +===== Wstawianie HTML PHP =====
-<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:+Możesz wbudować w swój dokument czysty kod HTML i PHP używając znaczników ''html'' lub ''php'' w ten sposób:
  
 <code> <code>
 <html> <html>
-This is some <span style="color:red;font-size:150%;">inline HTML</span>+To jest trochę kodu <font color="redsize="+1">HTML</font>
 </html> </html>
-<HTML> 
-<p style="border:2px dashed red;">And this is some block HTML</p> 
-</HTML> 
 </code> </code>
  
 <html> <html>
-This is some <span style="color:red;font-size:150%;">inline HTML</span>+To jest trochę kodu <font color="redsize="+1">HTML</font>
 </html> </html>
-<HTML> 
-<p style="border:2px dashed red;">And this is some block HTML</p> 
-</HTML> 
- 
-PHP example: 
  
 <code> <code>
 <php> <php>
-echo 'The PHP version: '+echo 'A logo generated by PHP:'; 
-echo phpversion()+echo '<img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" />';
-echo ' (generated inline HTML)';+
 </php> </php>
-<PHP> 
-echo '<table class="inline"><tr><td>The same, but inside a block level element:</td>'; 
-echo '<td>'.phpversion().'</td>'; 
-echo '</tr></table>'; 
-</PHP> 
 </code> </code>
  
 <php> <php>
-echo 'The PHP version: '+echo 'A logo generated by PHP:'; 
-echo phpversion()+echo '<img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" />';
-echo ' (inline HTML)';+
 </php> </php>
-<PHP> 
-echo '<table class="inline"><tr><td>The same, but inside a block level element:</td>'; 
-echo '<td>'.phpversion().'</td>'; 
-echo '</tr></table>'; 
-</PHP> 
- 
-**Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. 
- 
-===== 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 | 
-| nosort     | do not sort the items in the feed | 
-| //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: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 [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered. 
- 
-By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''reverse'' parameter, or display the feed as is with ''nosort''. 
- 
-**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~~+**Uwaga**wstawianie HTML i PHP jest domyślnie wyłączone w konfiguracji. Jeżeli tak jest, kod jest wyświetlany bez interpretacji.
  
wiki/syntax.txt · ostatnio zmienione: 2016/04/04 21:36 przez xrogers