mediawiki-skins-Citizen/includes/templates/skin.mustache

60 lines
2.6 KiB
Plaintext

{{!
string html-headelement a string of attribute HTML that begins with `<html>` and ends with
`</head>` and contains `meta` tags and ResourceLoader internals.
string html-printtail HTML to render at the end of the page contained necessary script tags for
ResourceLoader terminated with `</body></html>`.
string|null html-sitenotice the contents of a banner defined in MediaWiki:Sitenotice.
Also used by CentralNotice to inject banners.
string page-langcode the content language of the article. Assumed to be escaped HTML.
string html-newtalk
string html-indicators raw HTML containing wiki-defined badges such as "good article",
"featured article". An empty string if none are defined.
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>`.
}}
{{{html-headelement}}}
{{#data-header}}{{>Header}}{{/data-header}}
<main class="mw-body" id="content">
<div id="siteNotice" class="mw-body-content">{{{html-site-notice}}}</div>
{{{html-newtalk}}}
{{{html-indicators}}}
{{#data-pagetools}}
<div class="mw-side" id="page-tools">
{{#data-page-actions}}{{>Menu}}{{/data-page-actions}}
{{#data-page-actions-more}}{{>Menu}}{{/data-page-actions-more}}
</div>
{{/data-pagetools}}
<h1 id="firstHeading" class="firstHeading" lang="{{page-langcode}}">{{{html-title}}}</h1>
<div id="siteSub">{{msg-tagline}}</div>
{{{html-prebodyhtml}}}
<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}}}>{{{msg-sitetitle}}}</a>
</aside>
{{{html-printtail}}}