wiki:sintassi
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
wiki:sintassi [2024/06/24 13:14] – [Internal] piedipari | wiki:sintassi [2025/07/25 13:42] (versione attuale) – creata roughnecks | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
- | ====== | + | ====== |
+ | [[DokuWiki]] supporta del semplice linguaggio di formattazione, | ||
+ | ===== Basi per la Formattazione del testo ===== | ||
- | [[doku>DokuWiki]] supporta | + | DokuWiki supporta |
- | ===== Formattazione base ===== | + | DokuWiki supporta testi in **grassetto**, |
+ | Naturalmente tutti questi si possono **__//'' | ||
- | DokuWiki supporta testi in **grassetto**, | + | Si possono usare anche < |
- | | + | |
- | __sottolineato__ | + | |
- | Ovviamente anche in maniera **__//'' | + | |
- | Puoi usare <sub>pedice</sub> e < | + | Inoltre si può contrassegnare qualcosa come <del>cancellato</del>. |
- | | + | |
- | E' possibile contrassegnare qualcosa come < | + | I **paragrafi** sono creati da righe vuote. Se si vuole **forzare un ritorno a capo** senza un paragrafo, si possono usare due barre retroverse seguite da uno spazio bianco o dalla fine della riga. |
- | E' possibile contrassegnare qualcosa come | + | Questo è del testo con qualche interruzione di linea\\ Notare che le |
- | <del> | + | due barre retroverse sono riconosciute soltanto alla fine di una linea\\ |
+ | oppure quando seguite da\\ uno spazio bianco \\ecco cosa succede senza di questo. | ||
- | **I paragrafi** vengono creati da linee vuote. Per **forzare un a capo** senza un paragrafo, basta usare due backslashes seguite da uno spazio vuoto oppure a fine riga. | + | |
- | + | due barre retroverse sono riconosciute | |
- | Questo è un testo con interruzioni\\ Notare che le 2 backslashes vengono | + | |
- | riga\\ | + | |
- | o se seguite da\\ uno spazio vuoto \\cosa che non succede senza spazio. | + | |
- | + | ||
- | | + | |
- | riconosciute alla fine della riga\\ o se seguite da\\ uno spazio | + | |
- | | + | |
- | + | ||
- | Si dovrebbe usare questa funzione solo se strettamente necessario. | + | |
+ | I ritorni a capo forzati dovrebbero essere usati solo quando realmente necessari. | ||
===== Collegamenti ===== | ===== Collegamenti ===== | ||
- | DokuWiki supporta | + | DokuWiki supporta |
==== Esterni ==== | ==== Esterni ==== | ||
- | Collegamenti | + | I collegamenti |
- | DokuWiki supporta | + | DokuWiki supporta |
- | | + | |
- | anche il testo di collegamento: [[http:// | + | anche i testi dei collegamenti: [[http:// |
- | | + | |
- | + | ||
- | | + | |
==== Interni ==== | ==== Interni ==== | ||
- | Collegamenti | + | I collegamenti |
- | | + | |
- | a [[pagename]] | + | o, in alternativa, |
- | [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed. | + | [[it:pagename|I nomi delle pagine wiki]] sono convertiti automaticamente in minuscolo, i caratteri speciali non sono consentiti. |
- | You can use [[some: | + | Si può specificare la [[it:namespaces|categoria]] usando i due punti (:) nel nome della pagina. |
- | | + | |
- | For details about namespaces see [[doku>namespaces]]. | + | Per i dettagli si veda [[it:namespaces|categorie]]. |
- | 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]]. | + | È pure possibile realizzare collegamenti |
- | | + | |
- | Notes: | + | Note: |
- | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | * I collegamenti a [[wiki:syntax|pagine esistenti]] sono visualizzati con uno stile differente da quelle |
- | * DokuWiki | + | * DokuWiki |
- | * When a section's heading is changed, its bookmark | + | * Quando l'intestazione di una sezione è modificata, anche il suo segnalibro (//bookmark//) cambia. Pertanto non bisogna fare troppo affidamento sui collegamenti alle sezioni. |
==== Interwiki ==== | ==== Interwiki ==== | ||
- | DokuWiki supports | + | Dokuwiki supporta i collegamenti |
- | | + | |
- | | + | |
- | ==== Windows Shares ==== | ||
- | Windows | + | ==== Partizioni |
- | | + | Le partizioni |
- | Notes: | + | Le partizioni Windows come [[\\server\share|questa]] sono pure riconosciute. |
- | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | + | Note: |
- | * 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 ==== | + | * Per ragioni di sicurezza la navigazione diretta di partizioni Windows funziona solo in Microsoft Internet Explorer, in modo predefinito (e soltanto nella "zona locale" |
+ | * Per Mozilla e Firefox questa può essere abilitata mediante l' | ||
+ | * Vedere [[bug> | ||
+ | ==== Collegamenti a immagini | ||
- | 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: | + | Si può anche usare un' |
- | [[http:// | + | [[http://www.php.net|{{wiki: |
- | [[http:// | + | [[http://www.php.net|{{wiki: |
- | Please note: The image formatting is the only formatting syntax accepted in link names. | + | Notare: la formattazione dell' |
- | The whole [[#images_and_other_files|image]] and [[#links|link]] syntax is supported | + | L' |
- | ===== Footnotes ===== | + | ----- |
- | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | You can add footnotes ((This is a footnote)) by using double parentheses. | + | ===== Note a piè di pagina ===== |
- | ===== Sectioning ===== | + | Si possono aggiungere note a piè di pagina ((Questa è una nota a piè di pagina)) usando parentesi doppie. |
- | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, | + | Si possono aggiungere note a piè di pagina ((Questa è una nota a piè di pagina)) usando parentesi doppie. |
+ | ===== Suddivisione in sezioni ===== | ||
- | ==== Headline Level 3 ==== | + | Si possono usare fino a cinque differenti livelli di intestazione per strutturare il contenuto. Se si hanno più di tre intestazioni, |
- | === Headline Level 4 === | + | |
- | == Headline Level 5 == | + | |
- | ==== Headline Level 3 ==== | ||
- | === Headline Level 4 === | ||
- | == Headline Level 5 == | ||
- | By using four or more dashes, you can make a horizontal line: | + | ==== Livello di intestazione 3 ==== |
+ | === Livello di intestazione 4 === | ||
+ | == Livello di intestazione 5 == | ||
- | ---- | + | ==== Livello di intestazione 3 ==== |
+ | === Livello di intestazione 4 === | ||
+ | == Livello di intestazione 5 == | ||
- | ===== Media Files ===== | + | Usando quattro o più trattini, si può fare una linea orizzontale: |
+ | ---- | ||
+ | ===== Immagini e altri file ===== | ||
- | You can include external and internal | + | Si possono includere |
- | Real size: {{wiki: | + | Dimensione reale: {{wiki: |
- | Resize to given width: {{wiki: | + | Ridimensionata a una larghezza data: {{wiki: |
- | 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: | + | Ridimensionata a larghezza e altezza date((quando il rapporto tra la larghezza e l'altezza dati non corrispondono con quelli dell' |
- | Resized external image: {{https:// | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | By using left or right whitespaces you can choose the alignment. | + | Usando spazi bianchi a sinistra o a destra si può scegliere l' |
{{ wiki: | {{ wiki: | ||
Linea 155: | Linea 140: | ||
{{ wiki: | {{ wiki: | ||
+ | |||
{{ wiki: | {{ wiki: | ||
Linea 160: | Linea 146: | ||
{{ wiki: | {{ wiki: | ||
- | Of course, you can add a title (displayed as a tooltip by most browsers), too. | + | Naturalmente, si può aggiungere anche un titolo |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | For linking an image to another page see [[#Image Links]] above. | + | Se si specifica il nome di un file (esterno o interno) che non è un' |
- | ==== Supported Media Formats ==== | + | Per collegare un' |
- | DokuWiki can embed the following media formats directly. | ||
- | | Image | '' | + | ===== Liste ===== |
- | | Video | '' | + | |
- | | Audio | '' | + | |
- | | Flash | '' | + | |
- | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | + | Dokuwiki supporta liste ordinate e non-ordinate. Per creare un elemento di una lista, indentare il testo con due spazi e usare un asterisco ('' |
- | By adding ''? | + | * Questa è una lista |
+ | * Il secondo elemento | ||
+ | * Si possono avere livelli differenti | ||
+ | * Un altro elemento | ||
- | | + | - La stessa lista ma ordinata |
- | + | - Un altro elemento | |
- | {{wiki: | + | - Usare semplicemente l' |
- | + | - È tutto | |
- | ==== 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: | + | |
- | + | ||
- | | + | |
- | + | ||
- | When you upload a '' | + | |
- | + | ||
- | Additionally DokuWiki supports a " | + | |
- | + | ||
- | ===== Lists ===== | + | |
- | + | ||
- | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | + | |
- | + | ||
- | * This is a list | + | |
- | * The second item | + | |
- | | + | |
- | * Another item | + | |
- | + | ||
- | | + | |
- | - Another item | + | |
- | - Just use indention for deeper levels | + | |
- | - That's it | + | |
< | < | ||
- | * This is a list | + | * Questa è una lista |
- | * The second item | + | * Il secondo elemento |
- | * You may have different levels | + | * Si possono avere livelli differenti |
- | * Another item | + | * Un altro elemento |
- | - The same list but ordered | + | - La stessa lista ma ordinata |
- | - Another item | + | - Un altro elemento |
- | - Just use indention for deeper levels | + | - Usare semplicemente l' |
- | - That's it | + | - È tutto |
</ | </ | ||
+ | ===== Conversioni di testo ===== | ||
- | Also take a look at the [[doku> | + | DokuWiki |
- | + | ||
- | ===== Text Conversions ===== | + | |
- | + | ||
- | DokuWiki | + | |
- | + | ||
- | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | + | |
- | ==== Text to Image Conversions | + | La conversione di testo in immagini è fatta principalmente per le faccine. E la conversione del testo in formato HTML è usata per sostituzione tipografica ma può essere configurata per usare anche altro HTML. |
+ | ==== Conversioni di testo in immagini | ||
- | DokuWiki | + | DokuWiki |
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
Linea 250: | Linea 206: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
- | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
Linea 256: | Linea 211: | ||
* FIXME %% FIXME %% | * FIXME %% FIXME %% | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
+ | ==== Conversioni di testo in HTML ==== | ||
- | ==== Text to HTML Conversions ==== | + | [[DokuWiki]] può convertire semplici caratteri di testo nelle rispettive entità tipograficamente corrette. Ecco un esempio dei caratteri riconosciuti. |
- | 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) | + | |
"He thought ' | "He thought ' | ||
< | < | ||
- | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | + | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) |
"He thought ' | "He thought ' | ||
</ | </ | ||
- | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> | + | La stesso può essere fatto per produrre ogni tipo di codice |
- | There are three exceptions which do not come from that pattern file: multiplication entity | + | Esistono tre eccezioni che non provengono dal pattern file: moltiplicazione di entità |
+ | ===== Citazioni ===== | ||
- | ===== Quoting ===== | + | Talvolta si vuole contrasegnare del testo per mostrare che esso è una risposta o un commento. Si può usare la sintassi seguente: |
- | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | + | Penso che dovremmo farlo |
+ | |||
+ | > No, non dovremmo | ||
+ | |||
+ | >> Be', dico che dovremmo | ||
+ | |||
+ | > Davvero? | ||
+ | |||
+ | >> Sì! | ||
+ | |||
+ | >>> | ||
- | < | + | Penso che dovremmo farlo |
- | I think we should do it | + | |
- | > No we shouldn' | + | > No, non dovremmo |
- | >> | + | >> |
- | > Really? | + | > Davvero? |
- | >> | + | >> |
- | >>> | + | >>> |
- | </ | + | ===== Tabelle ===== |
- | I think we should do it | + | DokuWiki supporta una semplice sintasi per la creazione di tabelle. |
- | > No we shouldn' | + | ^ Intestazione 1 ^ Intestazione 2 ^ Intestazione 3 ^ |
+ | | Riga 1 Col 1 | Riga 1 Col 2 | Riga 1 Col 3 | | ||
+ | | Riga 2 Col 1 | Celle unite (notare il doppio pipe) || | ||
+ | | Riga 3 Col 1 | Riga 3 Col 2 | Riga 3 Col 3 | | ||
- | >> Well, I say we should | + | Le righe delle tabelle devono iniziare e terminare con un carattere '' |
- | > Really? | + | ^ Intestazione 1 ^ Intestazione 2 ^ Intestazione 3 ^ |
+ | | Riga 1 Col 1 | Riga 1 Col 2 | Riga 1 Col 3 | | ||
+ | | Riga 2 Col 1 | Celle unite (notare il doppio pipe) || | ||
+ | | Riga 3 Col 1 | Riga 3 Col 2 | Riga 3 Col 3 | | ||
- | >> Yes! | + | Per unire le celle orizzontalmente, |
- | >>> | + | È pure possibile realizzare intestazioni verticali di tabella. |
- | ===== Tables ===== | + | | ^ Intestazione 1 ^ Intestazione 2 ^ |
+ | ^ Intestazione 3 | Riga 1 Col 2 | Riga 1 Col 3 | | ||
+ | ^ Intestazione 4 | niente fusione questa volta | | | ||
+ | ^ Intestazione 5 | Riga 2 Col 2 | Riga 2 Col 3 | | ||
- | DokuWiki supports a simple syntax to create tables. | + | Come si può notare, è il separatore di cella prima di una cella che decide il tipo di formattazione: |
- | ^ Heading | + | | ^ Intestazione |
- | | Row 1 Col 1 | + | |
- | | Row 2 Col 1 | some colspan (note the double pipe) || | + | ^ Intestazione 4 |
- | | Row 3 Col 1 | + | ^ Intestazione 5 |
- | Table rows have to start and end with a '' | + | Si possono avere celle unite verticalmente aggiungendo |
- | | + | ^Intestazione |
- | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | + | | Riga 1 Col 1 | questa cella è unita verticalmente |
- | | Row 2 Col 1 | some colspan (note the double pipe) || | + | | Riga 2 Col 1 | ::: |
- | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | + | | Riga 3 Col 1 |
- | To connect cells horizontally, | + | A parte la sintassi di unione quelle celle non devono contenere niente altro. |
- | Vertical tableheaders are possible, too. | + | ^ Intestazione 1 ^ Intestazione 2 ^ Intestazione 3 ^ |
+ | | Riga 1 Col 1 | questa cella è unita verticalmente | Riga 1 Col 3 | | ||
+ | | Riga 2 Col 1 | ::: | Riga 2 Col 3 | | ||
+ | | Riga 3 Col 1 | ::: | Riga 3 Col 3 | | ||
- | | ^ Heading 1 ^ Heading 2 ^ | ||
- | ^ 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 | + | Si può allineare anche il contenuto di una tabella. È sufficiente aggiungere almeno due spazi bianchi al lato opposto del testo: aggiungere due spazi a sinistra per allineare a destra, due spazi a destra per allineare a sinistra e almeno due spazi ad entrambi i lati per il testo centrato. |
- | | | + | ^ Tabella con allineamento |
- | | + | | |
- | ^ Heading 4 | + | |sinistra |
- | ^ Heading 5 | + | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
- | You can have rowspans (vertically connected cells) by adding '' | + | Ecco come appare nel sorgente: |
- | ^ 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. | + | |
- | + | | | |
- | | + | |sinistra |
- | | 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 | + | |
- | | | + | |
- | |left | | + | |
- | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | + | |
- | + | ||
- | This is how it looks in the source: | + | |
- | + | ||
- | ^ Table with alignment | + | |
- | | right| | + | |
- | |left | + | |
| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
- | Note: Vertical alignment is not supported. | + | Nota: l' |
+ | ===== Nessuna formattazione ===== | ||
- | ===== No Formatting ===== | + | Se avete bisogno di visualizzare il testo esattamente come è scritto |
- | + | ||
- | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' | + | |
< | < | ||
- | This is some text which contains addresses like this: http:// | + | Questo è del testo che contiene indirizzi come questo |
</ | </ | ||
- | The same is true for %%//__this__ text// with a smiley | + | Lo stesso è vero per %%//__questo__ testo// con una faccina |
< | < | ||
- | | + | |
</ | </ | ||
- | | + | |
+ | ===== Blocchi di codice ===== | ||
- | ===== Code Blocks ===== | + | È possibile includere blocchi di codice nei documenti sia indentandoli con almeno due spazi (come negli esempi precedenti), |
- | 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 '' | + | Questo testo è intentrato con due spazi. |
+ | | ||
- | This is text is indented by two spaces. | + | < |
+ | </ | ||
- | <code> | + | <file>Questo è praticamente la stessa cosa, ma si potrebbe usare per mostrare che è stato citato un file. |
- | This is preformatted code all spaces are preserved: like <-this | + | </file> |
- | </code> | + | |
- | < | ||
- | This is pretty much the same, but you could use it to show that you quoted a file. | ||
- | </ | ||
- | Those blocks were created by this source: | + | Questi blocchi sono stati creati da questi sorgenti: |
- | This is text is indented by two spaces. | + | Questo testo è indentrato con due spazi. |
< | < | ||
- | | + | |
</ | </ | ||
< | < | ||
- | | + | |
</ | </ | ||
+ | ==== Evidenziazione di sintassi ==== | ||
- | ==== Syntax Highlighting ==== | + | [[wiki: |
- | + | ||
- | [[wiki: | + | |
<code java> | <code java> | ||
/** | /** | ||
- | | + | |
- | | + | |
*/ | */ | ||
class HelloWorldApp { | class HelloWorldApp { | ||
public static void main(String[] args) { | public static void main(String[] args) { | ||
- | System.out.println(" | + | System.out.println(" |
} | } | ||
} | } | ||
</ | </ | ||
- | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac | + | Le seguenti stringhe di linguaggio sono correntemente riconosciuti: //4cs, abap, actionscript-french, actionscript, |
- | + | ==== Blocchi di codice scaricabili | |
- | There are additional [[doku> | + | |
- | + | ||
- | ==== Downloadable Code Blocks | + | |
- | When you use the '' | + | Quando si usa la sintassi |
< | < | ||
Linea 439: | Linea 385: | ||
</ | </ | ||
- | If you don't want any highlighting but want a downloadable | + | Se non si vuole un file scaricabile senza nessuna evidenziazione, specificate un trattino |
+ | ===== Incorporare codice HTML e PHP ===== | ||
- | ===== RSS/ATOM Feed Aggregation ===== | + | Potete incorporare righe di codice HTML o PHP nei vostri documenti usando i marcatori '' |
- | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | + | |
- | ^ Parameter | + | Esempio |
- | | any number | will be used as maximum number items to show, defaults to 8 | | + | |
- | | reverse | + | |
- | | author | + | |
- | | date | show item dates | | + | |
- | | description| show the item description. All HTML tags will be stripped | | + | |
- | | nosort | + | |
- | | //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: | + | < |
+ | < | ||
+ | Questo è <span style=" | ||
+ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </HTML> | ||
+ | </code> | ||
- | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | + | < |
+ | Questo è <span style=" | ||
+ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
- | **Example:** | + | Esempio PHP: |
- | {{rss>http://slashdot.org/index.rss 5 author date 1h }} | + | <code> |
+ | < | ||
+ | echo 'Un logo generato da PHP:'; | ||
+ | echo '< | ||
+ | echo ' | ||
+ | </php> | ||
+ | < | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
+ | </ | ||
- | {{rss>http://slashdot.org/index.rss 5 author date 1h }} | + | <php> |
+ | echo 'Un logo generato da PHP:'; | ||
+ | echo '< | ||
+ | echo ' | ||
+ | </php> | ||
+ | < | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
+ | **Notate bene**: l' | ||
+ | ===== Aggregazione di sorgenti RSS/ATOM ===== | ||
+ | [[DokuWiki]] può integrare dati da sorgenti XML esterne. Per l' | ||
- | ===== Control Macros ===== | + | ^ Parametro |
+ | | any number | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | visualizza le date degli elementi | | ||
+ | | description | ||
+ | | // | ||
- | Some syntax influences how DokuWiki | + | Il periodo di aggiornamento predefinito è di 4 ore. Ogni valore al di sotto di 10 minuti sarà considerato come 10 minuti. Generalmente [[DokuWiki]] cercherà di fornire una versione della pagina memorizzata localmente; ciò è ovviamente inappropriato quando la pagina contiene del contenuto esterno dinamico. Il parametro dice a [[DokuWiki]] di ricaricare nuovamente la pagina se è trascorso un tempo superiore |
- | ^ Macro ^ Description | | + | **Esempio: |
- | | %%~~NOTOC~~%% | + | |
- | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | + | |
- | ===== Syntax Plugins ===== | + | {{rss> |
- | DokuWiki' | + | {{rss>http:// |
+ | ===== Macro di Controllo ===== | ||
- | ~~INFO:syntaxplugins~~ | + | Alcune sintassi influenzano come DokuWiki restituisce una pagina senza creare risultati a sé. Le seguenti macro di controllo sono disponibili: |
+ | ^ Macro ^ Descrizione | | ||
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~NOCACHE~~%% | DokuWiki si serve automaticamente della memoria cache. Talvolta questo comportamento potrebbe non essere voluto (ad esempio quando è usata la sintassi %%< | ||
+ | ===== Moduli aggiuntivi per la sintassi ===== | ||
+ | |||
+ | La sintassi di DokuWiki può essere estesa mediante [[doku> | ||
+ | |||
+ | ~~INFO: |
wiki/sintassi.1719227693.txt.gz · Ultima modifica: da piedipari