Template:DocLink: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(use plain links for official qt docs)
(add documentation; add alias parameter (current behavior remains unaltered); remove anchor that isn't present in all doc pages)
Line 1: Line 1:
<span class="plainlinks">[http://doc.qt.io/qt-5/{{lc:{{{1}}}}}.html#public-types {{{1}}}]</span>
<includeonly><span class="plainlinks">[http://doc.qt.io/qt-5/{{lc:{{{1}}}}}.html {{{2|1}}}]</span></includeonly><noinclude>
 
Usage:
* <tt><nowiki>{{DocLink|QWidget}}</nowiki></tt> produces: {{DocLink|QWidget}}
* <tt><nowiki>{{DocLink|QWidget|alias}}</nowiki></tt> produces: {{DocLink|QWidget|alias}}</noinclude>

Revision as of 12:12, 21 October 2015


Usage:

  • {{DocLink|QWidget}} produces: 1
  • {{DocLink|QWidget|alias}} produces: alias