mediawiki-skins-Citizen/includes/templates/skin.mustache
2021-01-26 15:38:27 -05:00

60 lines
2.3 KiB
Plaintext

{{!
string|null html-site-notice the contents of a banner defined in MediaWiki:Sitenotice.
Also used by CentralNotice to inject banners into Vector.
Indicator[] array-indicators wiki-defined badges such as "good article",
"featured article". An empty array if none are defined.
string page-langcode the content language of the article. Assumed to be escaped HTML.
string html-newtalk
string page-langcode the content language of the article. Assumed to be escaped HTML.
string html-title
string msg-tagline
string html-prebodyhtml
string html-subtitle
string html-undelete-link
string html-body-content
string html-categories
string html-after-content
object data-footer for footer template partial. see Footer.mustache for documentation.
string html-mainpage-attributes
string msg-sitetitle
object data-bottombar for bottom template partial. see Bottombar.mustache for documentation.
string html-printtail HTML to render at the end of the page contained necessary script tags for
ResourceLoader terminated with `</body></html>`.
}}
{{#data-header}}{{>Header}}{{/data-header}}
<main class="mw-body" id="content">
<div id="siteNotice" class="mw-body-content">{{{html-site-notice}}}</div>
{{{html-newtalk}}}
<header class="mw-body-header">
<div class="page-heading">
<div class="firstHeading-container">
<h1 id="firstHeading" class="firstHeading" lang="{{page-langcode}}">{{{html-title}}}</h1>
{{>Indicators}}
</div>
<div id="siteSub">{{msg-tagline}}</div>
</div>
{{#data-pagetools}}
<div class="page-actions">
{{#data-page-actions}}{{>Menu}}{{/data-page-actions}}
{{#data-page-actions-more}}{{>Menu}}{{/data-page-actions-more}}
</div>
{{/data-pagetools}}
</header>
<div id="bodyContent" class="mw-body-content">
<div id="contentSub"{{{html-user-language-attributes}}}>{{{html-subtitle}}}</div>
{{#html-undelete-link}}<div id="contentSub2">{{{html-undelete-link}}}</div>{{/html-undelete-link}}
{{{html-body-content}}}
{{#data-pagelinks}}
{{#data-namespaces}}{{>Menu}}{{/data-namespaces}}
{{#data-variants}}{{>Menu}}{{/data-variants}}
{{/data-pagelinks}}
{{{html-categories}}}
</div>
</main>
{{{html-after-content}}}
{{#data-footer}}{{>Footer}}{{/data-footer}}
<aside class="mw-sidebar-sitename">
<a class="mw-wiki-title" {{{html-mainpage-attributes}}}>{{>Wordmark}}</a>
</aside>