Questa pagina è protetta dalle modifiche.

Template:Clear

Da Wikimedia Commons, l'archivio di file multimediali liberi
Vai alla navigazione Vai alla ricerca
Protected Questo template è stato protetto dalle modifiche per prevenire il vandalismo.
Per favore discuti dei cambiamenti nella pagina di discussione o richiedi la sprotezione.
Manuale del templatevedi · modifica · cronologia · purga ]
This documentation is transcluded from Template:Clear/doc.

(questa parte di documentazione è disponibile solo in alcune lingue)

This template clears floating elements, that is, it inserts as much space as needed so that the content after this template is below all floating elements (or elements floating to a given side of the page, if a side is specified).

Uso

{{Clear |1= }}

Oppure usa la forma breve

(questa parte di documentazione è disponibile solo in alcune lingue)

Code: <div style="clear:both"></div>

Parametri template

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation

At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports

Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussione
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

This template clears floating elements, that is, it inserts as much space as needed so that the content after this template is below all floating elements (or elements floating to a given side of the page, if a side is specified).

Parametri template[Modifica dati del modello]

Questo template preferisce la formattazione in linea dei parametri.

ParametroDescrizioneTipoStato
side1

Which side to clear on: “left”, “right” or “both”

Predefinito
both
Lineafacoltativo

Informazioni aggiuntive

Questo template è concepito per essere usato nei seguenti namespace: tutti i namespace

Questo template è concepito per essere usato dai seguenti gruppi utente: tutti gli utenti

Vedi anche

(questa parte di documentazione è disponibile solo in alcune lingue)

Localizzazione

Questo template non è concepito per essere localizzato.