|
|
| Line 19: |
Line 19: |
| | == Dicas == | | == Dicas == |
| | ; Realce de sintaxe | | ; Realce de sintaxe |
| − | : Wrap your C++ Qt/KDE code snippets in <code cpp>, <code cpp n>, <code qt> and </code> to get syntax highlighting (cpp == c++, qt == qt) and numbered lines (n). Replace "cpp" with the language used, e.g. rubyqt for Ruby and pythonqt for Python (soon). Use "ini" for .desktop files, "xml" for XML files. | + | : Envolva seu código C++ Qt/KDE com <code cpp>, <code cpp n>, <code qt> e </code> para obter realce de sintaxe (cpp == c++, qt == qt) e linhas numeradas (n). Substitua "cpp" pela linguagem usada, exemplo rubyqt para Ruby e pythonqt para Python (breve). Use "ini" para arquivos .desktop, "xml" para arquivos XML. |
| | | | |
| | == Novos Modelos == | | == Novos Modelos == |
Revision as of 23:37, 28 November 2008
Help:Contents
Antes de começar a adicionar ou alterar conteúdo, por favor leia os artigos sobre o
Sintaxe Wiki
Para iniciar com a sintaxe MediaWiki, leia
The most important commands are summarized in the Wikipedia Cheatsheet. Information about how to migrate content can be found here.
Dicas
- Realce de sintaxe
- Envolva seu código C++ Qt/KDE com <code cpp>, <code cpp n>, <code qt> e </code> para obter realce de sintaxe (cpp == c++, qt == qt) e linhas numeradas (n). Substitua "cpp" pela linguagem usada, exemplo rubyqt para Ruby e pythonqt para Python (breve). Use "ini" para arquivos .desktop, "xml" para arquivos XML.
Novos Modelos
Para obter uma lista de página que estão usando um modelo, vá a página correspondente ao modelo (exemplo Template:movepage) e clique "What links here" na caixa de ferramentas.
- {{movepage|url}}
- Use este modelo para marcar uma página como não terminada.
- {{improve|explanation}}
- Pages which need cleanups or contain empty sections and/or todos are marked with this template. Add an explanation if you want (optional)
- {{tip|text}}
- Use este modelo para adicionar uma dica ao leitor.
- {{note|text}}
- Use este modelo para adicionar uma nota explicativa.
- {{warning|text}}
- Use este modelo para adicionar um aviso.
- {{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}}
- Use este modelo para gerar um link para uma classe Qt, exemplo QWidget. Para classes Qt3 use {{qt3|class-name}}
- {{class|class-name}}
- Use este modelo para gerar um link para uma classe KDE, exemplo KDialog.
- {{path|path-or-filename}}
- Use this template for paths and filenames, this way all of them have a consistent style.
- <span class="bsBugLink bsError bsError-NoConnection">{{bug|123456}}</span>
- 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}}
- 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.