wiki:syntax
Różnice
Różnice między wybraną wersją a wersją aktualną.
| Poprzednia rewizja po obu stronachPoprzednia wersja | |||
| wiki:syntax [2010/04/08 21:36] – Links to artykuly:manuale changed to dane-techniczne:manuale admin | wiki:syntax [2023/04/20 12:04] (aktualna) – edycja zewnętrzna 127.0.0.1 | ||
|---|---|---|---|
| Linia 1: | Linia 1: | ||
| ====== Formatting Syntax ====== | ====== Formatting Syntax ====== | ||
| - | [[doku> | + | [[doku> |
| ===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
| Linia 58: | Linia 58: | ||
| For details about namespaces see [[doku> | 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 [[dane-techniczne: | + | 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 [[dane-techniczne: | + | This links to [[syntax# |
| Notes: | Notes: | ||
| - | * Links to [[dane-techniczne: | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
| * DokuWiki does not use [[wp> | * DokuWiki does not use [[wp> | ||
| * When a section' | * When a section' | ||
| Linia 74: | Linia 74: | ||
| DokuWiki supports [[doku> | DokuWiki supports [[doku> | ||
| For example this is a link to Wikipedia' | For example this is a link to Wikipedia' | ||
| - | |||
| ==== Windows Shares ==== | ==== Windows Shares ==== | ||
| Linia 85: | Linia 84: | ||
| * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | * 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:// | + | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// |
| + | <?php | ||
| + | /** | ||
| + | * Customization of the english language file | ||
| + | * Copy only the strings that needs to be modified | ||
| + | */ | ||
| + | $lang[' | ||
| + | </ | ||
| ==== Image Links ==== | ==== Image Links ==== | ||
| - | You can also use an image to link to another internal or external page by combining the syntax for links and [[dane-techniczne: | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# |
| - | [[http://www.php.net|{{dokuwiki-128.png}}]] | + | [[http:// |
| - | [[http://www.php.net|{{dokuwiki-128.png}}]] | + | [[http:// |
| Please note: The image formatting is the only formatting syntax accepted in link names. | Please note: The image formatting is the only formatting syntax accepted in link names. | ||
| - | The whole [[dane-techniczne: | + | The whole [[# |
| ===== Footnotes ===== | ===== Footnotes ===== | ||
| Linia 122: | Linia 127: | ||
| ---- | ---- | ||
| - | ===== Images and Other Files ===== | + | ===== Media Files ===== |
| - | You can include external and internal [[doku> | + | You can include external and internal [[doku> |
| - | Real size: {{dokuwiki-128.png}} | + | Real size: {{wiki:dokuwiki-128.png}} |
| - | Resize to given width: | + | Resize to given width: |
| - | Resize to given width and height((when the aspect ratio of the given width and height doesn' | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | Resized external image: | + | Resized external image: |
| - | Real size: {{dokuwiki-128.png}} | + | Real size: {{wiki:dokuwiki-128.png}} |
| - | Resize to given width: | + | Resize to given width: |
| - | Resize to given width and height: {{dokuwiki-128.png? | + | Resize to given width and height: {{wiki:dokuwiki-128.png? |
| - | Resized external image: | + | Resized external image: |
| Linia 144: | Linia 149: | ||
| {{ wiki: | {{ wiki: | ||
| - | {{dokuwiki-128.png }} | + | {{wiki:dokuwiki-128.png }} |
| {{ wiki: | {{ wiki: | ||
| {{ wiki: | {{ wiki: | ||
| - | {{dokuwiki-128.png }} | + | {{wiki:dokuwiki-128.png }} |
| {{ wiki: | {{ wiki: | ||
| Linia 158: | Linia 163: | ||
| {{ wiki: | {{ wiki: | ||
| - | If you specify a filename (external or internal) that is not an image ('' | + | For linking |
| - | For linking an image to another page see [[dane-techniczne:manuale# | + | ==== Supported Media Formats ==== |
| + | |||
| + | DokuWiki can embed the following media formats directly. | ||
| + | |||
| + | | Image | '' | ||
| + | | Video | '' | ||
| + | | Audio | '' | ||
| + | | Flash | '' | ||
| + | |||
| + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
| + | |||
| + | By adding ''? | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | {{wiki:dokuwiki-128.png? | ||
| + | |||
| + | ==== Fallback Formats ==== | ||
| + | |||
| + | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
| + | |||
| + | For example consider this embedded mp4 video: | ||
| + | |||
| + | {{video.mp4|A funny video}} | ||
| + | |||
| + | When you upload a '' | ||
| + | |||
| + | Additionally DokuWiki supports a " | ||
| ===== Lists ===== | ===== Lists ===== | ||
| Linia 223: | Linia 255: | ||
| ==== Text to HTML Conversions ==== | ==== Text to HTML Conversions ==== | ||
| - | Typography: [[dane-techniczne: | + | Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. |
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| Linia 241: | Linia 273: | ||
| Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | 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 | |
| - | > No we shouldn' | + | |
| - | + | > No we shouldn' | |
| - | >> Well, I say we should | + | |
| - | + | >> Well, I say we should | |
| - | > Really? | + | |
| - | + | > Really? | |
| - | >> Yes! | + | |
| - | + | >> Yes! | |
| - | >>> | + | |
| + | >>> | ||
| + | </ | ||
| I think we should do it | I think we should do it | ||
| Linia 297: | Linia 331: | ||
| ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
| - | You can have rowspans (vertically connected cells) by adding '':::'' | + | You can have rowspans (vertically connected cells) by adding '' |
| ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
| Linia 369: | Linia 403: | ||
| ==== Syntax Highlighting ==== | ==== Syntax Highlighting ==== | ||
| - | [[dane-techniczne:manuale]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// | + | [[wiki:DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http:// |
| <code java> | <code java> | ||
| Linia 383: | Linia 417: | ||
| </ | </ | ||
| - | The following language strings are currently recognized: //abap, actionscript-french, | + | The following language strings are currently recognized: //4cs, 6502acme, 6502kickass, |
| ==== Downloadable Code Blocks ==== | ==== Downloadable Code Blocks ==== | ||
| - | When you use the '' | + | When you use the '' |
| < | < | ||
| Linia 428: | Linia 462: | ||
| < | < | ||
| <php> | <php> | ||
| - | echo 'A logo generated by PHP:'; | + | echo 'The PHP version: '; |
| - | echo '< | + | echo phpversion(); |
| - | echo ' | + | echo ' (generated inline HTML)'; |
| </ | </ | ||
| <PHP> | <PHP> | ||
| echo '< | echo '< | ||
| - | echo '< | + | echo '< |
| echo '</ | echo '</ | ||
| </ | </ | ||
| Linia 440: | Linia 474: | ||
| <php> | <php> | ||
| - | echo 'A logo generated by PHP:'; | + | echo 'The PHP version: '; |
| - | echo '< | + | echo phpversion(); |
| - | echo ' | + | echo ' (inline HTML)'; |
| </ | </ | ||
| <PHP> | <PHP> | ||
| echo '< | echo '< | ||
| - | echo '< | + | echo '< |
| echo '</ | echo '</ | ||
| </ | </ | ||
| Linia 453: | Linia 487: | ||
| ===== RSS/ATOM Feed Aggregation ===== | ===== RSS/ATOM Feed Aggregation ===== | ||
| - | [[dane-techniczne: | + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// |
| ^ Parameter | ^ Parameter | ||
| Linia 461: | Linia 495: | ||
| | date | show item dates | | | date | show item dates | | ||
| | description| show the item description. If [[doku> | | description| show the item description. If [[doku> | ||
| + | | nosort | ||
| | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | | //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. [[dane-techniczne:manuale]] 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 [[dane-techniczne:manuale]] to re-render the page if it is more than //refresh period// since the page was last rendered. | + | 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 '' | ||
| **Example: | **Example: | ||
wiki/syntax.1270755411.txt.gz · ostatnio zmienione: (edycja zewnętrzna)
