Team:Paris Liliane Bettencourt/Box

From 2010.igem.org

Revision as of 11:45, 8 September 2010 by Theotime (Talk | contribs)

from old template...

How to create a new page ?

  1. Put a link on an existing page, or use search fonction. And click on.
  2. Copy/past this template
  3. Modify as you want


{{Template:Paris2010}}

==Here title of the page==


<p style="display:block;">Here some text</p>


{{Template:Paris2010_menu_right}}

Don't forget to use :

<p style="display:block"></p>

to add text, if image or other are between two parts of text, you must consider your two parts like two different blocks and use two balises "p".
Also, use :

<br />

to add a vertical space, ENTER stroke doesn't work here.

Add a resizable image

  1. Put a link of this image with File:Name of image
  2. Upload image and remove link
  3. Add this template instead

<html>
<div align="center">
<a href="https://2010.igem.org/Image:Name_of_image.jpg" onMouseOut="initial()" onMouseOver="i_change()" >
<img src="https://static.igem.org/mediawiki/2010/thumb/c/cd/nameofimage....jpg" border="0" name="image" />
</a></div>
<script language="JavaScript">
var i_width=515;
var i_height=385;
document.image.width = Math.round(i_width/coeff);
document.image.height = Math.round(i_height/coeff);
</script>
</html>

don't forget, to change :

  • var i_width=515;
  • var i_height=385;

The size of your image, it's the size max.
Warning! a bug that I haven't fix yet, allow you to only use this code one time in the page.

Links

from old template...