Namespaces
Variants
Actions

Template:nv begin

From cppreference.com
Revision as of 15:29, 4 September 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[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