TemplatesforTeams Code Documentation

Page Title

Please note that all information on this page is in a draft version.
Please check back often for details.

Creating a new wiki page

Creating a new wiki page is very easy. Simply type the name of the page in your url bar. Be sure to create every page inside your team's name space.

https://2015.igem.org/Team:Example/ProjectResults

The line creates a page in the 2015 iGEM server, under the Team Example namespace with the page name "ProjectResults".

To apply the template to your page, use the following code:

		{{TeamTemplateA}}
		<html>	

				**************Your html content will be placed here *******************

		</div></div>
		</html>
  1. Call the template you wish to apply to the page - in this case we are calling TeamTemplateA.
  2. Open an < html > tag- this tells the page that the code in between tags will be html.
  3. This is where you will write the content for your page.
  4. Close the < div > tags - In the template, #contentContainer and #mainContainer were created, this marks where they end.
  5. Close the < html > tag - this is the end of the page.


The menu for wiki exists inside your team's template. You can add more menu items and submenus items and link them to other pages.

Adding menu items

Go to the #menuContainer and add < li > item to your < ul > list.

<a href=" link "><li>MENU ITEM 1</li></a>

Your menu list should look like this

		<div id="menuContainer">
			 <ul>
				<a href=" link "><li> MENU ITEM 1</li></a>

				<a href=" link "><li> MENU ITEM 2</li></a>

			 </ul>
		 </div>
Adding submenu items

To create submenu items you will need to create a list inside an existing list item.

		<div id="menuContainer">
			 <ul>
				<a href="#"><li> MENU ITEM 1</a>
            				<ul>
						<a href=" link "><li> SUBMENU ITEM 1</li></a>
						<a href=" link "><li> SUBMENU ITEM 2</li></a> 
             				</ul>
				</li>
			 </ul>
		 </div>

Make sure you close the < li > tag after the sublist.

Note: Are you using template C?

The process is the same, however you will need to edit the width of the menu buttons, to do simply change the following: