Template:Birdbox: Difference between revisions

No edit summary
Undo revision 101 by Matt (talk)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="infobox">
<includeonly><div class="infobox mobile">
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
{{#if:{{{sciname}}} | <div class="infobox-subtitle">{{{sciname}}}</div> |}}
{{#if:{{{sciname}}} | <div class="infobox-subtitle">{{{sciname}}}</div> |}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}}
<table class="infobox-table">{{#if:{{{sciname|}}}|<tr>
<div class="infobox-table">{{#if:{{{year|}}}|<span>Year First Seen</span><span>{{{year}}}</span>}}{{#if:{{{locations|}}}|<span>Locations Seen</span><span>{{{locations}}}</span>}}</div>
    <th>Scientific Name</th>
    <td>{{{sciname}}}</td>
</tr>}}{{#if:{{{year|}}}|<tr>
    <th>Year First Seen</th>
    <td>{{{year}}}</td>
</tr>}}{{#if:{{{locations|}}}|<tr>
    <th>Locations Seen</th>
    <td>{{{locations}}}</td>
</tr>}}</table>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
This infobox template is designed for displaying information about a species of bird.
This infobox template is designed for displaying information about a species of bird.