Difference between revisions of "Team:Waterloo/Example"

(Added example of citation code to References section)
m
Line 10: Line 10:
 
     <section id="headers" title="Headers">
 
     <section id="headers" title="Headers">
 
         <h2>Headers</h2>
 
         <h2>Headers</h2>
         <h1>Title Header</h1>
+
         <dl>
 +
            <dt>Title Header</dt>
 +
            <dd>
 +
                <code>
 +
                    &lt;h1&gt;Title Header&lt;/h1&gt;
 +
                </code>
 +
            </dd>
 +
        </dl>
 
         <h2>Section Header</h2>
 
         <h2>Section Header</h2>
 
         <h3>Subsection Header</h3>
 
         <h3>Subsection Header</h3>
Line 80: Line 87:
 
         <h2>Tables</h2>
 
         <h2>Tables</h2>
 
         <p>Tabular data should be in a table, as below</p>
 
         <p>Tabular data should be in a table, as below</p>
       
+
 
 
         <div class="table-responsive">
 
         <div class="table-responsive">
 
         <table class="table table-condensed">
 
         <table class="table table-condensed">

Revision as of 18:10, 3 October 2015

Example page

Copy and past code from this page as a template for the rest of the site

Headers

Title Header
<h1>Title Header</h1>

Section Header

Subsection Header

Normal Header

Small Header
Extra Small Header

Text

Paragraph text

link

Text of the quote

Quote 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 . Citations can be added with this: <cite ref="Khelifa2010"></cite>. 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. This sentence is to confirm that referencing the same thing twice doesn't repeat the reference in the list . 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. &alpha; = α) inline as if you were using LaTeX with $\greek_letter$ (ex. $alpha$ = $\alpha$).

Images & Files

Example Image
Example caption
i

Colour Scheme

  • Green (#92cc78) rgb(146, 204, 120)
  • Blue (#79bcc7) rgb(121, 188, 199)
  • Orange (#fbb67a) rgb(251, 182, 122)
  • Charcoal (#373b40) rgb(55, 59, 64)
  • Teal (#23b593) rgb(35, 181, 147)
Top