Difference between revisions of "Template:Cell biology/doc"
Jump to navigation
Jump to search
imported>Sowlos (→Usage: Parameter update) |
imported>Sowlos (Updated and visuaization added to ease development) |
||
| Line 6: | Line 6: | ||
#Setting a value for any of the cell or organelle attributes will make its diagram visible | #Setting a value for any of the cell or organelle attributes will make its diagram visible | ||
#Any number and combination of diagram attributes may be set | #Any number and combination of diagram attributes may be set | ||
| + | #When multiple diagrams are activated, the title is suppressed | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{infobox cell biology | {{infobox cell biology | ||
| Line 20: | Line 21: | ||
</pre> | </pre> | ||
<!-- |background color = [any valid CSS color] <--Should this be reintroduced? --> | <!-- |background color = [any valid CSS color] <--Should this be reintroduced? --> | ||
| + | |||
| + | == Example == | ||
| + | <div style="float:right; height:30em; overflow: auto;"> | ||
| + | {{infobox cell biology | ||
| + | |celltypes = yes | ||
| + | |animalcell = yes | ||
| + | |plantcell = yes | ||
| + | |nucleus = yes | ||
| + | |golgi = yes | ||
| + | |centrosome = yes | ||
| + | |mitochondrion = yes | ||
| + | |chloroplast = yes | ||
| + | }} | ||
| + | </div> | ||
| + | An example of the template with all diagrams activated. | ||
| + | *Note: title bars are currently disabled in this view. | ||
== See also == | == See also == | ||
Revision as of 00:33, 16 August 2013
| 40px | This is a documentation subpage for Template:Cell biology. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- All fields are optional
- Setting a value for any of the cell or organelle attributes will make its diagram visible
- Any number and combination of diagram attributes may be set
- When multiple diagrams are activated, the title is suppressed
{{infobox cell biology
|celltypes = yes <!-- Display a diagram comparing a eukaryote to a prokaryote. -->
|animalcell = yes <!-- Diagram of an animal cell and its constituent organelles. -->
|plantcell = yes <!-- Diagram of a plant cell and its constituent organelles. -->
|nucleus = yes <!-- Diagram of a nucleus and its constituent parts. -->
|ribosome = <!-- Not yet implemented. -->
|golgi = yes <!-- Diagram of a Golgi complex. -->
|centrosome = yes <!-- Diagram of a centrosome. -->
|mitochondrion = yes <!-- Diagram of a mitochondrion. -->
|chloroplast = yes <!-- Diagram of a chloroplast. -->
}}
Example
An example of the template with all diagrams activated.
- Note: title bars are currently disabled in this view.