User:Sverdrup/Wikipreview.html

From Wikipedia, the free encyclopedia

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">

 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   
   <link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />
   <title>Preview Wikitext</title>
   <style type="text/css" media="all">
   
   /*
  1. column-content {
   width: 100%;
   float: right;
   margin: 0 0 .6em -12.2em;
   padding: 0;

}

  1. content {
   margin: 10px 0 0 10px;
   padding: 0 1em 1.5em 1em;
   background: white;
   color: black;
   border: 1px solid #aaa;
   border-right: none;
   line-height: 1.5em;
   position: relative;
   z-index: 2;

}

  1. column-one {
   padding-top: 160px;

} /* the left column width is specified in class .portlet */

/* Font size:

body {

   font: x-small sans-serif;
   background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
   color: black;
   margin: 0;
   padding: 0;

}

/* scale back up to a sane default */

  1. globalWrapper {
   font-size: 127%;
   width: 100%;
   margin: 0;
   padding: 0;

} .visualClear {

   clear: both;

}

/* general styles */

table {

   font-size: 100%;
   background: white;
   color: black;

} a {

   text-decoration: none;
   color: #002bb8;
   background: none;

} a:visited {

   color: #5a3696;

} a:active {

   color: #faa700;

} a:hover {

   text-decoration: underline;

} a.stub {

   color: #772233;

} a.new, #p-personal a.new {

   color: #ba0000;

} a.new:visited, #p-personal a.new:visited {

   color: #a55858;

}

img {

   border: none;
   vertical-align: middle;

} p {

   margin: .4em 0 .5em 0;
   line-height: 1.5em;

} p img {

   margin: 0;

}

hr {

   height: 1px;
   color: #aaa;
   background-color: #aaa;
   border: 0;
   margin: .2em 0 .2em 0;

}

h1, h2, h3, h4, h5, h6 {

   color: black;
   background: none;
   font-weight: normal;
   margin: 0;
   padding-top: .5em;
   padding-bottom: .17em;
   border-bottom: 1px solid #aaa;

} h1 { font-size: 188%; } h2 { font-size: 150%; } h3, h4, h5, h6 {

   border-bottom: none;
   font-weight: bold;

} h3 { font-size: 132%; } h4 { font-size: 116%; } h5 { font-size: 100%; } h6 { font-size: 80%; }

ul {

   line-height: 1.5em;
   list-style-type: square;
   margin: .3em 0 0 1.5em;
   padding: 0;
   list-style-image: url(bullet.gif);

} ol {

   line-height: 1.5em;
   margin: .3em 0 0 3.2em;
   padding: 0;
   list-style-image: none;

} li {

   margin-bottom: .1em;

} dt {

   font-weight: bold;
   margin-bottom: .1em;

} dl {

   margin-top: .2em;
   margin-bottom: .5em;

} dd {

   line-height: 1.5em;
   margin-left: 2em;
   margin-bottom: .1em;

}

fieldset {

   border: 1px solid #2f6fab;
   margin: 1em 0 1em 0;
   padding: 0 1em 1em;
   line-height: 1.5em;

} legend {

   background: white;
   padding: .5em;
   font-size: 95%;

} form {

   border: none;
   margin: 0;

}

textarea {

   width: 100%;
   padding: .1em;

}

input.historysubmit {

   padding: 0 .3em .3em .3em !important;
   font-size: 94%;
   cursor: pointer;
   height: 1.7em !important;
   margin-left: 1.6em;

} select {

   vertical-align: top;

} abbr, acronym, .explain {

   border-bottom: 1px dotted black;
   color: black;
   background: none;
   cursor: help;

} q {

   font-family: Times, "Times New Roman", serif;
   font-style: italic;

} /* disabled for now blockquote {

   font-family: Times, "Times New Roman", serif;
   font-style: italic;

}*/ code {

   background-color: #f9f9f9;

} pre {

   padding: 1em;
   border: 1px dashed #2f6fab;
   color: black;
   background-color: #f9f9f9;
   line-height: 1.1em;

}

/*

    • the main content area
  • /
  1. siteSub {
   display: none;

}

  1. contentSub {
   font-size: 84%;
   line-height: 1.2em;
   margin: 0 0 1.4em 1em;
   color: #7d7d7d;
   width: auto;

} span.subpages {

   display: block;

}

/* Some space under the headers in the content area */

  1. bodyContent h1, #bodyContent h2 {
   margin-bottom: .6em;

}

  1. bodyContent h3, #bodyContent h4, #bodyContent h5 {
   margin-bottom: .3em;

} .firstHeading {

   margin-bottom: .1em;

}

/* user notification thing */ .usermessage {

   background-color: #ffce7b;
   border: 1px solid #ffa500;
   color: black;
   font-weight: bold;
   margin: 2em 0 1em;
   padding: .5em 1em;
   vertical-align: middle;

}

  1. siteNotice {
   text-align: center;
   font-size: 95%;
   padding: 0 .9em;

}

  1. siteNotice p {
   margin: 0;
   padding: 0;

} .error {

   color: red;
   font-size: larger;

}

  1. catlinks {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   padding: 5px;
   margin-top: 1em;
   clear: both;

} /* currently unused, intended to be used by a metadata box in the bottom-right corner of the content area */ .documentDescription {

   /* The summary text describing the document */
   font-weight: bold;
   display: block;
   margin: 1em 0;
   line-height: 1.5em;

} .documentByLine {

   text-align: right;
   font-size: 90%;
   clear: both;
   font-weight: normal;
   color: #76797c;

}

/* emulate center */ .center {

   width: 100%;
   text-align: center;

}

  • .center * {
   margin-left: auto;
   margin-right: auto;

} /* small for tables and similar */ .small, .small * {

   font-size: 94%;

} table.small {

   font-size: 100%;

}

