Wiki Editing Hints

From Qt Wiki
Revision as of 07:42, 2 March 2015 by Tekojo (talk | contribs)
Jump to navigation Jump to search


In order to make editing in the Qt Wiki a little more comfortable

Templates

One can make use of the MediaWiki Templates. This page summarizes the current state of available Templates:

Template Name You type You get
Template:DocLink creates a link to the doc.qt.io reference documentation {{DocLink|QString}} QString
Template:DocLinkAnchor create a link to the doc.qt.io documentation with anchor to the member {{DocLinkAnchor|QLabel|text-prop}} text-prop

Tables

The Mediawiki help page on Tables is useful reading to anyone who edits tables.

Syntax Highlghting

The wiki uses the standard GeSHi syntax highlighter.

The only customisation made, has been to add the <code> tag to the highlighted list handled by GeSHi. The default language is set to C++. Change the language with the lang="" attribute (for example <code lang="javascript">).