Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki:syntax [2021/10/19 04:58] – added cheat sheet, note about html being disabled atari | wiki:syntax [2024/02/15 23:10] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | This wiki is powered by the DokuWiki | + | [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible |
| - | + | ||
| - | If you'd like to play around with code to see how it behaves on the actual page, please | + | |
| - | + | ||
| - | You can check out our guide to good Wiki editing-practices | + | |
| - | + | ||
| - | Below is a static copy of the aforementioned syntax page for reference (may become outdated over time). | + | |
| ===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
| Line 132: | Line 126: | ||
| ---- | ---- | ||
| - | |||
| - | < | ||
| - | ---- | ||
| - | </ | ||
| ===== Media Files ===== | ===== Media Files ===== | ||
| Line 147: | Line 137: | ||
| 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: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
| Real size: {{wiki: | Real size: {{wiki: | ||
| Resize to given width: | Resize to given width: | ||
| Resize to given width and height: {{wiki: | Resize to given width and height: {{wiki: | ||
| - | Resized external image: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
| Line 257: | Line 247: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Line 413: | Line 404: | ||
| ==== Syntax Highlighting ==== | ==== Syntax Highlighting ==== | ||
| - | DokuWiki 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> | ||
| Line 446: | Line 437: | ||
| If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| - | |||
| - | |||
| - | ===== Embedding HTML and PHP ===== | ||
| - | |||
| - | <WRAP center round important> | ||
| - | Currently disabled on this wiki. | ||
| - | </ | ||
| - | |||
| - | You can embed raw HTML or PHP code into your documents by using the '' | ||
| - | |||
| - | HTML example: | ||
| - | |||
| - | < | ||
| - | < | ||
| - | This is some <span style=" | ||
| - | </ | ||
| - | < | ||
| - | <p style=" | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | This is some <span style=" | ||
| - | </ | ||
| - | < | ||
| - | <p style=" | ||
| - | </ | ||
| - | |||
| - | PHP example: | ||
| - | |||
| - | < | ||
| - | <php> | ||
| - | echo 'The PHP version: '; | ||
| - | echo phpversion(); | ||
| - | echo ' (generated inline HTML)'; | ||
| - | </ | ||
| - | <PHP> | ||
| - | echo '< | ||
| - | echo '< | ||
| - | echo '</ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | <php> | ||
| - | echo 'The PHP version: '; | ||
| - | echo phpversion(); | ||
| - | echo ' (inline HTML)'; | ||
| - | </ | ||
| - | <PHP> | ||
| - | echo '< | ||
| - | echo '< | ||
| - | echo '</ | ||
| - | </ | ||
| - | |||
| - | **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 ===== | ===== RSS/ATOM Feed Aggregation ===== | ||
| Line 510: | Line 446: | ||
| | author | | author | ||
| | date | show item dates | | | date | show item dates | | ||
| - | | description| show the item description. | + | | description| show the item description. |
| | nosort | | 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). | | ||
| Line 538: | Line 474: | ||
| ~~INFO: | ~~INFO: | ||
| - | |||
| - | ===== Cheat sheet ===== | ||
| - | |||
| - | [[URL|Display text]] | ||
| - | [[wp> | ||
| - | | ||
| - | {{URL-to-image|Alt text}} | ||
| - | | ||
| - | {{URL-to-video? | ||
| - | | ||
| - | -> | ||
| - | **Bold text** | ||
| - | // | ||
| - | '' | ||
| - | %%Unformatted text%% | ||
| - | * Unordered list | ||
| - | * Second bullet | ||
| - | | ||
| - | - Ordered list | ||
| - | - Second number | ||
| - | | ||
| - | '' | ||
| - | | ||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | {{: | ||
| - | | ||
| - | {{: | ||
| - | {{: | ||
| - | | ||
| - | <code xml file.txt> | ||
| - | Here is my unformatted code. | ||
| - | </ | ||
| - | | ||
| - | <WRAP group> | ||
| - | <WRAP half column> | ||
| - | First column content. | ||
| - | </ | ||
| - | <WRAP half column> | ||
| - | Second column content. | ||
| - | </ | ||
| - | </ | ||
| - | | ||
| - | ^ Header 1 ^ Header 2 ^ Header 3 ^ | ||
| - | ^ Header 4 | Table content | Table content | | ||
| - | | ||
| - | --> Click here to expand | ||
| - | | ||
| - | Collapsed content here. | ||
| - | | ||
| - | <-- | ||
| - | | ||
| - | < | ||
| - | roms/ | ||
| - | ├─ psx/ | ||
| - | │ ├─ Final Fantasy VII (Disc 1).cue | ||
| - | │ └─ Final Fantasy VII (Disc 1).bin | ||
| - | └─ Final Fantasy VII (Disc 1).m3u | ||
| - | </ | ||
| - | |||
| - | For info and generic syntax: https:// | ||
| - | For info about WRAPS: https:// | ||
- wiki/syntax.1634619527.txt.gz
- Last modified: 5 years ago
- by atari