Difference between revisions of "Template:nv mem ln"
From cppreference.com
(fix the HTML structure, use {{lines}} for notes) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{nv | 1= <div class="t-nv-ln-table"><div><!-- |
− | -->[[{{{1}}}|{{l2tt/core|{{{1}}}|{{{2|}}}|{{{p|}}}}}<!-- | + | -->[[{{{1}}}|<span class="t-lines"><span>{{l2tt/core|{{{1}}}|{{{2|}}}|{{{p|}}}}}<!-- |
− | -->{{#if:{{{3|}}}|< | + | -->{{#if:{{{3|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{3|}}}|{{{p|}}}}}}}<!-- |
− | -->{{#if:{{{4|}}}|< | + | -->{{#if:{{{4|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{4|}}}|{{{p|}}}}}}}<!-- |
− | -->{{#if:{{{5|}}}|< | + | -->{{#if:{{{5|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{5|}}}|{{{p|}}}}}}}<!-- |
− | -->{{#if:{{{6|}}}|< | + | -->{{#if:{{{6|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{6|}}}|{{{p|}}}}}}}<!-- |
− | {{documentation | Template: | + | -->{{#if:{{{7|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{7|}}}|{{{p|}}}}}}}<!-- |
+ | -->{{#if:{{{8|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{8|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{9|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{9|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{10|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{10|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{11|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{11|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{12|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{12|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{13|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{13|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{14|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{14|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{15|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{15|}}}|{{{p|}}}}}}}<!-- | ||
+ | -->{{#if:{{{16|}}}|</span><span>{{l2tt/core|{{{1}}}|{{{16|}}}|{{{p|}}}}}}}</span></span>]]</div>{{#if:{{{notes|}}}|<div>{{lines|{{{notes}}}}}</div>}}</div>}}<noinclude> | ||
+ | {{documentation | Template:nv/doc }} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:29, 4 September 2013
<tr class="t-nv"><td colspan="5">[[{{{1}}}|
- {{{1}}}
This high-risk template has been protected from editing to prevent vandalism. Please discuss any changes on the talk page. |
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
The above documentation is transcluded from Template:nv/doc. (edit | history) Subpages of this template. |