Team:Paris Liliane Bettencourt/Box

From 2010.igem.org

(Difference between revisions)
m
Line 40: Line 40:
=== Title 3 ===
=== Title 3 ===
===== Title 4 ====
===== Title 4 ====
-
[[interne link|name displayed on the wiki]]
+
[[intern link|name displayed on the wiki]]
[http://xxx/|Name of your extern link displayed on the wiki]
[http://xxx/|Name of your extern link displayed on the wiki]

Revision as of 12:01, 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.
And some other useful tools :

[[Image:Name_of_image]]     -> insert an image (you click "save page" and then you click
                               on this link to up your image
*, #                        -> add a list, "*" to use disc, '#' to use number.

= Title 1 =
== Title 2 ==
=== Title 3 ===
===== Title 4 ====
[[intern link|name displayed on the wiki]]
[http://xxx/|Name of your extern link displayed on the wiki]

<font color=red>Text</font>     > to change the color of a text.
<b>Text</b>, '''Text'''        -> Bold
<i>Text</i>, ''Text''          -> Italic
<u>Text</u>                    -> Underline
<s>Text</s>                    -> striked
<hr />                         -> horizontal line

SPACE stroke                                       -> use a citation box
<div align="left|right|center">your element</div   -> use one of the align



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