/*

    • content styles
  • /
  1. toc,

.toc { border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; font-size: 95%; }

  1. toc h2,

.toc h2 { display: inline; border: none; padding: 0; font-size: 100%; font-weight: bold; }

  1. toc #toctitle,

.toc #toctitle,

  1. toc .toctitle,

.toc .toctitle { text-align: center; }

  1. toc ul,

.toc ul { list-style-type: none; list-style-image: none; margin-left: 0; padding-left: 0; text-align: left; }

  1. toc ul ul,

.toc ul ul { margin: 0 0 0 2em; }

  1. toc .toctoggle,

.toc .toctoggle { font-size: 94%; }


/* images */ div.floatright, table.floatright {

   clear: right;
   float: right;
   position: relative;
   margin: 0 0 .5em .5em;
   border: 0;

/*

   border: .5em solid white;
   border-width: .5em 0 .8em 1.4em;
  • /

} div.floatright p { font-style: italic; } div.floatleft, table.floatleft {

   float: left;
   position: relative;
   margin: 0 .5em .5em 0;
   border: 0;

/*

   margin: .3em .5em .5em 0;
   border: .5em solid white;
   border-width: .5em 1.4em .8em 0;
  • /

} div.floatleft p { font-style: italic; } /* thumbnails */ div.thumb {

   margin-bottom: .5em;
   border-style: solid;
   border-color: white;
   width: auto;

} div.thumb div {

   border: 1px solid #ccc;
   padding: 3px !important;
   background-color: #f9f9f9;
   font-size: 94%;
   text-align: center;
   overflow: hidden;

} div.thumb div a img {

   border: 1px solid #ccc;

} div.thumb div div.thumbcaption {

   border: none;
   text-align: left;
   line-height: 1.4em;
   padding: .3em 0 .1em 0;

} div.magnify {

   float: right;
   border: none !important;
   background: none !important;

} div.magnify a, div.magnify img {

   display: block;
   border: none !important;
   background: none !important;

} div.tright {

   clear: right;
   float: right;
   border-width: .5em 0 .8em 1.4em;

} div.tleft {

   float: left;
   margin-right: .5em;
   border-width: .5em 1.4em .8em 0;

}

.hiddenStructure {

   display: none;

} img.tex {

   vertical-align: middle;

} span.texhtml {

   font-family: serif;

}

/*

    • classes for special content elements like town boxes
    • intended to be referenced directly from the wiki src
  • /

/*

    • User styles
  • /

/* table standards */ table.rimage {

   float: right;
   position: relative;
   margin-left: 1em;
   margin-bottom: 1em;
   text-align: center;

} .toccolours {

   border: 1px solid #aaa;
   background-color: #f9f9f9;
   padding: 5px;
   font-size: 95%;

} div.townBox {

   position: relative;
   float: right;
   background: white;
   margin-left: 1em;
   border: 1px solid gray;
   padding: .3em;
   width: 200px;
   overflow: hidden;
   clear: right;

} div.townBox dl {

   padding: 0;
   margin: 0 0 .3em;
   font-size: 96%;

} div.townBox dl dt {

   background: none;
   margin: .4em 0 0;

} div.townBox dl dd {

   margin: .1em 0 0 1.1em;
   background-color: #f3f3f3;

}

/*

    • edit views etc
  • /

.special li {

   line-height: 1.4em;
   margin: 0;
   padding: 0;

}

/* Page history styling */ /* the auto-generated edit comments */ .autocomment {

   color: gray;

}

  1. pagehistory span.user {
   margin-left: 1.4em;
   margin-right: .4em;

}

  1. pagehistory span.minor {
   font-weight: bold;

}

  1. pagehistory li {
   border: 1px solid white;

}

  1. pagehistory li.selected {
   background-color: #f9f9f9;
   border: 1px dashed #aaa;

}

/*

    • Diff rendering
  • /

table.diff, td.diff-otitle, td.diff-ntitle {

   background-color: white;

} td.diff-addedline {

   background: #cfc;
   font-size: smaller;

} td.diff-deletedline {

   background: #ffa;
   font-size: smaller;

} td.diff-context {

   background: #eee;
   font-size: smaller;

} span.diffchange {

   color: red;
   font-weight: bold;

}

/*

    • keep the whitespace in front of the ^=, hides rule from konqueror
    • this is css3, the validator doesn't like it when validating as css2
  • /
  1. bodyContent a[href ^="http://"],
  2. bodyContent a[href ^="gopher://"] {
   background: url(external.png) center right no-repeat;
   padding-right: 13px;

}

  1. bodyContent a[href ^="https://"],

.link-https {

   background: url(lock_icon.gif) center right no-repeat;
   padding-right: 16px;

}

  1. bodyContent a[href ^="mailto:"],

.link-mailto {

   background: url(mail_icon.gif) center right no-repeat;
   padding-right: 18px;

}

  1. bodyContent a[href ^="news://"] {
   background: url(news_icon.png) center right no-repeat;
   padding-right: 18px;

}

  1. bodyContent a[href ^="ftp://"],

.link-ftp {

   background: url(file_icon.gif) center right no-repeat;
   padding-right: 18px;

}

  1. bodyContent a[href ^="irc://"],

.link-irc {

   background: url(discussionitem_icon.gif) center right no-repeat;
   padding-right: 18px;

} /* disable interwiki styling */

  1. bodyContent a.extiw,
  2. bodyContent a.extiw:active {
   color: #36b;
   background: none;
   padding: 0;

}

  1. bodyContent a.external {
   color: #36b;

} /* this can be used in the content area to switch off special external link styling */

  1. bodyContent .plainlinks a {
   background: none !important;
   padding: 0;

} /*

    • Structural Elements
  • /

/*

    • general portlet styles (elements in the quickbar)
  • /

.portlet {

   border: none;
   margin: 0 0 .5em;
   padding: 0;
   float: none;
   width: 11.6em;
   overflow: hidden;

} .portlet h4 {

   font-size: 95%;
   font-weight: normal;
   white-space: nowrap;

} .portlet h5 {

   background: transparent;
   padding: 0 1em 0 .5em;
   display: inline;
   height: 1em;
   text-transform: lowercase;
   font-size: 91%;
   font-weight: normal;
   white-space: nowrap;

} .portlet h6 {

   background: #ffae2e;
   border: 1px solid #2f6fab;
   border-style: solid solid none solid;
   padding: 0 1em 0 1em;
   text-transform: lowercase;
   display: block;
   font-size: 1em;
   height: 1.2em;
   font-weight: normal;
   white-space: nowrap;

} .pBody {

   font-size: 95%;
   background-color: white;
   color: black;
   border-collapse: collapse;
   border: 1px solid #aaa;
   padding: 0 .8em .3em .5em;

} .portlet h1, .portlet h2, .portlet h3, .portlet h4 {

   margin: 0;
   padding: 0;

} .portlet ul {

   line-height: 1.5em;
   list-style-type: square;
   list-style-image: url(bullet.gif);
   font-size: 95%;

} .portlet li {

   padding: 0;
   margin: 0;

}

/*

    • Logo properties
  • /
  1. p-logo {
   z-index: 3;
   position: absolute; /*needed to use z-index */
   top: 0;
   left: 0;
   height: 155px;
   width: 12em;
   overflow: visible;

}

  1. p-logo h5 {
   display: none;

}

  1. p-logo a,
  2. p-logo a:hover {
   display: block;
   height: 155px;
   width: 12.2em;
   background-repeat: no-repeat;
   background-position: 35% 50% !important;
   text-decoration: none;

}

