For faster navigation, this Iframe is preloading the Wikiwand page for Plantilla:Caixa lateral/ús.

Plantilla:Caixa lateral/ús

Aquesta plantilla és una meta-plantilla que es pot fer servir per crear caixes flotants amb una millor presentació.

Utilització

[modifica]
Paràmetre (en català) Paràmetre (en anglès) Explicació
|text=
text que es mostrarà a la caixa.
|imatge= |image= imatge (o algun altre contingut).
|imatge_dreta= |imageright= imatge (o algun altre contingut) que es mostrarà a la dreta de la caixa, en una cel·la diferent de la taula.
|posició= |position= si s'especifica esquerra (o left), situa la caixa a l'esquerra de la pàgina en comptes de a la dreta (que és la posició per defecte). Altre posició és centre (o center).
|estil= |style= estils a aplicar a la caixa.
|estil_de_text= |textstyle= estils a aplicar només a les cel·les amb text.
|dalt= |above= contingut que apareixerà en la cel·la de dalt que ocuparà tota l'amplada de la caixa.
|estil_de_dalt= |abovestyle= estil a aplicar a la cel·la de dalt.
|sota= |below = contingut que apareixerà sota la/es darrera/es cel·la/es, en una nova fila que ocuparà tota l'amplada de la caixa.

Exemples

[modifica]

Sense paràmetres

[modifica]

((caixa lateral))

Sols text (d'una plantilla)

[modifica]

((caixa lateral |text = ((lorem))))

Dalt

[modifica]

((caixa lateral |text = El text del cos |dalt = El text de dalt))

Dalt i imatge_dreta

[modifica]

((caixa lateral |text = El text del cos |dalt = El text de dalt |imatge_dreta = [[Fitxer:Bad Title Example.png|30px]]))

Imatge i imatge_dreta

[modifica]

((caixa lateral |text = ((center|El text del cos)) |imatge = [[Fitxer:Bad Title Example.png|30px]] |imatge_dreta = [[Fitxer:Bad Title Example.png|30px]]))

Sota

[modifica]

((caixa lateral |text = El text del cos |sota = El text de baix))

Sota i imatge_dreta

[modifica]

((caixa lateral |text = El text del cos |sota = El text de baix |imatge_dreta = [[Fitxer:Bad Title Example.png|30px]]))

Imatge i text (amb enllaç)

[modifica]

((caixa lateral |text = El text del '''cos''' |imatge = [[Fitxer:Bad Title Example.png|32px]]))

Imatge

[modifica]

((caixa lateral |imatge = [[Fitxer:PNG transparency demonstration 1.png|100px]]))

Estil

[modifica]

((caixa lateral |text = El text del cos |estil = width:100px))

Estil_de_text

[modifica]

((caixa lateral |text = El text del cos |sota = El text de baix |dalt = El text de dalt |estil_de_text = color:red))

Estil_de_dalt

[modifica]

((caixa lateral|text = El text del cos |sota = El text de baix |dalt = El text de dalt |estil_de_text = color:red |estil_de_dalt = font-weight:bold))

Posició

[modifica]

((caixa lateral |text = El text del cos |posició = esquerra))


((caixa lateral |text = El text del cos |posició = centre))

Vegeu també

[modifica]


{{bottomLinkPreText}} {{bottomLinkText}}
Plantilla:Caixa lateral/ús
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?