መለጠፊያ:Metacaixa

ከውክፔዲያ
Jump to navigation Jump to search



[mostra] [modifica]Template-info.svg Informació de la plantilla


ጥቅም[ኮድ አርም]

id -> id  የሳጥኑ መለያ ቁጥር (ከ 0 እክስ 9, valor per defecte=0),  ለያንዳንዱ ሳጥን የራሱ ቁጥር ያስፈልጌዋል
bticona1 -> Si es vol posar una icona davant de l'etiqueta botó 1 አይክን ስዕል
bticona2 -> Si es vol posar una icona davant de l'etiqueta botó 2
...
bticona9 -> Si es vol posar una icona davant de l'etiqueta botó 9
bt1 -> ቁልፍ ስም 1
bt2 -> ቁልፍ  ስም 2
...
bt9 -> Etiqueta botó 9
ps1 -> ይዘት 1 
ps2 -> ይዘት 2
...
ps9 -> Contingut pestanya 9
sel -> መነሻ ይዘት ምምረጫ ከl 1 al 9 per a mostrar-ne una per defecte
       0 o no omplir el paràmetre per canviar la pestanya aleatòriament cada vegada que es carrega la pàgina.
color -> 
"Lila" means "Lilac" ወይን ጠጅ   (this colour is by default),
"Verd" means "Green", አርንጓዴ
"Vermell" means "Red", ቀይ
"Blau" means "Blue",  ሰማያዊ

"Groc" means "Yellow" ቢጫ

"Taronja" means "Orange" ብርቱካናማ

but you can create new ranges with adapting current range codes with new colour shades. PageName -> Allows a URL to redirect the tabs for browsers without JavaScript urlPrev -> Allows a URL to redirect the tabs for browsers without JavaScript urlPost -> Allows a URL to redirect the tabs for browsers without JavaScript

Codi d'exemple[ኮድ አርም]

{{Metacaixa
|id=0
|color=Taronja
|bt1=1 d'abril
|bt2=2 d'abril
|bt3=Altres
|bticona1=[[Image:Nuvola_apps_kuickshow.png|16px]]
|bticona3=[[Image:Nuvola_apps_kuickshow.png|16px]]
|ps1={{Abril 1}}
|ps2={{Abril 2}}
|ps3=Bla, bla, bla, bla, bla, bla, bla, bla, bla
|sel=2
}}

Resultat[ኮድ አርም]


የኮዶቹ ትርጓሜ[ኮድ አርም]

  • mcBotoSel = mbButtonSel (metabox button selected)
  • mcBoto = mbButton (Metabox button)
  • MetaCaixaInit = MetaBoxInit (Metabox initiating)
  • vMc = vMb (variable metabox)
  • vPsIni = vTabIni (variable tab initiating)
  • vBt = vBt (variable button)
  • mc = mb (metabox)
  • bt = bt (button)
  • MetaCaixaMostraPestanya = MetaBoxShowTab
  • psini = tabini (tab initiating)
  • vMcNom = vMbName (variable metabox name)
  • vIndex = vIndex (variable index)
  • vPsElem = vTabItem (variable tab items)
  • mcContingut = mbContent
  • mcPestanya = mbTab
  • mcLila = mbLilac
  • mcVerd = mbGreen
  • mcVermell = mbRed
  • mcBlau = mbBlue
  • mcGroc = mbYellow
  • mcTaronja = mbOrange
  • bticona = bticon (button icon)
  • sel = sel (selected)