/*

    • the navigation portlet
  • /
  1. p-navigation {
   position: relative;
   z-index: 3;

}

/*

    • Search portlet
  • /
  1. p-search {
   position: relative;
   z-index: 3;

}

  1. p-search .pBody {
   text-align: center;

} input.searchButton {

   margin-top: 1px;
   font-size: 95%;

}

  1. searchGoButton {
   padding-left: .5em;
   padding-right: .5em;
   font-weight: bold;

}

  1. searchInput {
   width: 10.9em;
   margin: 0;
   font-size: 95%;

}

  1. p-search .pBody {
   padding: .5em .4em .4em .4em;

}

/*

    • the personal toolbar
  • /
  1. p-personal {
   width: 100%;
   white-space: nowrap;
   padding: 0;
   margin: 0;
   position: absolute;
   left: 0;
   top: 0;
   z-index: 0;
   border: none;
   background: none;
   overflow: visible;
   line-height: 1.2em;

}

  1. p-personal h5 {
   display: none;

}

  1. p-personal .portlet,
  2. p-personal .pBody {
   padding: 0;
   margin: 0;
   border: none;
   z-index: 0;
   overflow: visible;
   background: none;

} /* this is the ul contained in the portlet */

  1. p-personal ul {
   border: none;
   line-height: 1.4em;
   color: #2f6fab;
   padding: 0 2em 0 3em;
   margin: 0;
   text-align: right;
   text-transform: lowercase;
   list-style: none;
   z-index: 0;
   background: none;

}

  1. p-personal li {
   z-index: 0;
   border: none;
   padding: 0;
   display: inline;
   color: #2f6fab;
   margin-left: 1em;
   line-height: 1.2em;
   background: none;

}

  1. p-personal li a {
   text-decoration: none;
   color: #005896;
   padding-bottom: .2em;
   background: none;

}

  1. p-personal li a:hover {
   background-color: white;
   padding-bottom: .2em;
   text-decoration: none;

}

/* the icon in front of the user name, single quotes in bg url to hide it from iemac */ li#pt-userpage, li#pt-anonuserpage, li#pt-login {

   background: url(user.gif) top left no-repeat;
   padding-left: 20px;
   text-transform: none;

}

/*

    • the page-related actions- page/talk, edit etc
  • /
  1. p-cactions {
   position: absolute;
   top: 1.3em;
   left: 11.5em;
   margin: 0;
   white-space: nowrap;
   width: 76%;
   line-height: 1.1em;
   overflow: visible;
   background: none;
   border-collapse: collapse;
   padding-left: 1em;
   list-style: none;
   font-size: 95%;

}

  1. p-cactions .hiddenStructure {
   display: none;

}

  1. p-cactions ul {
   list-style: none;

}

  1. p-cactions li {
   display: inline;
   border: 1px solid #aaa;
   border-bottom: none;
   padding: 0 0 .1em 0;
   margin: 0 .3em 0 0;
   overflow: visible;
   background: white;

}

  1. p-cactions li.selected {
   border-color: #fabd23;
   padding: 0 0 .2em 0;

}

  1. p-cactions li a {
   background-color: white;
   color: #002bb8;
   border: none;
   padding: 0 .8em .3em .8em;
   text-decoration: none;
   text-transform: lowercase;
   position: relative;
   z-index: 0;
   margin: 0;

}

  1. p-cactions .selected a {
   z-index: 3;

}

  1. p-cactions .new a {
   color: #ba0000;

}

  1. p-cactions li a:hover {
   z-index: 3;
   text-decoration: none;

}

  1. p-cactions h5 {
   display: none;

}

  1. p-cactions li.istalk {
   margin-right: 0;

}

  1. p-cactions li.istalk a {
   padding-right: .5em;

}

  1. p-cactions #ca-addsection a {
   padding-left: .4em;
   padding-right: .4em;

} /* offsets to distinguish the tab groups */ li#ca-talk {

   margin-right: 1.6em;

} li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {

   margin-left: 1.6em;

}

