Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Template:DocLink: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
m (fix implementation of default parameter value)
(expand functionality to subsume related templates)
Line 1: Line 1:
<includeonly><span class="plainlinks">[http://doc.qt.io/qt-5/{{lc:{{{1}}}}}.html {{{2|{{{1}}}}}}]</span></includeonly><noinclude>
<includeonly><span class="plainlinks">[http://doc.qt.io/qt-5/{{lc:{{{1}}}}}.html#{{{2|}}} {{{3|{{{2|{{{1}}}}}}}}}]</span></includeonly><noinclude>


Usage:
Usage:
* <tt><nowiki>{{DocLink|QWidget}}</nowiki></tt> produces: {{DocLink|QWidget}}
* <tt><nowiki>{{DocLink|QWidget}}</nowiki></tt> produces: {{DocLink|QWidget}}
* <tt><nowiki>{{DocLink|QWidget|alias}}</nowiki></tt> produces: {{DocLink|QWidget|alias}}</noinclude>
* <tt><nowiki>{{DocLink|QWidget|properties}}</nowiki></tt> produces: {{DocLink|QWidget|properties}}
* <tt><nowiki>{{DocLink|QWidget|size-prop|size()}}</nowiki></tt> produces: {{DocLink|QWidget|size-prop|size()}}
</noinclude>

Revision as of 12:28, 21 October 2015


Usage:

  • {{DocLink|QWidget}} produces: QWidget
  • {{DocLink|QWidget|properties}} produces: properties
  • {{DocLink|QWidget|size-prop|size()}} produces: size()