Namespaces
Variants
Actions

Difference between revisions of "Template:nv mem ln"

From cppreference.com
(re-add <tt>)
(Undo revision 13222 by P12 (talk))
Line 1: Line 1:
{{sb list item | 1= <table class="template-sb-list-ln-table"><tr><td><tt><!--
+
{{sb list item | 1= <table class="template-sb-list-ln-table"><tr><td><!--
 
         -->[[{{{1}}}|{{l2tt/core|{{{1}}}|{{{2|}}}|{{{p|}}}}}<!--
 
         -->[[{{{1}}}|{{l2tt/core|{{{1}}}|{{{2|}}}|{{{p|}}}}}<!--
 
-->{{#if:{{{3|}}}|<br>{{l2tt/core|{{{1}}}|{{{3|}}}|{{{p|}}}}}}}<!--
 
-->{{#if:{{{3|}}}|<br>{{l2tt/core|{{{1}}}|{{{3|}}}|{{{p|}}}}}}}<!--
 
-->{{#if:{{{4|}}}|<br>{{l2tt/core|{{{1}}}|{{{4|}}}|{{{p|}}}}}}}<!--
 
-->{{#if:{{{4|}}}|<br>{{l2tt/core|{{{1}}}|{{{4|}}}|{{{p|}}}}}}}<!--
 
-->{{#if:{{{5|}}}|<br>{{l2tt/core|{{{1}}}|{{{5|}}}|{{{p|}}}}}}}<!--
 
-->{{#if:{{{5|}}}|<br>{{l2tt/core|{{{1}}}|{{{5|}}}|{{{p|}}}}}}}<!--
-->{{#if:{{{6|}}}|<br>{{l2tt/core|{{{1}}}|{{{6|}}}|{{{p|}}}}}}}]]</tt></td>{{#if:{{{notes|}}}|<td>{{{notes}}}</td>}}</tr></table>}}<noinclude>
+
-->{{#if:{{{6|}}}|<br>{{l2tt/core|{{{1}}}|{{{6|}}}|{{{p|}}}}}}}]]</td>{{#if:{{{notes|}}}|<td>{{{notes}}}</td>}}</tr></table>}}<noinclude>
 
{{documentation | Template:sb list/doc }}
 
{{documentation | Template:sb list/doc }}
 
</noinclude>
 
</noinclude>

Revision as of 18:00, 3 November 2011

<tr class="t-nv"><td colspan="5">
[[{{{1}}}|
{{{1}}}]]
</td></tr>
[edit] [{{purge}}] Template documentation

This is one of the family of templates used for creation of feature lists in navbars.

List template families

  • dsc **** : For creation of member variable/function lists.
  • dcl **** : For creation of detailed declaration lists (those including actual declaration code).
  • sdsc **** : For creation of lists representing various syntaxes of a language feature. Used in subpages of cpp/language.
  • par **** : For creation of lists explaining function parameters.
  • spar **** : For creation of lists explaining syntax parameters.
  • nv **** : For creation of feature lists in navbars.
  • elink **** : For creation of External links lists.

{{nv begin}}

starts the declaration list

{{nv h1| heading}}

adds heading to the feature list

{{nv h2| heading}}

adds heading to the feature list

{{nv| explanation}}

adds a generic item to the feature list

{{nv ln| link| title override (optional)| ...| title6 override (optional)}}

adds a link item to the feature list

{{nv mem ln| link| title override (optional)| ...| title4 override (optional)}}

adds a link item to the feature list

{{nv inc| location| param1 (optional)| param2 (optional) ...}}

includes a template from location. It only invokes {{location| param1| param2 ...}} and is included for consistency. Unnamed parameters are passed to the source template. The source template itself should consist from {{nv ...}} items.

{{nv end}}

ends the feature list

{{nv ph}}

a placeholder that generates one empty item in navbar and is used to align rows in adjacent columns.
Templates to place features in several columns

{{nv col begin}}

starts a column construct

{{nv col next}}

adds another column

{{nv col end}}

ends a column construct