User:Lecid/DynBox: Difference between revisions
Appearance
From Meta, a Wikimedia project coordination wiki
No edit summary
No edit summary
Line 2:
Line 2:
|name = DynBox
|name = DynBox
|type = Parser Hook
|type = Parser Hook
|maturity = (削除) Fiable (削除ここまで) but recent
|maturity = (追記) Solid (追記ここまで) but recent
|mediawiki = 1.5.6 (possible lether)
|mediawiki = 1.5.6 (possible lether)
|version = 0.1
|version = 0.1
Line 21:
Line 21:
* This tools is a Parser Hooker For MediaWiki how help to edit Mouse:Hover "Pop-up" box's for news or flash Displays.
* This tools is a Parser Hooker For MediaWiki how help to edit Mouse:Hover "Pop-up" box's for news or flash Displays.
* '''Version''' : 0.(削除) 1 (削除ここまで)
* '''Version''' : 0.(追記) 2 (追記ここまで)
* ''' Copyright''' (c) BSD <romain@ultragreen.net> Romain GEORGES 2006
* ''' Copyright''' (c) BSD <romain@ultragreen.net> Romain GEORGES 2006
=== Hack ===
* ''16:34, 31 March 2006 (UTC)'' correction : CSS overwriting, rand salt value adding in CSS Class name by [[User:Lecid|Lecid]]
=== Installation ===
=== Installation ===
Revision as of 16:34, 31 March 2006
DynBox
Download source code
Description
Dynamic Box : Display customisable Dynamic HTML CSS Boxs for news.
- This tools is a Parser Hooker For MediaWiki how help to edit Mouse:Hover "Pop-up" box's for news or flash Displays.
- Version : 0.2
- Copyright (c) BSD <romain@ultragreen.net> Romain GEORGES 2006
Hack
- 16:34, 31 March 2006 (UTC) correction : CSS overwriting, rand salt value adding in CSS Class name by Lecid
Installation
- Add DynBox.php in the Mediawiki's extensions path : $MEDIAWIKI_PATH/extensions/
see download source code section
- Add the line :
require_once(" extensions/DynBox.php ");
In your $MEDIAWIKI_PATH/LocalSettings.php file
Configuration/Usage
==> DynBox put Div in absolute CSS Mode, so,
In your Wiki code add anywhere :
<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
Demonstration
See the red box in the right top corner on :