Help:Contenus

From KDE TechBase
Revision as of 08:53, 19 May 2019 by ChristianW (talk | contribs) (Created page with "; <nowiki>{{note|text}}</nowiki> : Utilisez ce modèle pour ajouter une note explicative.")
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Other languages:

Avant de commencer à ajouter ou modifier du contenu, veuillez lire :

Syntaxe Wiki

Pour vous familiariser avec la syntaxe MediaWiki, veuillez lire :

Conseils

Mise en forme syntaxique
Entourez vos sections de code C++ Qt ou KDE avec <syntaxhighlight lang="cpp">, <syntaxhighlight lang="cpp" line="">, <syntaxhighlight lang="cpp-qt"> et </syntaxhighlight> pour obtenir la mise en forme (cpp pour C++, cpp-qt pour Qt) et la numérotation des lignes (line=""). Remplacez cpp par le langage utilisé, par exemple ruby pour Ruby et python pour Python (bientôt). Utilisez ini pour les fichiers .desktop et xml pour les fichiers XML.

Nouveaux modèles

Pour obtenir la liste des pages qui font appel à un modèle, allez sur la page du modèle en question (par exemple Template:movepage) et cliquez sur "Pages liées" (What links here) dans la boîte à outils.

{{movepage|url}}
Utilisez ce modèle lorsque votre page est en cours de rédaction.
{{improve|explanation}}
Les pages qui ont besoin d'être réactualisées ou qui contiennent des sections vides et/ou des parties 'à faire' (todo) sont marquées avec ce modèle. Ajoutez une explication si vous le désirez (optionnel)
{{tip|text}}
Utilisez ce modèle si vous voulez donner un conseil au lecteur.
{{note|text}}
Utilisez ce modèle pour ajouter une note explicative.
{{warning|text}}
Use this template to add a warning.
{{qt|class-name}} and {{qt3|class-name}}
Use this template to generate a link to a Qt class, e.g. QWidget. For Qt3 classes use {{qt3|class-name}}
{{class|class-name}}
Use this template to generate a link to a KDE class, e.g. KDialog.
{{path|path-or-filename}}
Use this template for paths and filenames, this way all of them have a consistent style.
{{bug|123456}}
Use this template to automatically create a link to KDE's bugzilla.
{{KDE3}}
Use this template to mark the content of a page as applicable for either KDE 3. Don't tag technology agnostic pages. For KDE4 content, use [[Category:KDE4]].
{{TutorialBrowser|series|name|pre|next|reading}}
A template for tutorial navigation
{{Box|caption|text|width|float}} - Deprecated, please use Box1
Use this template to create a box with a caption and a text. The width parameter is optional and can be specified absolute (400px) or relative (50%). The last parameter is the float value, which is also optional and defaults to center.
{{Box1|text|caption|icon image|color code}}
Use this template to create a box with a caption and a text. The color colde parameter is optional. Normally you would use one of the partial instantiations of Box1, such as Template:Info, Template:Note, Template:Tip, Template:Warning, or Template:Remember; each of these take a title as an optional second argument.