Team:Paris Liliane Bettencourt/Box

From 2010.igem.org

(Difference between revisions)
m
Line 2: Line 2:
==How to create a new page ?==
==How to create a new page ?==
-
 
+
<p style="display:block;">
# Put a link on an existing page, or use search fonction. And click on.
# Put a link on an existing page, or use search fonction. And click on.
# Copy/past this template
# Copy/past this template
# Modify as you want
# Modify as you want
 +
</p>
<pre>
<pre>
Line 20: Line 21:
</pre>
</pre>
 +
 +
<p style="display:block;">
 +
Don't forget to use :</p>
 +
<pre><p style="display:block"></p></pre>
 +
<p style="display:block;">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".<br />
 +
Also, use :</p>
 +
<pre><br /></pre>
 +
<p style="display:block;">to add a vertical space, ENTER stroke doesn't work here.
 +
 +
<br />
 +
<br />
 +
</p>
==Add a resizable image==
==Add a resizable image==
Line 48: Line 61:
*var i_height=<font color=red>385</font>;
*var i_height=<font color=red>385</font>;
-
<p style="display:block;"> The size of your image, it's the size max.</p>
+
<p style="display:block;"> The size of your image, it's the size max.
 +
<br /><font color="orange">'''Warning! a bug that I haven't fix yet, allow you to only use this code one time in the page.'''</font>
 +
 
 +
<br />
 +
<br />
 +
</p>
==Links==
==Links==

Revision as of 11:45, 8 September 2010

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...