Difference between revisions of "Template:Species id"

From Pathfinder Wiki
(remove translate tags)
Line 1: Line 1:
{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:100%;" border="1" cellpadding="2"
+
<includeonly><templatestyles src="Species id/style.css" /><div id="speciesID-container" class="mw-parser-output">
|- style="text-align:center;"
+
<div class="images-container">
! colspan="2" style="background: {{#if:{{{color|}}}|{{{color}}}|lightyellow}};"|'''[[w:{{{latin_name}}}|{{{latin_name}}}]] ({{{common_name}}})'''
+
{{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|300px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{Latin_name|}}}</div></small>}}
|- style="text-align:center;"
+
</div>
|
+
<div class="content-container">
 +
<h3>[[w:{{{latin_name}}}|{{{latin_name}}}]] ({{{common_name}}})</h3>
 
{{#if:{{{order|}}}|<br><div style="text-align:left">'''Order:''' {{{order}}}</div>}}
 
{{#if:{{{order|}}}|<br><div style="text-align:left">'''Order:''' {{{order}}}</div>}}
 
{{#if:{{{range|}}}|<br><div style="text-align:left">'''Where found:''' {{{range}}}</div>}}
 
{{#if:{{{range|}}}|<br><div style="text-align:left">'''Where found:''' {{{range}}}</div>}}
Line 10: Line 11:
 
{{#if:{{{diet|}}}|<br><div style="text-align:left">'''Diet:''' {{{diet}}}</div>}}
 
{{#if:{{{diet|}}}|<br><div style="text-align:left">'''Diet:''' {{{diet}}}</div>}}
 
{{#if:{{{reproduction|}}}|<br><div style="text-align:left">'''Reproduction:''' {{{reproduction}}}</div>}}
 
{{#if:{{{reproduction|}}}|<br><div style="text-align:left">'''Reproduction:''' {{{reproduction}}}</div>}}
|
+
</div>
{{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|300px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{Latin_name|}}}</div></small>}}
+
</div></includeonly><noinclude>[[Category:Infobox templates|{{PAGENAME}}]]
|}<noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
+
Example:
 +
{{Species id
 +
| latin_name = Anax junius
 +
| common_name = Green Darner
 +
| order = Odonata
 +
| image = Green Darner.jpg
 +
| range = North America
 +
| description = is one of the biggest and fastest-flying dragonflies, able to reach speeds of 85 km/h (55 mph). This species has several nicknames, including "Darning Needle" for its speed, "Mosquito Hawk" for its predatory habits, and "Lord of June" for its abundance during the summer season. It is also Washington State's state insect.
 +
}}</noinclude>
 
{{clear}}
 
{{clear}}

Revision as of 23:03, 25 February 2021

Example:

Page Template:Species id/style.css has no content.

Green Darner.jpg

Anax junius (Green Darner)


Order: Odonata

Where found: North America

Description: is one of the biggest and fastest-flying dragonflies, able to reach speeds of 85 km/h (55 mph). This species has several nicknames, including "Darning Needle" for its speed, "Mosquito Hawk" for its predatory habits, and "Lord of June" for its abundance during the summer season. It is also Washington State's state insect.