Difference between revisions of "Template:Team:Groningen/BETA/HELP/Content"

(Content)
Line 78: Line 78:
 
<div class="object formula" id="for1">
 
<div class="object formula" id="for1">
 
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$
 
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$
 +
</div>
 +
</pre>
 +
 +
====Listing====
 +
<pre>
 +
<div class="listing">
 +
<div class="item">Item 1.</div>
 +
<div class="item">Item 2.</div>
 
</div>
 
</div>
 
</pre>
 
</pre>

Revision as of 20:47, 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 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