Podręcznik:Podtytuł strony

From mediawiki.org
This page is a translated version of the page Manual:Tagline (Site Subtitle) and the translation is 55% complete.

This help page covers useful information on using a subtitle on your wiki.

Zmiana sloganu

A way to change the tagline that appears on top of every page just below the page title (but by default is hidden in Monobook and Vector skins except when printing pages) is to modify the MediaWiki:Tagline system message that if undefined defaults to From {{SITENAME}}.

Add the following to MediaWiki:Common.css if you want the tagline to display in all skins, or to MediaWiki:Monobook.css if you want to adjust only the Monobook skin:

#siteSub {
    display: block;
}

Jeżeli nie podoba Ci się wygląd (tekst jest wyświetlany w znaczniku HTML H3, który domyślnie przez przeglądarki jest wyświetlany jako pogrubiony), dodaj własne deklaracje stylów CSS, np.

#siteSub {
    display: block; font-weight: normal; font-size: normal;
}

Usuwanie ze Strony Głównej

If tagline is unhidden and you want to hide it for the Wiki's main page, insert the following .css code in your Wiki's MediaWiki:Common.css page:

body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub {
    display: none;
}

Zobacz też