Usuario:Linfocito B/Taller/Plantillas/WebSlice-inicio

De Wikipedia, la enciclopedia libre


Documentación[ver] [editar] [historial] [purgar]


The {{WebSlice-inicio}} and {{WebSlice-fin}} templates can be used to create Web Slices out of certain content in a page. Web Slices are snippets of HTML content - marked up using hAtom and hSlice microformatos - that the browser keeps updated. The snipped can be viewed in the browser without navigating to the article - with all formatting applied. Web Slices currently work in Internet Explorer 8 and Mozilla Firefox (the later needs the WebChunks extension).

Uso

To mark up a snippet as a Web Slice, add {{WebSlice-begin|id = n | title = WebSlice Title | expires = date/time}} before the section and {{WebSlice-fin}} after the section. In the id field, specify a sequence number for the Web Slice. For example, add 1 for the first Web Slice, 2 for the second and so on. If it is not specified, it defaults to 1. In the title field, specify a human-readable title for the Web Slice. If it is not specified, the title of the page is used. The expires parameter is optional; it is used to specify when the syndicated content becomes no longer valid and informs the browser to stop updating the Web Slice. For example if you are monitoring the RfA tally, you can set the Web Slice to expire around the estimated closing time of the RfA.

Note - The expires parameter hasn't been implemented yet. Anyone willing to add support for it may look up the specification.
Esta documentación está transcluida desde Usuario:Linfocito B/Taller/Plantillas/WebSlice-inicio/doc.
Los editores pueden experimentar en la zona de pruebas (crear) y en los casos de prueba (crear) de la plantilla.
Por favor, añade las categorías en la subpágina de documentación. Subpáginas de esta plantilla.