| 51 | == Wiki syntax == |
| 52 | |
| 53 | Downloader plug-in provides three types of wiki syntax for referencing of standalone files, whole releases or categories. Each syntax have two possible forms. If syntax is enclosed by [] you can easily write your own title for item (file, release, category). If the syntax is separated just by spaces, there will be automatically created link with name of referenced item (file, release, category). |
| 54 | |
| 55 | '''Syntaxes:''' |
| 56 | |
| 57 | {{{ |
| 58 | downloader:5 - Creates link to file with id 5 with it's name |
| 59 | [downloader:5 click here] - Creates 'click here' link to file with id 5 |
| 60 | |
| 61 | downloaderrel:23 - Creates link to release with id 23 with it's name |
| 62 | [downloaderrel:23 click here] - Creates 'click here' link to release with id 23 |
| 63 | |
| 64 | downloadercat:43 - Creates link to category with id 43 with it's name |
| 65 | [downloadercat:43 click here] - Creates 'click here' link to category with id 43 |
| 66 | |
| 67 | |
| 68 | }}} |
| 69 | |
| 70 | If item of that id doesn't exist, there's diplayed only link to nowhere with title "id not found". If file was deleted, it still displays it's correct name, but link is to nowhere. |
| 71 | |