Team:Evry/wiki-guidelines

From 2014.igem.org

(Difference between revisions)
(Created page with "{{:Team:Evry/template_hide}} <html> <div id="mainTextcontainer"> <b>In order to keep our wiki clean please follow these guidelines when writing HTML code</b> <h1> How create ...")
 
(28 intermediate revisions not shown)
Line 1: Line 1:
-
{{:Team:Evry/template_hide}}
+
{{:Team:Evry/head}}
-
 
+
<html>
<html>
 +
 +
<div id="maincontainer_evry2013">
<div id="mainTextcontainer">
<div id="mainTextcontainer">
-
<b>In order to keep our wiki clean please follow these guidelines when writing HTML code</b>
+
<br/><br/>
 +
<b>In order to keep our wiki clean please follow these guidelines when writing HTML code</b><br/>
-
<h1> How create a new page </h1>
+
<h1> How create a new NOTEBOOK page </h1>
-
Open a new page with the name of url choosen, then click on onglet <i>create</i> in the top
+
Open a new page with the name of url choosen, URL are as follows:<br/><br/>
 +
 
 +
<em>https://2014.igem.org/Team:Evry/Notebook/project_name/weekN</em>
 +
<br/><br/>
 +
 
 +
For project_name and week number see below.
<h1> HTML tag and template </h1>
<h1> HTML tag and template </h1>
Line 16: Line 23:
<pre>
<pre>
-
{{:Team:Evry/template_classic}}
 
-
 
&lt;html>
&lt;html>
 +
&lt;head>
 +
&lt;/head>
 +
&lt;body>
-
&lt;div id="mainTextcontainer">
+
&lt;div class="week">
 +
  &lt;h4>Week 1&lt;/h4>
 +
  &lt;div class="project_Name">
-
your page goes here
+
&lt;p>
-
&lt;/div>
+
HERE HERE
-
&lt;/div>
+
-
&lt;/html>
+
-
{{:Team:Evry/foot}}
+
&lt;/p>
 +
  &lt;/div>
 +
  &lt;/div>
 +
&lt;/body>
 +
&lt;/html>
</pre>
</pre>
 +
<br/>
 +
 +
<b>DO NOT FORGET TO:</b>
 +
<ul>
 +
<li>Change the week number</li>
 +
<li>Change the project name</li>
 +
</ul><br/>
 +
 +
<em>Project's names are:</em>
 +
<ul>
 +
<li>RNAseq</li>  <a href="https://2014.igem.org/Team:Evry/Notebook/RNAseq/">https://2014.igem.org/Team:Evry/Notebook/RNAseq/</a>
 +
<li>Transformation</li>  <a href="https://2014.igem.org/Team:Evry/Notebook/Transformation/">https://2014.igem.org/Team:Evry/Notebook/Transformation/</a>
 +
<li>Sensing</li>  <a href="https://2014.igem.org/Team:Evry/Notebook/Sensing/">https://2014.igem.org/Team:Evry/Notebook/Sensing/</a>
 +
<li>Interlab study</li>  <a href="https://2014.igem.org/Team:Evry/Notebook/Interlabstudy/">https://2014.igem.org/Team:Evry/Notebook/Interlabstudy/</a>
 +
 +
<li>Cell Characterization</li>  <a href="https://2014.igem.org/Team:Evry/Notebook/CellCharacterization">https://2014.igem.org/Team:Evry/Notebook/CellCharacterization</a>
 +
</ul><br/>
 +
 +
 +
<em>Week numbering is the following (from monday to sunday):</em><br/>
 +
<ul>
 +
<li>week1 -> 01/07 - 06/07</li>
 +
<li>week2 -> 07/07 - 13/07</li>
 +
<li>week3 -> 14/07 - 20/07</li>
 +
<li>week4 -> 21/07 - 27/07</li>
 +
<li>week5 -> 28/07 - 03/08</li>
 +
<li>week6 -> 04/08 - 10/08</li>
 +
<li>week7 -> 11/08 - 17/08</li>
 +
<li>week8 -> 18/08 - 24/08</li>
 +
<li>week9 -> 25/08 - 31/08</li>
 +
<li>week10 -> 01/09 - 07/09</li>
 +
<li>week11 -> 08/09 - 14/09</li>
 +
<li>week12 -> 15/09 - 21/09</li>
 +
<li>week13 -> 22/09 - 28/09</li>
 +
<li>week14 -> 29/09 - 05/10</li>
 +
<li>week15 -> 06/10 - 12/10</li>
 +
<li>week16 -> 13/10 - 19/10  <em>17/10 WIKI-FREEZE</em></li>
 +
</ul>
 +
 +
<br/>
 +
You should end up with a page like: <a href="https://2014.igem.org/Team:Evry/test2">this page</a>
<h1> Titles </h1>
<h1> Titles </h1>
Line 205: Line 258:
<ol>
<ol>
-
<li>Upload the image file using this page:<a href="https://2013.igem.org/Special:Upload">here</a></li>
+
<li>Upload the image file using this page:<a href="https://2014.igem.org/Special:Upload">here</a></li>
<li>Use the img tag
<li>Use the img tag
</ol>
</ol>

Latest revision as of 16:47, 18 August 2014

Sponge Patrol project



In order to keep our wiki clean please follow these guidelines when writing HTML code

How create a new NOTEBOOK page

Open a new page with the name of url choosen, URL are as follows:

https://2014.igem.org/Team:Evry/Notebook/project_name/weekN

For project_name and week number see below.

HTML tag and template

First of all, specify the template and put the html tag around your document:
<html>
<head>
</head>
<body>

