Team:Paris Liliane Bettencourt/Box
From 2010.igem.org
(Difference between revisions)
m |
|||
Line 29: | Line 29: | ||
<pre><br /></pre> | <pre><br /></pre> | ||
<p style="display:block;">to add a vertical space, ENTER stroke doesn't work here. | <p style="display:block;">to add a vertical space, ENTER stroke doesn't work here. | ||
+ | <br /> | ||
+ | And some other useful tools :</p> | ||
+ | <pre> | ||
+ | [[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 ==== | ||
+ | [[interne 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 | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | <p style="display:block;"> | ||
<br /> | <br /> | ||
<br /> | <br /> |
Revision as of 12:01, 8 September 2010
from old template...
How to create a new page ?
- Put a link on an existing page, or use search fonction. And click on.
- Copy/past this template
- 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 ==== [[interne 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
- Put a link of this image with File:Name of image
- Upload image and remove link
- 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
- http://meta.wikimedia.org/wiki/Aide:%C3%89diteur (fr)
- http://meta.wikimedia.org/wiki/Help:Editor (en)
- https://2009.igem.org/Team:Paris
from old template...