mediawiki-skins-Citizen/templates/skin.mustache
alistair3149 61e8d053c4
feat(core): move sitenotice out of mw-body
site notice is not related to the body/article
2022-10-01 16:15:40 -04:00

27 lines
1,023 B
Plaintext

{{!
string|null html-site-notice the contents of a banner defined in MediaWiki:Sitenotice.
Also used by CentralNotice to inject banners into Vector.
string html-subtitle
string html-undelete-link
string html-user-message
string html-body-content--formatted
string html-categories
string html-after-content
object data-footer for footer template partial. see Footer.mustache for documentation.
}}
{{#data-header}}{{>Header}}{{/data-header}}
<div id="siteNotice">{{{html-site-notice}}}</div>
<main class="mw-body {{#toc-enabled}}citizen-toc-enabled{{/toc-enabled}}" id="content">
{{>ContentHeader}}
<div id="bodyContent" class="citizen-body">
<div id="contentSub"{{{html-user-language-attributes}}}>{{{html-subtitle}}}</div>
{{#html-undelete-link}}<div id="contentSub2">{{{html-undelete-link}}}</div>{{/html-undelete-link}}
{{{html-user-message}}}
{{{html-body-content--formatted}}}
</div>
{{>ContentFooter}}
</main>
{{{html-after-content}}}
{{#data-citizen-footer}}{{>Footer}}{{/data-citizen-footer}}