Modèle:Infobox tabber

De Wiki Electrolab
Révision datée du 1 mai 2023 à 13:33 par Electrolab (discussion | contributions) (Page créée avec « <!-- Don't run if there is no label -->{{#if:{{{label1|}}} |{{#tag:tabber|{{#vardefine:i|1}}{{#while: |{{{label{{#var:i}}|}}} |{{!}}-{{!}}{{{label{{#var:i}}}}}={{{data{{#var:i}}}}}{{#vardefine:i|{{#expr:{{#var:i}}+ 1}}}} }}}} }}<templatestyles src="Template:Infobox tabber/styles.css" /><noinclude> {{/doc}} <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> </noinclude> »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Template documentation[view][edit][history][purge]
This documentation is transcluded from Modèle:Infobox tabber/doc. Changes can be proposed in the talk page.

{{Infobox tabber}} implements the <tabber> tag from Extension:TabberNeue for infobox usage only. It includes additional styling needed for infobox.

Usage

{{Infobox tabber
|label1 = Tab Title A
|data1 = Tab content A goes here.
|label2 = Tab Title B
|data2 = Tab content B goes here.
|label3 = Tab Title C
|data3 = Tab content C goes here.
|label4 = Tab Title D
|data4 = Tab content D goes here.
|label5 = Tab Title E
|data5 = Tab content E goes here.
}}

gives

Tab content A goes here.
Tab content B goes here.
Tab content C goes here.
Tab content D goes here.
Tab content E goes here.
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.