Mal:Sideboks: Forskjell mellom sideversjoner

Fra Wikisida.no
Hopp til navigering Hopp til søk
m (Én sideversjon ble importert)
(fra enwiki)
Linje 1: Linje 1:
{{#invoke:Side box|main}}{{#if:{{{imageright|{{{bildehøyre|}}}}}}|[[Kategori:Sidebar med utgått parameter bildehøyre]]}}{{#if:{{{bilde|{{{tekst|{{{under|}}}}}}}}}|[[Kategori:Sidebar med utgått norsk parameter]]}}<noinclude>
{{Sidebar
|float={{{float|{{{position|}}}}}}
|class={{{class|}}}
|style={{{style|}}}
|textstyle={{{textstyle|}}}
|image={{{image|{{{bilde|}}} }}}
|content1={{{text|{{{tekst|}}}}}}
|below={{{below|{{{under|}}}}}}
|navbar={{{navbar|}}}
}}{{#if:{{{imageright|{{{bildehøyre|}}}}}}|[[Kategori:Sidebar med utgått parameter bildehøyre]]}}<noinclude>


{{Dokumentasjon}}
{{Dokumentasjon}}

Sideversjonen fra 2. okt. 2024 kl. 13:49

Maldokumentasjon


Formål

Metamal for å lage flytende innholdsbokser. Bruker Mal:Sidebar. Malen brukes f.eks. av {{lytte}}.

Bruk

  • |text= – the text to display in the box
  • |image= – a full image tag (or other content)
  • |imageright= – a full image tag (or other content) to display in a separate table cell on the right of the box
  • |position= – if set to left, floats the box on the left side of the page rather than the right
  • |style= – styles to apply to the box
  • |textstyle= – styles to apply to the text cells only
  • |below= – content to appear in a separate row underneath the main cell (and spanning the entire width of the box)