Logo Patagonia.png

Infobox in Mediawiki

De Wikiexplora
Saltar a: navegación, buscar

After being reading a lot I summarize here the steps for including this infobox template in a Mediwiki.

You need the Extension: Parser Functions

  • Import it from this page of Wikipedia and enter this text: Template:Infobox in the BIG BOX, check the Includes Templates box. press Export Button.
  • A file will be downloaded to your computer.
  • Go to your wiki and go to this page: www.yourwiki.com/index.php/Special:Import and upload the file you just downloaded.

All the templates required for displaying the Template:Infobox will be created in your wiki.

In my case was:

Plantilla:Infobox

Plantilla:!

Plantilla:Clear

Plantilla:Documentation

Plantilla:Documentation/docspace

Plantilla:Documentation/end box

Plantilla:Documentation/end box2

Plantilla:Documentation/start box

Plantilla:Documentation/start box2

Plantilla:Documentation/template page

Plantilla:Documentation subpage

Plantilla:Fmbox

Plantilla:Infobox/doc

Plantilla:Infobox/row

Plantilla:Navbar

Plantilla:Nowrap

Plantilla:Para

Plantilla:Pp-meta

Plantilla:Pp-template

Plantilla:Purge

Plantilla:Template other

Plantilla:Tl

Plantilla:Transclude


The problem with the Mediawiki Infobox is that needs an special extension called tidy which according to WikiProject Transwiki sometimes it is not configured in the same way as Wikipedia.

  • So they proposed to edit in your wiki this two new created templates and replace the code with the following ones

Template:Navbar

Template:Infobox

Now it should work.

  • If you have a problem with the style, you have to copy the Wikipedia CSS styles and copy it in this page of your wiki www.yourwiki.com/index.php/MediaWiki:Common.css