Sandbox: Difference between revisions

From Peters wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:


Lite boxmallar:
Lite boxmallar:
{{Sandbox File|foo.c|
{{Box Fil|foo.c|
<pre>
<pre>
a
a
Line 20: Line 20:
}}
}}


Test igen:
{{Box Kommando|foo.c|
{{Sandbox File|foo.c|
<pre>
Här kommer innehållet i filen
Runt denna text ska det inte ritas någon ram
Men det funkar väl inte som vanligt :-(
</pre>
}}
 
 
{{Sandbox Kommando|foo.c|
<pre>
<pre>
VERSION = 10
VERSION = 10
Line 37: Line 27:
}}
}}


Tyvärr har dessa boxar nu slutat fungera:
Funkar denna fortfarande?
  # ls
  # ls
   foo.c bar.c
   foo.c bar.c

Revision as of 22:17, 16 April 2008

Introducing: Sandbox

This is the place to experiment with the MediaWiki markup and markup, or non-markup.

Template:Box Kod

Lite boxmallar: Template:Box Fil

Template:Box Kommando

Funkar denna fortfarande?

# ls
  foo.c bar.c
/* This stylesheet affects all skins. */
 
/*********
** Various tweaks
*********/
/* Hide crumb navigation in main namespace */
.ns-0 .subpages {
display:none;
}

/* Fix copy&paste formatting */
.verse pre {
       margin:0;
       padding-left:2em;
       border:0;
       background:#FFF;
       font-family:sans-serif;
       white-space:pre;
       line-height:150%;
}
.verse p {
       white-space:pre;
}