Logo Patagonia.png

Diferencia entre revisiones de «Infobox in Mediawiki»

De Wikiexplora
Saltar a: navegación, buscar
(Página creada con 'After being reading a lot I summarize here the steps for including [http://en.wikipedia.org/index.php/Template:Infobox this infobox template] in a Mediwiki. You need the [http:...')
 
m (Texto reemplazado: « » por « »)
 
(No se muestra una edición intermedia de otro usuario)
Línea 1: Línea 1:
After being reading a lot I summarize here the steps for including [http://en.wikipedia.org/index.php/Template:Infobox this infobox template] in a Mediwiki.
+
After being reading a lot I summarize here the steps for including [http://en.wikipedia.org/wiki/Template:Infobox this infobox template] in a Mediwiki.
  
 
You need the [http://www.mediawiki.org/wiki/Extension:ParserFunctions Extension: Parser Functions]
 
You need the [http://www.mediawiki.org/wiki/Extension:ParserFunctions Extension: Parser Functions]
Línea 66: Línea 66:
 
[http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Transwiki/Template:Navbar Template:Navbar]
 
[http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Transwiki/Template:Navbar Template:Navbar]
  
[http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Transwiki/Template:Infobox Template:Infobox]
+
[http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Transwiki/Template:Infobox Template:Infobox]  
  
 
Now it should work.
 
Now it should work.
  
 
*If you have a problem with the style, you have to copy the [http://en.wikipedia.org/wiki/MediaWiki:Common.css Wikipedia CSS] styles and copy it in this page of your wiki www.yourwiki.com/index.php/MediaWiki:Common.css
 
*If you have a problem with the style, you have to copy the [http://en.wikipedia.org/wiki/MediaWiki:Common.css Wikipedia CSS] styles and copy it in this page of your wiki www.yourwiki.com/index.php/MediaWiki:Common.css

Revisión actual del 12:34 11 nov 2016

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