Jump to content

Ficha

From mediawiki.org
This page is a translated version of the page Infobox and the translation is 43% complete.

Una ficha es una tabla usada para proporcionar información estandarizada a través de las páginas.

Las fichas son implementadas tradicionalmente usando plantillas regulares. Las plantillas de fichas usadas en este wiki se pueden encontrar en Categoría:Plantillas de fichas .

Ten en cuenta que también hay algunas extensiones de MediaWiki para crear fichas. Se pueden encontrar en Category:Infobox extensions .

Ten en cuenta que las fichas también pueden ser generadas automáticamente con datos estructurados usando las extensiones Wikibase y Scribunto, como se describe en Wikidata:Infobox Tutorial.

Add Infoboxes in MediaWiki 1.39

To add infoboxes to your own MediaWiki I recommend this article click here Just keep in mind a few things before following the tutorial:

  1. Scribunto extension is already included in MediaWiki v1.39.3 So instead of following the article's step 1 just add the following lines of code to LocalSettings.php.
    wfLoadExtension( 'Scribunto' );  $wgScribuntoDefaultEngine = 'luastandalone';
    
  2. You might also need to change the lua file permissions, for that just go to /path/to/extensions/Scribunto/includes/Engines/LuaStandalone/binaries/yourOS/lua and make sure the file has permissions set to 755
  3. Importing the xml file that was exported from wikipedia threw an error that was fixed by downloading and installing the extension TemplateStyles . Don't forget to add it to LocalSettings.php as well.
    wfLoadExtension( 'TemplateStyles' );
    
  4. That's it. I followed the rest of the steps 2, 3, 4 and 5 from the tutorial and was able to get everything running.

See also