/*

    • the remaining portlets
  • /
  1. p-tbx,
  2. p-lang {
   position: relative;
   z-index: 3;

}

/*

    • footer
  • /
  1. footer {
   background-color: white;
   border-top: 1px solid #fabd23;
   border-bottom: 1px solid #fabd23;
   margin: .6em 0 1em 0;
   padding: .4em 0 1.2em 0;
   text-align: center;
   font-size: 90%;

}

  1. footer li {
   display: inline;
   margin: 0 1.3em;

} /* hide from incapable browsers */ head:first-child+body #footer li { white-space: nowrap; }

  1. f-poweredbyico, #f-copyrightico {
   margin: 0 8px;
   position: relative;
   top: -2px; /* Bump it up just a tad */

}

  1. f-poweredbyico {
   float: right;
   height: 1%;

}

  1. f-copyrightico {
   float: left;
   height: 1%;

}

/* js pref toc */

  1. preftoc {
   float: left;
   margin: 1em;
   width: 13em;

}

  1. preftoc li {
   border: 1px solid white;

}

  1. preftoc li.selected {
   background-color: #f9f9f9;
   border: 1px dashed #aaa;

}

  1. preftoc a,
  2. preftoc a:active {
   display: block;
   color: #0014a6;

}

  1. prefcontrol {
   clear: both;
   float: left;
   margin-top: 1em;

} div.prefsectiontip {

   font-size: 95%;
   margin-top: 1em;

} fieldset.operaprefsection {

   margin-left: 15em;

}

/*

    • IE/Mac fixes, hope to find a validating way to move this
    • to a separate stylesheet. This would work but doesn't validate:
    • @import("IEMacFixes.css");
  • /

/* tabs: border on the a, not the div */

  • > html #p-cactions li { border: none; }
  • > html #p-cactions li a {
   border: 1px solid #aaa;
   border-bottom: none;

}

  • > html #p-cactions li.selected a { border-color: #fabd23; }

/* footer icons need a fixed width */

  • > html #f-poweredbyico,
  • > html #f-copyrightico { width: 88px; }
  • > html #bodyContent,
  • > html #bodyContent pre {
   overflow-x: auto;
   width: 100%;
   padding-bottom: 25px;

}

/* more IE fixes */ /* float/negative margin brokenness */

  • html #footer {margin-top: 0;}
  • html #column-content {
   display: inline;
   margin-bottom: 0;

}

  • html div.editsection { font-size: smaller; }
  1. pagehistory li.selected { position: relative; }

/* Mac IE 5.0 fix; floated content turns invisible */

  • > html #column-content {
   float: none;

}

  • > html #column-one {
   position: absolute;
   left: 0;
   top: 0;

}

  • > html #footer {
   margin-left: 13.2em;

} .redirectText {

   font-size: 150%;
   margin: 5px;

}

.printfooter {

   display: none;

}

.not-patrolled {

   background-color: #ffa;

} div.patrollink {

   font-size: 75%;
   text-align: right;

} span.newpage, span.minor, span.searchmatch {

   font-weight: bold;

} span.unpatrolled {

   font-weight: bold;
   color: red;

}

span.searchmatch {

   color: red;

} .sharedUploadNotice {

   font-style: italic;

}

span.updatedmarker {

   color: black;
   background-color: #0f0;

} span.newpageletter {

   font-weight: bold;
   color: black;
   background-color: yellow;

} span.minoreditletter {

   color: black;
   background-color: #c5ffe6;

}

table.gallery {

   border: 1px solid #ccc;
   margin: 2px;
   padding: 2px;
   background-color: white;

}

table.gallery tr {

   vertical-align: top;

}

table.gallery td {

   vertical-align: top;
   background-color: #f9f9f9;
   border: solid 2px white;

}

div.gallerybox {

   margin: 2px;
   width:  150px;

}

div.gallerybox div.thumb {

   text-align: center;
   border: 1px solid #ccc;
   margin: 2px;

}

div.gallerytext {

   font-size: 94%;
   padding: 2px 4px;

}

span.comment { font-style: italic; }

span.changedby { font-size: 95%; }

