mediawiki-skins-Vector/includes/templates/Navigation.mustache
jdlrobson 698752e38a [Dev] processTemplate used in one place
Moving all the templateParser calls to one function
so its easier to see how the template is composed.

The diff of changes to the stories folder highlight
the internal changes which are:

* html-portals replaced with html-sidebar in main template
* new Sidebar template added which outputs to html-sidebar
* Mention of "MainMenu" replaced with better understood "Sidebar"

This is precursory work to adopt templatePartials

Change-Id: I6b2196e39087f818e774d04b2d1b9ab8cb8816a1
2020-02-26 12:28:40 -08:00

22 lines
782 B
Plaintext

{{!
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
}}
<div id="mw-navigation">
<h2>{{{html-navigation-heading}}}</h2>
<div id="mw-head">
{{{html-personal-menu}}}
<div id="left-navigation">
{{{html-navigation-left-tabs}}}
</div>
<div id="right-navigation">
{{{html-navigation-right-tabs}}}
</div>
</div>
{{{html-sidebar}}}
</div>