User:Bci2/sandbox

'''This is my sandox. Does it get cleared in 12 hours ?!'''

From Wikipedia, the free encyclopedia < User:Bci2 This is the user sandbox of Bci2. A user sandbox is a subpage of the user's user page. It serves as a testing spot and page development space for the user and is not an encyclopedia article. For a sandbox of your own, create it here; you can also add to your userpage for easy access. Other sandboxes: Main sandbox | Tutorial sandbox 1, 2, 3, 4, 5 | Template sandbox This is my sandox. Does it get cleared in 12 hours ?

Subpages :

 * You can create subpages of these, such as User:Example/draft article on violins or User:Example/test and their related talk pages, by navigating to the red-linked (non-existent) page and clicking on the Start the ___ page link. A list of existing subpages can be seen using Special:Prefixindex (for example, Special:Prefixindex/User talk:Example/). You can usually have anything on a subpage that you might have on a user or user talk page, except for a few items (see below) that must be visible to other users if posted. Hierarchies of subpages are also possible. You can have as many subpages as you want but keep in mind that Wikipedia is not a free web host, please use subpages within reason. (See: Subpages for more information)

A subpage usually refers to a lower level web page in a website or wiki with the same main name as the starting level page plus a slash and text identifying the location of the subpage. More precisely, it refers to a part of the path in the hierarchical part of the Uniform Resource Identifier (also known as URI or URL).

For example, if the name of the main page were :first, a typical subpage would be called :first/second. In most implementations this system is recursive, so that subpages can have their own subpages (e.g. :first/second/third).

INFOBOX INSTALLATION from MediAWiki
Data Entry tag example:

Installation
Add the database table `infoboxdata`, move the code to the extensions folder and include the code in LocalSettings.php.

Database Table Addition
Requires one table called _infoboxdata.

Changes to LocalSettings.php
Add the following line:

Fix hook error
For PHP version >= 5.3.0 on the error use the following patch: PHP Warning: Hook InfoboxDataCapture::save has invalid call signature; Parameter 3 to InfoboxDataCapture::save expected to be a reference, value is given in ... To fix this, change in InfoboxData.php: to

Examples
The following:

Produces: |synonyms;function;1;All valid names for a function
 * synonyms;foo;1;All valid names for a function
 * synonyms;foobar;1;All valid names for a function
 * synonyms;method;1;All valid names for a function

The following example creates 7 records in the database for the "function" data block: one description record, four valid synonym records and two invalid synonym records. It displays nothing on the page:

"Infobox" test
Mimicking an infobox with div corners  '''
 * '''Question : How to move it to the right hand side ?
 * Born
 * ''Grad Students
 * Alma Matter
 * ''Important refs
 * Publications Portfolio
 * Fields of Interest
 * "Achievements''
 * Awards
 * Society membership
 * Academy membership
 * Academy membership