Skillnad mellan versioner av "Mall:Box"

Från Lysators datorhandbok, den ultimata referensen.
Hoppa till navigering Hoppa till sök
Rad 3: Rad 3:
 
<nowiki> {{Box|color=red|content=Foo}}</nowiki>
 
<nowiki> {{Box|color=red|content=Foo}}</nowiki>
 
{{Box|color=red|content=Foo}}
 
{{Box|color=red|content=Foo}}
  +
{{Box|c
 
[[Kategori:Mallar]]
 
[[Kategori:Mallar]]
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div style="background: #fbfbfb; border: 1px solid {{{color|blue}}}; border-left: 10px solid {{{color|blue}}}">{{{content}}}</div>
+
<div style="background: #fbfbfb; border: 1px solid {{{color|blue}}}; border-left: 10px solid {{{color|blue}}}">{{{content|Denna låda har inget innehåll. Det blev nog fel.}}}</div>
 
</includeonly>
 
</includeonly>

Versionen från 16 september 2009 kl. 21.15

En ruta. Tar argumenten color för färg (i de format som accepteras av CSS) och content för lådans innehåll.

  {{Box|color=red|content=Foo}}


Foo

{{Box|c