Difference between revisions of "Team:Waterloo/Example"
(Cleaning up img and file section) |
|||
Line 39: | Line 39: | ||
<section id="references" title="References"> | <section id="references" title="References"> | ||
<h2>References</h2> | <h2>References</h2> | ||
− | This is a minimal example of the cite tag <cite ref="Khelifa2010"></cite>. Good to check if your changes will work <cite ref="Bak2013"></cite>. This sentence is followed by a non-existent cite tag <cite ref="thereisnone"></cite> which just displays "undefined". I don't think that's much of a problem. | + | This is a minimal example of the cite tag <cite ref="Khelifa2010"></cite>. Good to check if your changes will work <cite ref="Bak2013"></cite>. This sentence is followed by a non-existent cite tag <cite ref="thereisnone"></cite> which just displays "undefined". I don't think that's much of a problem. To add a new reference, enter it on <a href="http//2015.igem.org/Template:Waterloo/JS/references |
− | + | ">this page</a>. The references should have the JSON format "FirstauthorlastnameYear" : "textToAddToReferenceList" which you'll be able to see examples of in the file. | |
References will show up in a list at the bottom of the page, like so: | References will show up in a list at the bottom of the page, like so: | ||
<ol id="reflist"> | <ol id="reflist"> | ||
</ol> | </ol> | ||
+ | </section> | ||
+ | |||
+ | <section id="tables" title="Tables"> | ||
+ | <h2>Tables</h2> | ||
+ | <p>Tabular data should be in a table, as below</p> | ||
+ | <table class="table table-bordered"> | ||
+ | <thead> | ||
+ | <tr> | ||
+ | <td>Name</td> | ||
+ | <td>Value</td> | ||
+ | <td>Units</td> | ||
+ | <td>Rationale</td> | ||
+ | </tr> | ||
+ | </thead> | ||
+ | <tbody> | ||
+ | <tr> | ||
+ | <td>beta_1</td> | ||
+ | <td>0.1</td> | ||
+ | <td>min^-1</td> | ||
+ | <td>Found it in a paper.</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>volume</td> | ||
+ | <td>1</td> | ||
+ | <td>mL</td> | ||
+ | <td>Made it up, to be honest.</td> | ||
+ | </tr> | ||
+ | </tbody> | ||
+ | </table> | ||
</section> | </section> | ||
Revision as of 01:37, 13 September 2015
Example page
Copy and past code from this page as a template for the rest of the site
Headers
Title Header
Section Header
Subsection Header
Normal Header
Small Header
Extra Small Header
Text
Paragraph text
linkQuoteQuote author, caption, or citation
Text with class="highlightBox"
Text with class="prevHighlightBox" (reserved for default wiki content that is to be removed)
References
This is a minimal example of the cite tag . Good to check if your changes will work . This sentence is followed by a non-existent cite tag which just displays "undefined". I don't think that's much of a problem. To add a new reference, enter it on this page. The references should have the JSON format "FirstauthorlastnameYear" : "textToAddToReferenceList" which you'll be able to see examples of in the file. References will show up in a list at the bottom of the page, like so:Tables
Tabular data should be in a table, as below
Name | Value | Units | Rationale |
beta_1 | 0.1 | min^-1 | Found it in a paper. |
volume | 1 | mL | Made it up, to be honest. |
Math
MathJax is used to write equations using $.
Inline math
Equation is $a = \frac{p}{q}$.
Block equation
$$\nabla \times \vec B = \mu_0 \left( \vec J + \epsilon_0 \frac{\partial \vec E}{\partial t}\right)$$
Greek
You can either use the regular unicode with &greek_letter; (ex. α = α) inline as if you were using LaTeX with $\greek_letter$ (ex. $alpha$ = $\alpha$).