<div class="week">
  <h4>Week 1</h4>
  <div class="project_Name">

<p>

 HERE HERE

</p>

  </div>
  </div>
</body>
</html>

DO NOT FORGET TO:
  • Change the week number
  • Change the project name

Project's names are:
Week numbering is the following (from monday to sunday):
  • week1 -> 01/07 - 06/07
  • week2 -> 07/07 - 13/07
  • week3 -> 14/07 - 20/07
  • week4 -> 21/07 - 27/07
  • week5 -> 28/07 - 03/08
  • week6 -> 04/08 - 10/08
  • week7 -> 11/08 - 17/08
  • week8 -> 18/08 - 24/08
  • week9 -> 25/08 - 31/08
  • week10 -> 01/09 - 07/09
  • week11 -> 08/09 - 14/09
  • week12 -> 15/09 - 21/09
  • week13 -> 22/09 - 28/09
  • week14 -> 29/09 - 05/10
  • week15 -> 06/10 - 12/10
  • week16 -> 13/10 - 19/10 17/10 WIKI-FREEZE

You should end up with a page like: this page

Titles

To put a title use the h1,h2,h3 tags:
<h1> put your title here </h1>

Examples

h1 title

h2 title

h3 title

New line

If you want to end the current line use the br tag:
<br/>

Example

line1
line2

Alignment

To left, center or right alignment

Left is default value

Center

<div align="center">Here the text</div>

Right

<div align="right">Here the text</div>

Justify

<div align="justify">Here the text</div>

Example

Left text (it's a marxist text)
I'm a center text
Right, i'm a right text
I'm justify my work with this justify text

Bold/Italic/Underline

Use the i tag to put your text in italic:
<i>text in italic</i>
Use the b tag to put your text in bold:
<b>text in bold</b>
Use the u tag to underline your text :
<u>text undelined</u>

Example

coucou <- italic
coucou <- bold
coucou <- underlined

Lists

Dotted

Use the ul to create a list and the li tag to add an item:
<ul>
<li> item 1 
<li> item 2 
..
</ul>

Example

  • item 1
  • item 2
  • ..

Numbered

Use the ol to create a list and the li tag to add an item:
<ol>
<li> item 1 
<li> item 2 
..
</ol>

Example

  1. item 1
  2. item 2
  3. ..

Arrays

  1. Use the table tag to create an array;
  2. Inside the table tag use the tr tag to create a line;
  3. Inside the tr tag use the td tag to create a new cell.
<table>
<tr>
  <td>cell1</td>
  <td>cell2</td>
  ...
</tr>
<tr>
...
</tr>
...
</table>

Example

tata toto
titi tutu

Borders

To add border to an array use the attribute border="1":
<table border="1">
...
</table>

Example

tata toto
titi tutu

Links

To add a link use the a tag:
<a href="url to link">link name</a>

Example

Go checkout our wiki.

Images

The two steps to add an image are:
  1. Upload the image file using this page:here
  2. Use the img tag
<img src="localisation of the image" alt="text to print if image not found" />

Examples

  • Url of the image: https://static.igem.org/mediawiki/2013/c/c9/IronMinion.jpg
  • The image:
Iron minion

Image avec légende

Pour ajouter une image avec une légende, utilisez le code suivant :

<div class="center">
 <div class="thumb tnone">
  <div class="thumbinner" style="width:502px;">
   <a href="URL IMAGE" class="image">
    <img alt="IMAGE" src="URL IMAGE" width="500px;" class="thumbimage"/>
   </a>
   <div class="thumbcaption">
    <div class="magnify">
     <a href="URL IMAGE" class="internal" title="Enlarge">
      <img src="/wiki/skins/common/images/magnify-clip.png" width="15" height="11" alt="Symbol"/>
     </a>
    </div>
    <center>Figure X: LEGEND HERE</center>
   </div>
  </div>
 </div>
</div>
Remarques :
  • La première div peut être changée pour aligner l'image à l'endroit souhaité.
  • Ajouter +2 à la taille du cadre par rapport à celle de l'image (ici cadre=502px/image=500px)
  • Le lien "/wiki/skins..." correspond au symbole d'agrandissement à droite de la légende.

Examples

Figure 1: Iron Minion.

Image avec légende et texte aligné (code plus propre)

  <div class="captionedPicture" style="width:30%;float:left;">
   <a title="Nom Lien" href="URL image">
    <img alt="Nom Lien" src="URL image" class="Picture"/>
   </a>
   <div class="caption">
     <b>Figure 1:</b> Légende ici.
   </div>
  </div>
  <p style="padding-top:1%;">Texte aligné par rapport à l'image </p>
  <div style="clear: both;"></div>
  <p>Texte après l'image</p>

Détails du code

Ce qui est en gras doit absolument être modifié en fonction de votre lien.

Pour ce qui est en orange:
  1. width: 30% : changer le pourcentage pour moduler la taille du cadre, l'image s'adapte toute seul à la nouvelle taille
  2. float: left : modifier par right pour que l'image soit à droite
  3. La dernière ligne permet d'éviter les débordements, le texte suivant sera sous l'image. Tant que vous n'avez pas mis cette ligne, toutes les balises p que vous utiliserez seront à droite de l'image jusqu'à la limite de place disponible.

Examples

Iron minion
Figure 1: Iron minion à la rescousse.

Les minions c'est trop trop trop trop mignon.

J'aime les licornes et leurs jolis cornes
Elles ont un pelage semblable aux nuages
Elles sont très gentils avec leurs amies
Même si elles pratiquent la sodomie