Merge "Mustache Documentation: Cleanup/Clarify Mustache template params"

This commit is contained in:
jenkins-bot 2020-03-18 22:26:21 +00:00 committed by Gerrit Code Review
commit 49b7140a99
2 changed files with 8 additions and 5 deletions

View file

@ -9,8 +9,8 @@
@prop string id of list element @prop string id of list element
@prop footerItem[] array-items @prop footerItem[] array-items
string|null html-userlangattributes a string of attribute HTML
string html-hook-vector-before-footer output of VectorBeforeFooter hook string html-hook-vector-before-footer output of VectorBeforeFooter hook
string|null html-userlangattributes a string of attribute HTML
footerRow[] array-footer-rows iterable list of footer rows footerRow[] array-footer-rows iterable list of footer rows
}} }}
{{{html-hook-vector-before-footer}}} {{{html-hook-vector-before-footer}}}

View file

@ -1,10 +1,13 @@
{{! {{!
string html-navigation-heading heading for entire navigation that is string html-navigation-heading heading for entire navigation that is
usually hidden to screen readers usually hidden to screen readers
string html-personal-menu content that appears as the first child of mw-head object data-personal-menu See PersonalMenu.mustache for documentation.
string html-navigation-left-tabs that appears inside #left-navigation (namespaces and variants) object data-namespace-tabs. See VectorTabs.mustache for documentation.
string html-navigation-right-tabs that appears inside #right-navigation (page actions and search) object data-variants. See VectorMenu.mustache for documentation.
string html-sidebar sidebar HTML object data-page-actions. See VectorTabs.mustache for documentation.
object data-page-actions-more. See VectorMenu.mustache for documentation.
object data-search-box. See SearchBox.mustache for documentation.
object data-sidebar. See Sidebar.mustache for documentation.
}} }}
<div id="mw-navigation"> <div id="mw-navigation">
<h2>{{{html-navigation-heading}}}</h2> <h2>{{{html-navigation-heading}}}</h2>