User:Jonese/sandbox: Difference between revisions

From Feminist SF Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
[[User:Jonese/sandbox/Template:test]]
[[User:Jonese/sandbox/Template:test]]


[http://en.wikipedia.org/wiki/Help:Template Info on creating templates]


{{User:Jonese/sandbox/Template:test}}
{{User:Jonese/sandbox/Template:test}}


I thought that the style sheets for the site were supposed to be [[MediaWiki:Monobook.css|here]] or [[MediaWiki:Common.css|here]]
Here is the infobox style from wikipedia
<pre>
/* Infobox template style */
.infobox {
  border: 1px solid #aaaaaa;
  background-color: #f9f9f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
}
.infobox td,
.infobox th {
  vertical-align: top;
}
.infobox caption {
  font-size: larger;
  margin-left: inherit;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}
.infobox.sisterproject {
  width: 20em;
  font-size: 90%;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaaaaa;
}
</pre>


This is some testing of an infobox (based on the template from wikipedia)
This is some testing of an infobox (based on the template from wikipedia)
[[User:Jonese/sandbox/Template:Infobox Book]]
[[User:Jonese/sandbox/Template:Infobox Book]]
{{User:Jonese/sandbox/Template:Infobox Book
| name          =  Test Name
| author        =  Test Author
| publisher    =  Test Publisher
| release_date  =  Now
}}

Latest revision as of 16:28, 24 June 2006

This is some testing User:Jonese/sandbox/Template:test

Info on creating templates

Hi, I am a test template

I thought that the style sheets for the site were supposed to be here or here

Here is the infobox style from wikipedia


 /* Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
 }
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

 .infobox.sisterproject {
   width: 20em;
   font-size: 90%; 
 }

 /* styles for bordered infobox with merged rows */
 .infobox.bordered .mergedtoprow td,
 .infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa;
 }

 .infobox.bordered .mergedrow td,
 .infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaaaaa;
 }

This is some testing of an infobox (based on the template from wikipedia) User:Jonese/sandbox/Template:Infobox Book

Test Name
AuthorTest Author
PublisherTest Publisher
ReleasedNow