Team:BioscienceDragons AZ/Help

From 2013hs.igem.org

(Difference between revisions)
Line 41: Line 41:
   
   
-
The first line starts the '''Infobox''' template.
+
The first line starts the ''Infobox'' template.
-
''| title = '' means that you are passing it the title of the infobox.
+
<pre>
 +
{{Infobox
 +
</pre>
-
''| main = '' is the content you want in the infobox, this can include other standards Wiki code, like the image.
+
The second line passed the title to the template
 +
 
 +
<pre>
 +
| title =  
 +
</pre>
 +
 
 +
The third line passes the main content to the template. Note that you can include other Wiki code, like the image.
 +
 
 +
<pre>
 +
| main = [[File:Haoze.jpg|thumb|none|Woah]] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fringilla leo ultricies, lacinia lorem sed, sagittis lacus. Nullam tempor ultrices ligula, id posuere sapien lobortis vel. Suspendisse velit ante, pulvinar nec odio quis, eleifend rutrum arcu. Fusce in arcu non nunc vehicula lacinia. Quisque non leo facilisis, bibendum urna a, ultrices diam. Ut eu tristique ante. Nulla facilisi.
 +
</pre>
 +
 
 +
Finally, close the opening curly brackets so Wiki knows you're done!
 +
 
 +
<pre>
 +
}}
 +
</pre>
==How to remove the Table of Contents==
==How to remove the Table of Contents==

Revision as of 06:02, 12 June 2013

Home of testing
Woah
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fringilla leo ultricies, lacinia lorem sed, sagittis lacus. Nullam tempor ultrices ligula, id posuere sapien lobortis vel. Suspendisse velit ante, pulvinar nec odio quis, eleifend rutrum arcu. Fusce in arcu non nunc vehicula lacinia. Quisque non leo facilisis, bibendum urna a, ultrices diam. Ut eu tristique ante. Nulla facilisi.
Home of testing
We love to cook!

How To Make an Infobox

To make the first side box, I used the following code...

{{Infobox
| title = Home of testing
| main = [[File:Haoze.jpg|thumb|none|Woah]] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fringilla leo ultricies, lacinia lorem sed, sagittis lacus. Nullam tempor ultrices ligula, id posuere sapien lobortis vel. Suspendisse velit ante, pulvinar nec odio quis, eleifend rutrum arcu. Fusce in arcu non nunc vehicula lacinia. Quisque non leo facilisis, bibendum urna a, ultrices diam. Ut eu tristique ante. Nulla facilisi.
}}


The first line starts the Infobox template.

{{Infobox

The second line passed the title to the template

| title = 

The third line passes the main content to the template. Note that you can include other Wiki code, like the image.

| main = [[File:Haoze.jpg|thumb|none|Woah]] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam fringilla leo ultricies, lacinia lorem sed, sagittis lacus. Nullam tempor ultrices ligula, id posuere sapien lobortis vel. Suspendisse velit ante, pulvinar nec odio quis, eleifend rutrum arcu. Fusce in arcu non nunc vehicula lacinia. Quisque non leo facilisis, bibendum urna a, ultrices diam. Ut eu tristique ante. Nulla facilisi.

Finally, close the opening curly brackets so Wiki knows you're done!

}}

How to remove the Table of Contents

To remove the table of contents, add the following line to the top of the page

__NOTOC__