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 footerItem[] array-items
string|null html-userlangattributes a string of attribute HTML
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
}}
{{{html-hook-vector-before-footer}}}

View File

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