Team:EPF-Lausanne/AddPage

From 2012.igem.org

(Difference between revisions)
 
Line 15: Line 15:
   <li>
   <li>
Add a standard page.<br/>
Add a standard page.<br/>
-
Team:EPF-Lausanne/<input type='text' id='pageTitle' value='' /><input type='button' id='pageButton' value='Create' />
+
Team:EPF-Lausanne/<input type='text' id='pageTitleInput' value='' /><input type='button' id='pageButton' value='Create' />
-
<script type='text/javascript'>EPFL.registerNewPageButton("#pageTitle", "#pageButton", "Team:EPF-Lausanne", "Team:EPF-Lausanne/Template/NewPage", EPFL.checkNamingConventions);</script>
+
<script type='text/javascript'>EPFL.registerNewPageButton("#pageTitleInput", "#pageButton", "Team:EPF-Lausanne", "Team:EPF-Lausanne/Template/NewPage", EPFL.checkNamingConventions);</script>
   </li>
   </li>
   <li>
   <li>

Latest revision as of 23:09, 12 September 2012

This page provides some helpers to create new pages (i.e. automatic insertion of the correct templates).

Naming Conventions

To keep the pages easy to find, we'll need to use some naming conventions:

  • The page name should start with a capitalized letter
  • Use CamelCase (that is to say, remove all spaces and put the first character of each word in uppercase, for example: "Fictional titles are nice examples" becomes "FictionalTitlesAreNiceExamples"

Adding a page

  • Add a standard page.
    Team:EPF-Lausanne/
  • Add a protocol.
    Team:EPF-Lausanne/Protocol/
  • Add a notebook entry.
    Go to the notebook tab and click on the correct date.