Extension:Header Footer/ja

The Header Footer extension provides per-namespace and per-page header and footer inclusion.

特徴

 * Speed - integrated with parser caching
 * Secure - header and footer articles are located in the NS_MEDIAWIKI namespace
 * Controllable - headers and/or footers can be disabled on pages which are edit protected
 * Customizable - headers and footers are wrapped in elements

Per-Namespace Header and Footer
Edit the pages: must be in the language of the wiki (see Manual:$wgLanguageCode)

For the 'main' namespace, just use blank i.e. no string, but with the hyphen:

Per-Page Header and Footer
Edit the pages:

Disable commands
On edit protected pages, one can add
 * to suppress the page level header
 * to suppress the page level footer
 * to suppress the namespace level header
 * to suppress the namespace level footer

CSS

 * Page Level Header:
 * Namespace Level Header:
 * Page Level Footer:
 * Namespace Level Footer:

例

 * 1) Page MediaWiki:hf-nsheader-Extension would contain the wikitext to be included as header for all pages of the Extension namespace.
 * 2) * In this case, to suppress the header of the page Extension:HeaderFooter one should a) edit protect it, and b) add  in it.
 * 3) Page MediaWiki:hf-footer-Extension:HeaderFooter would contain the wikitext to be included as footer for the page Extension:HeaderFooter.
 * 4) * In this case, to suppress the footer of the page Extension:HeaderFooter one should a) edit protect it, and b) add  in it.



関連項目

 * PageNotice extension – provides a way for you to define fixed notice messages for the top or the bottom of a page (by individual page name), or entire namespaces (by namespace number).