{{! This header includes the page's title, version swap buttons, as well as page views and options.}}

<div id="page-header">

    <div id="page-title">
        <div id="page-title-background"></div>
        {{{html-title-heading}}}
        <div id="page-title-versions">
            {{#array-indicators}}
                <a href="?{{{id}}}">
                    <div id="{{{id}}}">{{{html}}}</div>
                </a>
            {{/array-indicators}}
        </div>
    </div>

    <div id="page-header-links">

        <div id="page-header-options">
            <button>Options</button>
            <div id="page-header-options-links">
                <ul class="drop-link-list">
                    {{#data-portlets.data-actions}}
                            {{{html-items}}}
                    {{/data-portlets.data-actions}}
                    {{! This replaces the normal 'Print' list item, which is hidden from 'array-portlets-rest' with CSS. }}
                    <li id="page-action-print" class="mw-list-item">
                        <a href="javascript:print();" rel="alternate" title="Printable version of this page [p]" accesskey="p">Print</a> {{! This link's content is a placeholder, replaced with a system message via Javascript.}}
                    </li>
                </ul>
                <ul class="drop-link-list">
                    {{#data-portlets.data-views.array-items.2}}
                        {{{html-item}}}
                    {{/data-portlets.data-views.array-items.2}}
                    {{#data-portlets-sidebar.array-portlets-rest.2}}
                        {{{html-items}}}
                    {{/data-portlets-sidebar.array-portlets-rest.2}}
                </ul>
            </div>
        </div>

        <ul id="page-header-views">
            {{#data-portlets}}
                {{#data-associated-pages}}
                    {{{html-items}}}
                {{/data-associated-pages}}
                {{{data-views.array-items.0.html-item}}}
                {{{data-views.array-items.1.html-item}}}
            {{/data-portlets}}
        </ul>

    </div>

</div>