Difference between revisions of "Template:Team:Groningen/BETA/HELP/Content"
(→Listing) |
|||
Line 21: | Line 21: | ||
* goal | * goal | ||
* description | * description | ||
+ | |||
+ | for refering and citing we use the following divs, do not write table, figure or formula, this is done automaticly. | ||
+ | |||
+ | <pre> | ||
+ | <a href="#tbl1" class="ref tbl">1</a> | ||
+ | <a href="#tbl1" class="ref fig">1</a> | ||
+ | <a href="#tbl1" class="ref for">1</a> | ||
+ | |||
+ | <a href="#ajfigueredo1" class="cite">1</a> | ||
+ | </pre> | ||
For all objects, you have to give a name if you want to refer to it. these objects are the following. plase the id in the tag of the object div. | For all objects, you have to give a name if you want to refer to it. these objects are the following. plase the id in the tag of the object div. | ||
Line 82: | Line 92: | ||
====Listing==== | ====Listing==== | ||
− | |||
<pre> | <pre> | ||
<div class="listing"> | <div class="listing"> | ||
Line 89: | Line 98: | ||
</div> | </div> | ||
</pre> | </pre> | ||
+ | |||
====Ensure Changes at Refresh==== | ====Ensure Changes at Refresh==== |
Revision as of 21:01, 5 August 2015
<div class="title">Misa title</div> <div class="subtitle">Misa subtitle</div>
When writing a text block use the div class text ^^.
<div class="text">I am text</div>
For the following cases you must not add a title, but you have to add it to the class of the div.
<div class="text conclusion">example</div>
- conclusion
- introduction
- abstract
- goal
- description
for refering and citing we use the following divs, do not write table, figure or formula, this is done automaticly.
<a href="#tbl1" class="ref tbl">1</a> <a href="#tbl1" class="ref fig">1</a> <a href="#tbl1" class="ref for">1</a> <a href="#ajfigueredo1" class="cite">1</a>
For all objects, you have to give a name if you want to refer to it. these objects are the following. plase the id in the tag of the object div.
- formula
- figure
- table
Tables
- D lets make tables, first make the basic outline for the table. it is best if you first type the title headings of you table and decide the widths of you columns then copy your title and replace header with record and yes.
<div class="object data" id="tbl1"> <div class="wrapper"> <div class="header"> <div class="field fw3">Lobortis</div> <div class="field fw3">Vitae Elementum</div> <div class="field fw7">Morbi ac Nulla</div> </div> <div class="record"> <div class="field fw3">32.0</div> <div class="field fw3">IEE234B</div> <div class="field fw7">Vivamus at malesuada ipsum. Maecenas vitae ornare libero</div> </div> </div> <div class="caption">My caption here *D</div> </div>
Figures
{{Template:Team:Groningen/TEMPLATES/OBJECT/FIGURE |type=small |imgversion=/f/f3 |image=example |caption=bla bla and more bla yes. }}
for the imageversion argument you have to pick the parts between brackets of the full link.
https://static.igem.org/mediawiki/2015(/f/f3)/Igem.groningen.2015.figure.small.example.png
Formulas
For inline formulas just use latex.
\(x = {-b \pm \sqrt{b^2-4ac} \over 2a}\
for not inline, use this yes below.
<div class="object formula" id="for1"> $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$ </div>
Listing
<div class="listing"> <div class="item">Item 1.</div> <div class="item">Item 2.</div> </div>
Ensure Changes at Refresh
It is best if you want to check you changes to type the public url like
https://2015.igem.org/Team:Groningen/Notebook?action=purge