.previewnote { text-align: center; color: #cc0000; } .editExternally { border: 1px solid gray; background-color: #ffffff; padding: 3px; margin-top: 0.5em; float: left; font-size: small; text-align: center; } .editExternallyHelp { font-style: italic; color: gray; }

li span.deleted { text-decoration: line-through; color: #888; font-style: italic; }

.toggle { margin-left: 2em; text-indent: -2em; }

/* Classes for EXIF data display */ table.metadata { font-size: 0.8em; margin-left: 0.5em; margin-bottom: 0.5em; }

table.metadata caption { font-weight: bold; }

table.metadata th { font-weight: normal; }

table.metadata td { padding: 0.1em; }

table.metadata { border: none; border-collapse: collapse; }

table.metadata td, table.metadata th { text-align: center; border: 1px solid #aaaaaa; padding-left: 0.1em; padding-right: 0.1em; }

table.metadata th { background-color: #f9f9f9; }

table.metadata td { background-color: #fcfcfc; }

/* filetoc */ ul#filetoc { text-align: center; border: 1px solid #aaaaaa; background-color: #f9f9f9; padding: 5px; font-size: 95%; margin-bottom: 0.5em; margin-left: 0; margin-right: 0; }

  1. filetoc li {

display: inline; list-style-type: none; padding-right: 2em; }

/* @bug 1714 */ input#wpSave, input#wpDiff { margin-right: 0.33em; }


/* Classes for article validation */

table.revisionform_default { border: 1px solid #000000; }

table.revisionform_focus { border: 1px solid #000000; background-color:#00BBFF; }

tr.revision_tr_default { background-color:#EEEEEE; }

tr.revision_tr_first { background-color:#DDDDDD; }

p.revision_saved { color: green; font-weight:bold; }

  1. mw_trackbacks {

border: solid 1px #bbbbff; background-color: #eeeeff; padding: 0.2em; }


/* Allmessages table */

  1. allmessagestable th {

background-color: #b2b2ff; }

  1. allmessagestable tr.orig {

background-color: #ffe2e2; }

  1. allmessagestable tr.new {

background-color: #e2ffe2; }

  1. allmessagestable tr.def {

background-color: #f0f0ff; }


   </style>
   <script type="text/javascript">
   // Last update: 21:51, 15 Feb 2005 (UTC)

// Live Preview customization, // edit this to your own liking.


wpUserName = 'YourName'; // User name to display in signatures

wpShowImages = false; // Enable downloading and displaying of images



// Script to embed Live Preview in MediaWiki's edit page function LivePreviewInstall() {

copywarn = document.getElementById('editpage-copywarn');
if (copywarn != null) {
 var cleaner = "
"; LivePreviewHTML = '<input type="button" value="Live Preview" onclick="document.getElementById(\'PreviewBox\').innerHTML = wiki2html(editform.wpTextbox1.value) + \ + cleaner + '\';" />'; //LivePreviewHTML = '<input type="button" value="Live Preview" onclick="document.getElementById(\'PreviewBox\').innerHTML = wiki2html(editform.wpTextbox1.value);" />';

LivePreviewHTML += '

';

 copywarn.innerHTML = LivePreviewHTML + copywarn.innerHTML;
}

}

// User options var wpUserName=wpUserName||'Wikipedian'; var wpUserSignature=wpUserSignature||wpUserName;


// System options var wpLanguageCode=wpLanguageCode||'en'; var wpInterwikiCodes=wpInterwikiCodes||'ab|aa|af|ak|sq|als|am|ang|ar|an|arc|hy|roa-rup|as|ast|av|ay|az|bm|ba|eu|be|bn|bh|bi|bs|br|bg|my|ca|ch|ce|chr|chy|ny|zh|zh-tw|zh-cn|cho|cv|kw|co|cr|hr|cs|da|dv|nl|dz|en|eo|et|ee|fo|fj|fi|fr|fy|ff|gl|ka|de|got|el|kl|gn|gu|ht|ha|haw|he|hz|hi|ho|hu|is|io|ig|id|ia|ie|iu|ik|ga|it|ja|jv|kn|kr|csb|ks|kk|km|ki|rw|rn|tlh|kv|kg|ko|kj|ku|ky|lo|la|lv|li|ln|lt|jbo|nds|lg|lb|mk|mg|ms|ml|mt|gv|mi|minnan|mr|mh|zh-min-nan|mo|mn|mus|nah|na|nv|ne|se|no|nn|oc|or|om|pi|fa|pl|pt|pa|ps|qu|ro|rm|ru|sm|sg|sa|sc|gd|sr|sh|st|tn|sn|scn|simple|sd|si|sk|sl|so|st|es|su|sw|ss|sv|tl|ty|tg|ta|tt|te|th|bo|ti|tpi|to|tokipona|ts|tum|tr|tk|tw|uk|ur|ug|uz|ve|vi|vo|wa|cy|wo|xh|ii|yi|yo|za|zu'; var wpBaseArticlePath=wpBaseArticlePath||'/wiki/'; var wpMathBasePath=wpMathBasePath||'/math/'; var wpImageBasePath=wpImageBasePath||'http://upload.wikimedia.org/wikipedia/'+wpLanguageCode+'/'; var wpImageFallbackPath=wpImageFallbackPath||'http://upload.wikimedia.org/wikipedia/commons/'; var wpDefaultThumbWidth=wpDefaultThumbWidth||180; var wpSkinMagnifyClip=wpSkinMagnifyClip||'/skins/common/images/magnify-clip.png'; var wpUserNamespace=wpUserNamespace||'User'; var wpImageNamespace=wpImageNamespace||'Image'; var wpCategoryNamespace=wpCategoryNamespace||'Category';

// Packed code (DO NOT MODIFY) function wiki2html(str) {str=strip_cr(str);var w=new WikiCode();w.lines=str.split(/\n/);w.parse();return w.html;};var wpSignature=''+wpUserSignature+'';var wpBlockImage=new RegExp('^\\[\\['+wpImageNamespace+':.*?\\|.*?(?:frame|thumbnail|thumb|none|right|left|center)','i');function WikiCode() {this.lines=new Array;this.html=new String;this._endline=function(str) {this.html+=str;this.lines.shift();};this.parse=function()

{var p=false;do{if(h_match=this.lines[0].match(/^(={1,6})(.*)\1(.*)$/)){p=false;this._endline('<h'+h_match[1].length+'>'+_parse_inline_nowiki(h_match[2])+'</h'+h_match[1].length+'>'+h_match[3]);}else if(this.lines[0].match(/^[*#:;]/)){p=false;this._parse_list();}else if(this.lines[0].charAt(0)==' '){p=false;this._parse_pre();}else if(this.lines[0].substr(0,2)=='{|'){p=false;this._parse_table();}else if(this.lines[0].match(/^----+$/)){p=false;this._endline('


');}else if(this.lines[0].match(wpBlockImage)){p=false;this._parse_block_image();}else{if(this.lines[0]==){if(p=(this.lines.length>1&&this.lines[1]==)){this._endline('


');}}else{if(!p){this.html+='

';p=true;}

this.html+=_parse_inline_nowiki(this.lines[0])+' ';}

this.lines.shift();}}while(this.lines.length);};this._parse_list=function(){var prev=new String;var l_match,imatch,dt_match;while(this.lines.length&&(l_match=this.lines[0].match(/^([*#:;]+)(.*)$/))){this.lines.shift();imatch=str_imatch(prev,l_match[1]);for(var i=prev.length-1;i>=imatch;i--){if(prev.charAt(i)=='*'){this.html+='';}else if(prev.charAt(i)=='#'){this.html+=''}else{this.html+='</d'+((prev.charAt(i)==';')?'t':'d')+'>';switch(l_match[1].charAt(i)){case:case'*':case'#':this.html+='';}}} for(var i=imatch;i<l_match[1].length;i++){if(l_match[1].charAt(i)=='*'){this.html+='

';}else if(l_match[1].charAt(i)=='#'){this.html+='
  1. ';}else{switch(prev.charAt(i)){case:case'*':case'#':this.html+='
    ';} this.html+='<d'+((l_match[1].charAt(i)==';')?'t':'d')+'>';}} switch(l_match[1].charAt(l_match[1].length-1)){case'*':case'#':this.html+='
  2. '+_parse_inline_nowiki(l_match[2]);break;case';':if(dt_match=l_match[2].match(/(.*?) (:.*?)$/)){this.html+=_parse_inline_nowiki(dt_match[1]);this.lines.unshift(dt_match[2]);break;} case':':this.html+=_parse_inline_nowiki(l_match[2]);} prev=l_match[1];} for(i=prev.length-1;i>=0;i--){if(prev.charAt(i)=='*'){this.html+='

';}else if(prev.charAt(i)=='#'){this.html+='';}else{this.html+='</d'+((prev.charAt(i)==';')?'t':'d')+'>';}}};this._parse_table=function() {var table_match;if(table_match=this.lines[0].match(/^\{\|( .*)$/)){this._endline('');}else this._endline('');do{if(this.lines[0].charAt(0)=='|'){switch(this.lines[0].charAt(1)){case'}':this._endline('');return;case'-':this._endline('');break;default:this._parse_table_data();}}else if(this.lines[0].charAt(0)=='!'){this._parse_table_data();}else{this.lines.shift();}}while(this.lines.length)};this._parse_table_data=function()

{var td_match,td_line;td_match=this.lines.shift().match(/^(\|\+|\||!)((?:([^[|]*?)\|(?!\|))?(.*))$/);if(td_match[1]=='|+'){this.html+='<caption';}else{this.html+='<t'+((td_match[1]=='|')?'d':'h');} if(typeof td_match[3]!='undefined'){this.html+=' '+td_match[3];td_line=td_match[4].split('||');}else{td_line=td_match[2].split('||');} this.html+='>';while(td_line.length>1){this.lines.unshift(td_match[1]+td_line.pop());} this.html+=_parse_inline_nowiki(td_line[0]);var td=new WikiCode;var table_count=0;while(this.lines.length){if(this.lines[0].charAt(0)=='|'){if(table_count==0)break;else if(this.lines[0].charAt(1)=='}')table_count--;}else if(this.lines[0].charAt(0)=='!'&&table_count==0){break;}else if(this.lines[0].substr(0,2)=='{|')table_count++;td.lines.push(this.lines.shift());} if(td.lines.length){td.parse();} this.html+=td.html;};this._parse_pre=function()

{this.html+='

';do{this._endline(_parse_inline_nowiki(this.lines[0].substring(1,this.lines[0].length))+"\n");}while(this.lines.length&&this.lines[0].charAt(0)==' ');this.html+='

';};this._parse_block_image=function()

{this.html+=_parse_image(this.lines.shift());};};function _parse_image(str) {var attr=str.substring(wpImageNamespace.length+3,str.length-2).split(/\s*\|\s*/);var filename=attr[0];var caption=attr[attr.length-1];var width,w_match;var thumb=false;var frame=false;var center=false;var align=;var html=;do{if(w_match=attr[0].match(/^(\d*)px$/)){width=w_match[1];}else switch(attr[0]){case'thumb':case'thumbnail':thumb=true;case'frame':frame=true;break;case'none':case'right':case'left':center=false;align=attr[0];break;case'center':center=true;align='none';}

attr.shift();}while(attr.length);if(frame){if(align==)align='right';html+="

";if(thumb){if(!width)width=wpDefaultThumbWidth;html+="
";html+=_make_image(filename,caption,width);html+="
<a href='"+wpBaseArticlePath+wpImageNamespace+':'+filename+"' class='internal' title='Enlarge'><img src='"+wpSkinMagnifyClip+"' /></a>
"+_parse_inline_nowiki(caption)+"
";}else{html+='
';html+=_make_image(filename,caption);html+="
"+_parse_inline_nowiki(caption)+"
";} html+='
';}else if(align!=){html+="
"+_make_image(filename,caption,width)+"
";}else{return _make_image(filename,caption,width);} if(center){return"
"+html+'
';}else{return html;}};this._parse_inline_nowiki=function(str)

{var start,lastend=0 var substart=0,nestlev=0,open,close,subloop;var html=;while(-1!=(start=str.indexOf('<'+'nowiki>',substart))){html+=_parse_inline_wiki(str.substring(lastend,start));start+=8;substart=start;subloop=true;do{open=str.indexOf('<'+'nowiki>',substart);close=str.indexOf('</nowiki>',substart);if(close<=open||open==-1){if(close==-1){return html+html_entities(str.substr(start));} substart=close+9;if(nestlev){nestlev--;}else{lastend=substart;html+=html_entities(str.substring(start,lastend-9));subloop=false;}}else{substart=open+8;nestlev++;}}while(subloop);} return html+_parse_inline_wiki(str.substr(lastend));};function _make_image(filename,caption,width) {filename=filename.charAt(0).toUpperCase()+filename.substr(1);filename=filename.replace(/ /g,'_');var md5=hex_md5(filename);var source=md5.charAt(0)+'/'+md5.substr(0,2)+'/'+filename;var img;if(wpShowImages){if(width){width="width='"+width+"px'";} img="<img onerror='this.onerror=null;this.src=\""+wpImageFallbackPath+source+"\";' src='"+wpImageBasePath+source+"' alt='"+caption+"' "+width+"/>";}else{img=wpImageNamespace+':'+filename+" (images disabled)";} caption=_strip_inline_wiki(caption);return"<a class='image' title='"+caption+"' href='"+wpBaseArticlePath+wpImageNamespace+':'+filename+"'>"+img+"</a>";};function _parse_inline_images(str) {var start,substart=0,nestlev=0;var loop,close,open,wiki,html;while(-1!=(start=str.indexOf('[[',substart))){if(str.substr(start+2).match(RegExp('^'+wpImageNamespace+':','i'))){loop=true;substart=start;do{substart+=2;close=str.indexOf(']]',substart);open=str.indexOf('[[',substart);if(close<=open||open==-1){if(close==-1)return str;substart=close;if(nestlev){nestlev--;}else{wiki=str.substring(start,close+2);html=_parse_image(wiki);str=str.replace(wiki,html);substart=start+html.length;loop=false;}}else{substart=open;nestlev++;}}while(loop);}else{break;}} return str;};function _parse_inline_wiki(str) {var aux_match,math_md5;str=_parse_inline_images(str);while(aux_match=str.match(/<(?:)math>(.*?)<\/math>/i)){math_md5=hex_md5(aux_match[1]);str=str.replace(aux_match[0],"<img src='"+wpMathBasePath+math_md5+'.png'+"' />");} return str.replace(/(.*?)(.*?)/g,'$1$2').replace(/(.*?)(.*?)/g,'$1$2').replace(/(.*?)(.*?)/g,'$1$2').replace(/(.*?)/g,'$1').replace(/(.*?)/g,'$1').replace(/~{5}(?!~)/g,Date()).replace(/~{4}(?!~)/g,wpSignature+' '+Date()).replace(/~{3}(?!~)/g,wpSignature).replace(RegExp('\\[\\[:((?:'+wpCategoryNamespace+'|'+wpInterwikiCodes+'):.*?)\\]\\]','gi'),"<a href='"+wpBaseArticlePath+"$1'>$1</a>").replace(RegExp('\\[\\[(?:'+wpCategoryNamespace+'|'+wpInterwikiCodes+'):.*?\\]\\]','gi'),).replace(/\[\[([^|]*?)\]\](\w*)/g,"<a href='"+wpBaseArticlePath+"$1'>$1$2</a>").replace(/\[\[(.*?)\|([^\]]+?)\]\](\w*)/g,"<a href='"+wpBaseArticlePath+"$1'>$2$3</a>").replace(/\[\[([^\]]*?:)?(.*?)( *\(.*?\))?\|\]\]/g,"<a href='"+wpBaseArticlePath+"$1$2$3'>$2</a>").replace(/\[(http|news|ftp|mailto|gopher|irc):(\/*)([^\]]*?) (.*?)\]/g,"<a href='$1:$2$3'>$4</a>").replace(/\[http:\/\/(.*?)\]/g,"<a href='http://$1'>[#]</a>").replace(/\[(news|ftp|mailto|gopher|irc):(\/*)(.*?)\]/g,"<a href='$1:$2$3'>$1:$2$3</a>").replace(/(^| )(http|news|ftp|mailto|gopher|irc):(\/*)([^ $]*)/g,"$1<a href='$2:$3$4'>$2:$3$4</a>").replace(,).replace(,);};function _strip_inline_wiki(str) {return str.replace(/\[\^\*\|(.*?)\]\]/g,'$1').replace(/\[\[(.*?)\]\]/g,'$1').replace(/(.*?)/g,'$1');};function max(a,b) {if(a>b)return a;else return b;};function min(a,b) {if(a<b)return a;else return b;};function str_imatch(str_a,str_b) {var lim=min(str_a.length,str_b.length);for(var i=0;i<lim;i++){if(str_a.charAt(i)!=str_b.charAt(i))return i;} return i;};function strip_cr(str) {return str.replace(/\n\r/g,"\n").replace(/\r/g,);};function html_entities(str) {return str.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");};var chrsz=8;var hex_tab="0123456789abcdef";function hex_md5(s){return binl2hex(core_md5(str2binl(s),s.length*chrsz));};function core_md5(x,len) {x[len>>5]|=0x80<<((len)%32);x[(((len+64)>>>9)<<4)+14]=len;var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;for(var i=0;i<x.length;i+=16) {var olda=a;var oldb=b;var oldc=c;var oldd=d;a=md5_ff(a,b,c,d,x[i+0],7,-680876936);d=md5_ff(d,a,b,c,x[i+1],12,-389564586);c=md5_ff(c,d,a,b,x[i+2],17,606105819);b=md5_ff(b,c,d,a,x[i+3],22,-1044525330);a=md5_ff(a,b,c,d,x[i+4],7,-176418897);d=md5_ff(d,a,b,c,x[i+5],12,1200080426);c=md5_ff(c,d,a,b,x[i+6],17,-1473231341);b=md5_ff(b,c,d,a,x[i+7],22,-45705983);a=md5_ff(a,b,c,d,x[i+8],7,1770035416);d=md5_ff(d,a,b,c,x[i+9],12,-1958414417);c=md5_ff(c,d,a,b,x[i+10],17,-42063);b=md5_ff(b,c,d,a,x[i+11],22,-1990404162);a=md5_ff(a,b,c,d,x[i+12],7,1804603682);d=md5_ff(d,a,b,c,x[i+13],12,-40341101);c=md5_ff(c,d,a,b,x[i+14],17,-1502002290);b=md5_ff(b,c,d,a,x[i+15],22,1236535329);a=md5_gg(a,b,c,d,x[i+1],5,-165796510);d=md5_gg(d,a,b,c,x[i+6],9,-1069501632);c=md5_gg(c,d,a,b,x[i+11],14,643717713);b=md5_gg(b,c,d,a,x[i+0],20,-373897302);a=md5_gg(a,b,c,d,x[i+5],5,-701558691);d=md5_gg(d,a,b,c,x[i+10],9,38016083);c=md5_gg(c,d,a,b,x[i+15],14,-660478335);b=md5_gg(b,c,d,a,x[i+4],20,-405537848);a=md5_gg(a,b,c,d,x[i+9],5,568446438);d=md5_gg(d,a,b,c,x[i+14],9,-1019803690);c=md5_gg(c,d,a,b,x[i+3],14,-187363961);b=md5_gg(b,c,d,a,x[i+8],20,1163531501);a=md5_gg(a,b,c,d,x[i+13],5,-1444681467);d=md5_gg(d,a,b,c,x[i+2],9,-51403784);c=md5_gg(c,d,a,b,x[i+7],14,1735328473);b=md5_gg(b,c,d,a,x[i+12],20,-1926607734);a=md5_hh(a,b,c,d,x[i+5],4,-378558);d=md5_hh(d,a,b,c,x[i+8],11,-2022574463);c=md5_hh(c,d,a,b,x[i+11],16,1839030562);b=md5_hh(b,c,d,a,x[i+14],23,-35309556);a=md5_hh(a,b,c,d,x[i+1],4,-1530992060);d=md5_hh(d,a,b,c,x[i+4],11,1272893353);c=md5_hh(c,d,a,b,x[i+7],16,-155497632);b=md5_hh(b,c,d,a,x[i+10],23,-1094730640);a=md5_hh(a,b,c,d,x[i+13],4,681279174);d=md5_hh(d,a,b,c,x[i+0],11,-358537222);c=md5_hh(c,d,a,b,x[i+3],16,-722521979);b=md5_hh(b,c,d,a,x[i+6],23,76029189);a=md5_hh(a,b,c,d,x[i+9],4,-640364487);d=md5_hh(d,a,b,c,x[i+12],11,-421815835);c=md5_hh(c,d,a,b,x[i+15],16,530742520);b=md5_hh(b,c,d,a,x[i+2],23,-995338651);a=md5_ii(a,b,c,d,x[i+0],6,-198630844);d=md5_ii(d,a,b,c,x[i+7],10,1126891415);c=md5_ii(c,d,a,b,x[i+14],15,-1416354905);b=md5_ii(b,c,d,a,x[i+5],21,-57434055);a=md5_ii(a,b,c,d,x[i+12],6,1700485571);d=md5_ii(d,a,b,c,x[i+3],10,-1894986606);c=md5_ii(c,d,a,b,x[i+10],15,-1051523);b=md5_ii(b,c,d,a,x[i+1],21,-2054922799);a=md5_ii(a,b,c,d,x[i+8],6,1873313359);d=md5_ii(d,a,b,c,x[i+15],10,-30611744);c=md5_ii(c,d,a,b,x[i+6],15,-1560198380);b=md5_ii(b,c,d,a,x[i+13],21,1309151649);a=md5_ii(a,b,c,d,x[i+4],6,-145523070);d=md5_ii(d,a,b,c,x[i+11],10,-1120210379);c=md5_ii(c,d,a,b,x[i+2],15,718787259);b=md5_ii(b,c,d,a,x[i+9],21,-343485551);a=safe_add(a,olda);b=safe_add(b,oldb);c=safe_add(c,oldc);d=safe_add(d,oldd);} return Array(a,b,c,d);};function md5_cmn(q,a,b,x,s,t) {return safe_add(bit_rol(safe_add(safe_add(a,q),safe_add(x,t)),s),b);};function md5_ff(a,b,c,d,x,s,t) {return md5_cmn((b&c)|((~b)&d),a,b,x,s,t);};function md5_gg(a,b,c,d,x,s,t) {return md5_cmn((b&d)|(c&(~d)),a,b,x,s,t);};function md5_hh(a,b,c,d,x,s,t) {return md5_cmn(b^c^d,a,b,x,s,t);};function md5_ii(a,b,c,d,x,s,t) {return md5_cmn(c^(b|(~d)),a,b,x,s,t);};function safe_add(x,y) {var lsw=(x&0xFFFF)+(y&0xFFFF);var msw=(x>>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&0xFFFF);};function bit_rol(num,cnt) {return(num<<cnt)|(num>>>(32-cnt));};function str2binl(str) {var bin=Array();var mask=(1<<chrsz)-1;for(var i=0;i<str.length*chrsz;i+=chrsz) bin[i>>5]|=(str.charCodeAt(i/chrsz)&mask)<<(i%32);return bin;};function binl2hex(binarray) {var str=;for(var i=0;i<binarray.length*4;i++) {str+=hex_tab.charAt((binarray[i>>2]>>((i%4)*8+4))&0xF)+ hex_tab.charAt((binarray[i>>2]>>((i%4)*8))&0xF);} return str;}; // </math>

   </script>
   </head>
 <body                 class="ns-4" onload="LivePreviewInstall()">

<a name="top" id="contentTop"></a>

Previewing MediaWiki syntax

From Wikipedia, the free encyclopedia.

Put Wikitext into the text box below and click Live Preview to get a rough preveiw of how the text will look in Wikipedia. <a href="http://en.wikipedia.org/wiki/User:Pilaf/Live_Preview">more info</a>


<form id="editform" name="editform" method="post" action="/w/index.php?title=Wikipedia:Help_desk&action=submit" enctype="multipart/form-data">

<textarea tabindex='1' accesskey="," name="wpTextbox1" rows='38' cols='110' style="width:100%">


</textarea> </form>

   </body>

</html>