Predefinição:Nota lateral esquerda
About[editar]
Templates {{nota lateral direita}}, and {{nota lateral esquerda}} are used to create a text in which notes appear to the side of the text, rather than as footnotes at the end.
These templates are compatible with dynamic layouts. Thus, the way notes are rendered depends on the layout. CSS properties are defined in self.ws_layouts.
Usage[editar]
Usage is as follows:
![]() | Esta predefinição usa elementos de bloco (e.g. <div> or <p> ).Não deve ser aninhado dentro de um elemento em linha (e.g. |
- In the Page Namespace, {{notas laterais}} should be placed in the header of the page, and {{Sidenotes end}} in the footer, in order to create margins. (nãote: these templates will be deprecated in the future, as css style properties will be imported from the index page)
- In the main namespace, these templates are no longer necessary.
Parâmetro | Obrigatório | Definição | Valor padrão |
---|---|---|---|
1 | não | Unused, temporarily retained for access to 2 | — |
2 | não | Width of left and right margin to apply(measured in em values) | 11 |
side | não | Side of page to place a sidenotes column (options: left , right , both ) |
both
|
![]() | Essa predefinição utiliza um elemento Veja H:DIVSPAN para maiores detalhes. |
{{nota lateral direita}} is used to create a sidenote appearing to the right of the text.
![]() | Essa predefinição utiliza TemplateStylesEN: |
Parâmetro | Obrigatório | Definição | Valor padrão |
---|---|---|---|
1 | sim | The text to appear at the right, possibly including wiki markup. | |
2 | não | The css style of the note |
{{nota lateral esquerda}} is used to create a sidenote appearing to the left of the text.
![]() | Essa predefinição utiliza TemplateStylesEN: |
Parâmetro | Obrigatório | Definição | Valor padrão |
---|---|---|---|
1 | sim | The text to appear at the left, possibly including wiki markup. | |
2 | não | The css style of the note |
Example:
- en:The Solar System/Chapter 1 (try the different layouts to check how notes are rendered in each of them)
A documentação acima é transcluída de Predefinição:Notas laterais/doc. (editar | histórico) Editores podem experimentar nas páginas de teste (criar | espelhar) e de exemplos para testes (criar) desta predefinição. Subpáginas desta predefinição. |