Skin:Cologne Banner

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Skin:Cologne Banner and the translation is 43% complete.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎日本語
MediaWiki görünüm kılavuzu - kategori
Crystal Clear device blockdevice.png
Cologne Banner
Sürüm durumu: kararlı
MediaWiki 1.25 - 1.35.x
Lisans GNU Genel Kamu Lisansı 2.0 veya üstü
İndir GitHub:
Translatewiki.net adresinde mevcutsa, Cologne Banner görünümü çevirin
Kullanım ve sürüm matrisi kontrol edin;

Cologne Banner, Cologne Blue görünümden bir çataldır. This skin is to be considered as a replacement for Cologne Blue rather than a supplement. It offers four additional advertising blocks and further extras for the sidebar .

This project is abandoned in favor of WimaAdvertising and DonateButton.

Kullanım

One ad block is located at the top of the "MediaWiki:Sitenotice ", a second one below the article text in front of the category bar and two more ad blocks in the sidebar . By entering * AD1 and * AD2 in the MediaWiki:Sidebar , these can be placed individually. If Sitenotice is defined, the TopBanner will be displayed randomly alternating with the Sitenotice message.

Installation

  • Dosyaları indirin ve skins/ klasörünüzdeki Cologne Banner adlı dizine yerleştirin.
  • LocalSettings.php dosyanızın altına aşağıdaki kodu ekleyin:
wfLoadSkin( 'Cologne Banner' );
  • Yes Yapıldı - Görünümün başarıyla yüklendiğini doğrulamak için vikinizde Special:Version sayfasına gidin.

Configuration options

Set up the type of the banner

  • wgTopBannerType, wgBottomBannerType, wgAdSidebarTopType, wgAdSidebarBottomType

Set up the banner itself

  • wgTopBannerCode, wgBottomBannerCode, wgAdSidebarTopCode, wgAdSidebarBottomCode

Set up the css style

  • wgTopBannerStyle, wgBottomBannerStyle
wgTopBannerType
  • Set the type of the banner
    • Possible values: 'advertising', 'eventnote', 'hint'
    • Default value: 'advertising'
$wgTopBannerType = 'eventnote';
This will be translated into: de, en, es, fr, it, nl, pt, ru
wgTopBannerCode
  • Set a html snipet of the banner.
$wgTopBannerCode = '<a title="Uhren-Wiki" href="https://www.uhren-wiki.net"><img src="https://wikimannia.org/skins/werbung/Werbung - Oben.jpg" width="728" height="92" alt="Werbung" /></a>';
$wgAdSidebarTopCode = '<a title="Schwarzbuch Wikipedia" href="https://de.wikimannia.org/Schwarzbuch_Wikipedia"><img src="https://wikimannia.org/werbung/images/130px-Schwarzbuch_Wikipedia.jpg" alt="Schwarzbuch_Wikipedia.jpg" /></a> <p><b>Schwarzbuch Wikipedia</b></p><p class="small">Mobbing, Diffamierung und Falschinformation in der Online-Enzyklopädie, und was jetzt dagegen getan werden muss.</p><p>Im Februar 2020 im <i>Zeitgeist-Verlag</i> erschienen.</p>';
wgTopBannerStyle
  • Set the CSS style specifications for the banner.
$wgTopBannerStyle = 'text-align:center;border:1px solid blue;';
$wgBottomBannerStyle = 'text-align:center;border:1px dotted red;';

DonationButton

wgDonationButton
  • Enable or disable the DonationButton.
    • true = enabled
    • false = disabled
    • 'not set' = disabled
$wgDonationButton = true;
wgDonationButtonURL
  • Set a link to a donation page.
$wgDonationButtonURL = 'www.wikimannia.org/spende/spende.php?s=';

The link is automatically completed by the code of the language selected by the user or alternatively by the $wgLanguageCode variable.

wgDonationButtonIMG
  • Set a donation button.
$wgDonationButtonIMG = $wgServer . '/images/Donate_Button.gif';

FacebookButton

wgFacebookButton
  • Enable or disable the FacebookButton
    • true = enabled
    • false = disabled
    • 'not set' = disabled
$wgFacebookButton = false;
wgFacebookButtonURL
  • Set a link to your facebook page.
$wgDonationButtonURL = 'www.facebook.com/pages/WikiMANNia/446420928790151';
wgFacebookButtonIMG
  • Set a facebook button image.
$wgFacebookButtonIMG = 'commons.wikimannia.org/images/Logo-Facebook.png';

AgeClassification

See also: age classification

wgAgeClassificationButton
  • Enable or disable the AgeClassificationButton
    • true = enabled
    • false = disabled
    • 'not set' = disabled
$wgAgeClassificationButton = false;
wgAgeClassificationButtonURL
  • Set a link to your age classification page.
$wgAgeClassificationButtonURL = 'www.altersklassifizierung.de/';
wgAgeClassificationButtonIMG
  • Set a age classification button image.
$wgAgeClassificationButtonIMG = 'wikimannia.org/skins/fsm-aks148.png';
AgeClassificationMetaData
  • Set the age classification metadata.
$wgAgeClassificationMetaName = 'age-de-meta-label';
$wgAgeClassificationMetaContent = 'age=0 hash: yourdigitalcode v=1.0 kind=sl protocol=all';