Skin:HasSomeColours: Difference between revisions
Appearance
Content deleted Content added
MacFan4000 (talk | contribs) update link to working example |
lolthemes |
||
| Line 16: | Line 16: | ||
}} |
}} |
||
The skin has some colours, probably. Implements a global navigation menu, same as [[Skin:Splash|Splash]] and [[skin:WoOgLeShades|WoOgLeShades]]. |
The skin has some colours, probably. Implements a global navigation menu, same as [[Skin:Splash|Splash]] and [[skin:WoOgLeShades|WoOgLeShades]], but also works fine without it. |
||
== Installation == |
== Installation == |
||
| Line 23: | Line 23: | ||
|registration=required |
|registration=required |
||
}} |
}} |
||
== Configuration: themes == |
|||
HasSomeColours implements configurable pseudothemes, used by setting skin configuration variables in LocalSettings.php for primary and secondary non-content colours. For example: |
|||
=== Grey/red (default) === |
|||
<syntaxhighlight lang="php"> |
|||
$wgHasSomeColoursColourOne = '#555'; |
|||
$wgHasSomeColoursColourTwo = '#d77'; |
|||
</syntaxhighlight> |
|||
=== Blue/cyan (original) === |
|||
<syntaxhighlight lang="php"> |
|||
$wgHasSomeColoursColourOne = '#26c'; |
|||
$wgHasSomeColoursColourTwo = '#7cf'; |
|||
</syntaxhighlight> |
|||
[[Category:Mobile skins]] |
|||
Revision as of 22:18, 18 December 2020
Release status: beta |
|
|---|---|
| Author(s) | Isarra |
| MediaWiki | 1.27+ |
| License | GNU General Public License 2.0 or later |
| Download | |
| Example | Example on Skins wiki |
| Quarterly downloads | 0 |
| Public wikis using | 23 (Ranked 74th) |
| Public wikis using as default skin | 1 |
| Translate the HasSomeColours skin if it is available at translatewiki.net | |
| Issues | Open tasks · Report a bug |
The skin has some colours, probably. Implements a global navigation menu, same as Splash and WoOgLeShades, but also works fine without it.
Installation
- Download and place the file(s) in a directory called
HasSomeColoursin yourskins/folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadSkin( 'HasSomeColours' );
Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.
Configuration: themes
HasSomeColours implements configurable pseudothemes, used by setting skin configuration variables in LocalSettings.php for primary and secondary non-content colours. For example:
Grey/red (default)
$wgHasSomeColoursColourOne = '#555';
$wgHasSomeColoursColourTwo = '#d77';
Blue/cyan (original)
$wgHasSomeColoursColourOne = '#26c';
$wgHasSomeColoursColourTwo = '#7cf';
