User:Lecid/Downloads
Appearance
From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Lecid (talk | contribs) at 17:12, 31 March 2006. It may differ significantly from the current version .
Downloads
Download source code
Description
Downloads : Provide a downloads Aera on your wiki fom FS with comments and icons.
- This tools is a Parser Hooker For MediaWiki how display a downloads Aera on your wiki fom FS with comments and icons.
- Version : 0.1
- Copyright (c) BSD <romain@ultragreen.net> Romain GEORGES 2006
Hack
Installation
- Add Downloads.php in the Mediawiki's extensions path : $MEDIAWIKI_PATH/extensions/
see download source code section
- Add the line :
require_once(" extensions/Downloads.php ");
In your $MEDIAWIKI_PATH/LocalSettings.php file
Configuration/Usage
In your Wiki code add :
<dynbox title="My Title" posx=XXpx posy=XXpx iconcolor="color" iconbgcolor="color" boxcolor="color" boxbgcolor="color" color="color" bgcolor="color"> some text </dynbox>
This put a box in the right top corner of the page
- title
- Title of the Icon
- 'some text
- content of the news box
- posx
- CSS compatible right-from position
- posx
- CSS compatible top-from position
- iconcolor
- text icon color
- iconbgcolor
- background icon color
- boxcolor
- Title of the popped box color
- boxbgcolor
- Border of the popped box color
- color
- Text in the popped box color
- bgcolor
- background of the popped box color