History: Tikipedia_OLD
Preview of version: 11
Page contents
Tikipedia is based on Mediawiki's Monobook style, also used at Wikipedia.org. The Tikipedia theme for Tiki CMS was done to illustrate the flexibility of Tiki's design capabilities, and just because the Monobook style is very cool.
💡 For general Tiki theme information, see Tiki Transforming. |
New information for Tiki 3!
Be sure to remove all old template files
Older Tikipedia template files (in templates/styles/tikipedia) are incompatible with Tiki 3 and must be removed, for the theme to work correctly.
Uses normal Tiki modules
For Tiki 3, the Tikipedia theme uses regular user-created modules for the logo and for the "toolbox" that contains wiki-related icons for print, watch, and so on. So when this theme is installed, these modules need to be made on the Admin Modules page (tiki-admin_modules.php).
- At the top of the left column will be the logo module . . .
Title: Site logo and titles (doesn't display, so rename as you wish)
Data (this goes in the data text area at the bottom of the Admin Modules page, User Modules tab):
(Please check here or in the tikipedia_tiki_3 package to see (and copy/paste) the module data. It wouldn't display accurate in this wiki page.)
After saving the new module, assign it to the top of the left column, with these settings:
Parameters:
decorations=n&flip=n&title=n&nobox=y&theme=tikipedia.css
Groups:
Anonymous, Registered
- Next in the left column will be the toolbox module
Name: tikipedia_toolbox (or whatever makes you like; doesn't really matter)
Title : Toolbox (capitalized to be consistent with other modules, but tikipedia.css transforms to lowercase)
Data (this goes in the data text area at the bottom of the Admin Modules page, User Modules tab):
(Please check here or in the tikipedia_tiki_3 package to see (and copy/paste) the module data. It wouldn't display accurate in this wiki page.)
After saving the new module, assign it to position 2 in the left column, with these settings:
Parameters:
theme=tikipedia.css§ion=wiki
Groups:
Anonymous, Registered
For Tiki 3, there are no special wiki plugins, as these have become difficult to maintain from one version to the next, and they can mostly be replaced with standard Tiki wiki plugins and other techniques. There may be errors if the previous Tikipedia wiki plugins are used with Tiki 3, so they should probably be removed from the lib/wiki-plugins directory.
--
The following information is for older Tiki versions, and is likely to not be correct for Tiki 3.
Unique wiki page features
{DIVFLOATING(align=>left, background=>#f9f9f9, border=>1px solid #aaa, width=>340px, float=>left, padding=>4px, margin=>8px, clear=>none)}{DIVFLOATING(align=>right, background=>#f9f9f9, border=>1px solid #aaa, width=>240px, float=>right, padding=>4px, margin=>8px, clear=>none)} {DIVFLOATING}The original MediaWiki site, with great visual design and functionality. (This box is an example of another original plugin used twice here, nested. DIVFLOATING has different parameters than the default DIV plugin: align, background, border, width, float, padding, margin, and clear). The text size is set with the TAG plugin.{DIVFLOATING}Monobook, the Mediawiki default theme, and the Mediawiki page layout in general have some interesting characteristics. For one thing, the page content area itself is pretty bare, with function links and so on moved to peripheral areas.
To replicate this in the Tikipedia theme, some of Tiki's wiki page controls have been moved to tabs above the content area and some to a Mediawiki-style toolbox, styled like a module, in the left-side column. This "module" (not a real Tiki module, but a template styled to look like one) is called only on wiki pages. This is where the links for 3-D browser, print, save, monitor, backlinks, language, and so on are located. Also, the page author information is moved from the wiki page area itself to a modified bottom bar that is loaded only on wiki pages.
{BR()}{BR}
Other changes from the Tiki default
Rather than having the usual side-column log-in module, this theme places a link to the log-in screen at the top right of the page, in keeping with the MediaWiki layout. In order not to interfere with the normal log-in module display when other themes are chosen, Tikipedia uses CSS to prevent the log-in box from displaying in the side column.
Page-top tabs are also used on image gallery, file gallery, directory, and tracker pages. In some cases, the templates needed a small edit to move the page-bar above the pagetitle, but most of the details were taken care of in the CSS file.
Bundled plugins
This theme includes several plugins to emulate the look and functionality of the Monobook theme at Mediawiki sites, but that can be used with other themes. These include: {THUMBDIV(align=>right, width=>90px, imgid=>2, title=>earth, alt=>earth, thumbwidth=>80, thumbheight=>60)}This is an example of the THUMBDIV plugin.{THUMBDIV}
- The MAKETOCBOX plugin, used above, is a styled {maketoc} tag that has a "Contents" title, can be floated left or right, and displays/hides the links similar to the Wikipedia function. UPDATE: The default maketoc now has essentially the same functionality as this plugin, so the plugin has been removed from the Tikipedia theme files. Use a DIV floated right and containing a box and the maketoc tag to get the same result as MAKETOCBOX. See doc.tikiwiki.org for more information.
- The THUMBDIV image thumbnail plugin also shown on this page. This div can contain any wikitext with links or whatever, and displays a thumbnail of an image in a Tiki gallery, which links to the page of the full-size image. For Tiki 2, this hasn't been tested yet, but should work.
- The TWOCOLORTITLEBOX used at the top of this page for the "Welcome to Tikipedia!" message was specifically made for the Mediawiki emulation but may have some other uses. The plugin is currently hardcoded to produce the font size; the title is divided into two spans, each of which can be given a color as a parameter.
Structural details
See Tikipedia_development for some notes on the process.
Customizing
Please see Customizing_Tikipedia for information on customizing/personalizing this theme.
Download ❗
Tikipedia for TikiWiki 2.0 and newer is available here. For 1.9 and older versions of Tiki, Tikipedia_v1.0.zip is available for downloading at the Tikipedia theme file gallery. Please report any problems or make suggestions in the forum.