Dotclear:wiki2xhtml.html

De Wiki de Softcatalà

Dreceres ràpides: navegació, cerca
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ***** BEGIN LICENSE BLOCK *****
   - This file is part of DotClear.
   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
   - reserved.
   -
   - DotClear is free software; you can redistribute it and/or modify
   - it under the terms of the GNU General Public License as published by
   - the Free Software Foundation; either version 2 of the License, or
   - (at your option) any later version.
   - 
   - DotClear is distributed in the hope that it will be useful,
   - but WITHOUT ANY WARRANTY; without even the implied warranty of
   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   - GNU General Public License for more details.
   - 
   - You should have received a copy of the GNU General Public License
   - along with DotClear; if not, write to the Free Software
   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   -
   - ***** END LICENSE BLOCK ***** -->
<html>
<head>
  <title>Sintaxi del wiki</title>
</head>

<body>

<h1>Sintaxi del wiki</h1>

<p>Les etiquetes de format del wiki poden inserir-se en el text
protegint-les amb "<code>\</code>".</p>

<h2>Blocs</h2>
<ul>
  <li>Deixa una línia en blanc entre cada bloc <em>de la mateixa disposició</em> ;</li>
  <li><strong>Paràgraf</strong> : text i una línia en blanc ;</li>
  <li><strong>Títol</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
  per a títols més o menys importants ;</li>
  <li><strong>Barra horitzontal</strong> : <code>----</code> ;</li>
  <li><strong>Llista</strong> : una línia que comenci amb <code>*</code> o
  <code>#</code>. Poden barrejar-se llistes (<code>*#*</code>) per a poder fer
  llistes imbricades. L'estil de cada nivell ha de respectar-se ;</li>
  <li><strong>Text preformatat</strong> : un espai abans de cada línia del
  text ;</li>
  <li><strong>Bloc de citació</strong> : <code>></code> or <code>;:</code>
  abans de cada línia del text.</li>
</ul>

<h2>Elements inserits</h2>
<ul>
  <li>La correcció de la puntuació és activa. Un espai sense salt
  reemplaçarà automàticament cada espai que precedeixi les etiquetes:
  ";","?",":" i "!". ;</li>
  <li><strong>Èmfasi</strong> : dos cometes simples
  <code>''text''</code> ;</li>
  <li><strong>Èmfasi fort</strong> : dos caràcters de subratllat
  <code>__text__</code> ;</li>
  <li><strong>Salt de línia forçat</strong> :
  <code>%%%</code> ;</li>
  <li><strong>Inserció</strong> : dos signes més
  <code>++text++</code> ;</li>
  <li><strong>Deleció</strong> : dos signés menys
  <code>--text--</code> ;</li>
  <li><strong>Enllaç</strong> : <code>[url]</code>, <code>[nom|url]</code>,
  <code>[nom|url|idioma]</code> o
  <code>[nom|url|idioma|títol]</code>.
  <br /><em>Si voleu inserir un enllaç o una àncora a la mateixa pàgina,
  reemplaceu url per #nom-àncora</em> ;</li>
  <li><strong>Imatge</strong> :
  <code>((url|text alternatiu))</code>,
  <code>((url|text alternatiu|posició))</code> o
  <code>((url|text alternatiu|posició|descripció))</code>.
  <br />La posició pot tenir aquests valors : L or G (esquerra, R or D (dreta)
  or C (centre). ;</li>
  <li><strong>Àncora</strong> : <code>~àncora~</code> ;</li>
  <li><strong>Acrònim</strong> : <code>??acrònim??</code> or
  <code>??acrònim|títol??</code> ;</li>
  <li><strong>Citació</strong> : <code>{{citació}}</code>,
  <code>{{citació|idioma}}</code> or
  <code>{{citació|idioma|url}}</code> ;</li>
  <li><strong>Codi</strong> : <code>@@ací el codi@@</code> ;</li>
  <li><strong>Nota al peu</strong> : <code>$$el cos de la nota al peu$$</code>.</li>
</ul>

</body>
</html>