Difference between revisions of "Template:nv col next"
From cppreference.com
m (Protected "Template:sb list column next": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m (moved Template:sb list column next to Template:nv col next) |
Revision as of 11:40, 31 May 2013
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:sb list/doc. (edit | history) Subpages of this template. |