Team:Groningen/Templates/BasicWikiFAQ

From 2013.igem.org

(Difference between revisions)
Line 63: Line 63:
<h4>Adding a page or advanced calendar entry</h4>
<h4>Adding a page or advanced calendar entry</h4>
When adding a larger page a new page has to be created but first follow step 1 and 2 of the previous method.
When adding a larger page a new page has to be created but first follow step 1 and 2 of the previous method.
 +
Or if the new page is not a calendar entry, then replace step 1 with going to:
 +
https://2013.igem.org/Team:Groningen/Navigation/<pre style="color: red">myPage</pre>
 +
 +
And replace mypage with the name of the page you want to add.
3: Now in the location where you previously added the context you now add a link towards the new page.
3: Now in the location where you previously added the context you now add a link towards the new page.
Line 73: Line 77:
</nowiki>
</nowiki>
</pre>
</pre>
 +
4: Press save page, now you will see an almost empty page with only a grey text saying:
 +
'''Team:Groningen/Navigation/TeamActivity'''
 +
5: Click the grey link and you will be redirected to a fresh empty page. Anything that you will write here will end up on the original page.
 +
6: Again do not forget to save both pages.

Revision as of 14:23, 26 July 2013

Adding pages

There are two main ways of adding a page. The first is the most simple method where the context is directly added to the page itself. This if mostly used for very small pages (calendar entries). The second method is used for larger pages or pages with more advanced layouts. The reasoning for this it so keep the pages as readable as possible.

Adding a Calendar entry simple method.

1: First step is to simply select a data on the correct calender. Click on the date where you want to add an entry. You will see an empty page.

2: Now you have to insert the default page layout. Copy paste this code

<html>

<head>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" charset="utf-8" /> 
<link rel="stylesheet" href="https://2013.igem.org/Team:Groningen/CSS/DefaultPage?action=raw&ctype=text/css" type="text/css" />
</head>
<body>


</html> {{:Team:Groningen/Templates/DefaultHeader}}<html>

<div class="colmask threecol">

<span class="navigation">
    </html>{{:Team:Groningen/Templates/Navigationbar}}<html> 
</span>

<span class="widgets">
    </html>{{:Team:Groningen/Templates/facebook}}<html>
</span>

<div class="mainContent">

</div>


</div>

</html> {{:Team:Groningen/Templates/DefaultFooter}}<html>

</body>
</html>

3: Now find this part of the code:

 
<div class="mainContent">

</div>

This is the place where you can write your entry. And thus it should result into:

 
<div class="mainContent">
 We had great fun in the lab!
</div>

4: Do not forget to press save page!

Adding a page or advanced calendar entry

When adding a larger page a new page has to be created but first follow step 1 and 2 of the previous method. Or if the new page is not a calendar entry, then replace step 1 with going to:

https://2013.igem.org/Team:Groningen/Navigation/
myPage

And replace mypage with the name of the page you want to add.

3: Now in the location where you previously added the context you now add a link towards the new page. For example if you are creating a new page about our team activity then you add:

 
<div class="mainContent">
    </html>{{:Team:Groningen/Navigation/TeamActivity}}<html>
</div>

4: Press save page, now you will see an almost empty page with only a grey text saying: Team:Groningen/Navigation/TeamActivity 5: Click the grey link and you will be redirected to a fresh empty page. Anything that you will write here will end up on the original page. 6: Again do not forget to save both pages.