Jump to content

Template:Birdbox: Difference between revisions

From Pyrrwiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly><div class="infobox">
| bodystyle = width: 300px;
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
| title = <span style="font-size: 150%;">{{{Name<noinclude>|Bird Species</noinclude>}}}</span>
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
| image = {{#if:{{{Image<noinclude>|NoImage.png</noinclude>}}} | [[File:{{{Image<noinclude>|NoImage.png</noinclude>}}}|frameless|280px]]}}
<table class="infobox-table">{{#if:{{{sciname|}}}|<tr>
| caption = A photo of the {{{Name<noinclude>|Bird Species</noinclude>}}}
    <th>Scientific Name</th>
| label1 = Latin Name
    <td>{{{sciname}}}</td>
| data1 = ''{{{Latin Name<noinclude>|Genus species</noinclude>}}}''
</tr>}}{{#if:{{{year|}}}|<tr>
| label2 = Year First Seen
    <th>Year First Seen</th>
| data2 = {{{Year First Seen<noinclude>|Unknown</noinclude>}}}
    <td>{{{year}}}</td>
| label3 = Locations Seen
</tr>}}{{#if:{{{locations|}}}|<tr>
| data3 = {{{List of locations seen<noinclude>|No locations specified.</noinclude>}}}
    <th>Locations Seen</th>
}}</includeonly><noinclude>
    <td>{{{locations}}}</td>
</tr>}}</table>
</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.



Revision as of 15:21, 29 June 2025

This infobox template is designed for displaying information about a species of bird.

Usage

To use this template, copy and paste the following code into your wiki page and fill in the parameters:

{{Birdbox
| Name = 
| Latin Name = 
| Year First Seen = 
| Image = 
| List of locations seen = 
}}

Parameters

  • Name: The common name of the bird species.
  • Latin Name: The scientific (Latin) name of the bird species.
  • Year First Seen: The year the bird species was first documented or observed.
  • Image: The filename of an image of the bird (e.g., `ExampleBird.jpg`). Do not include `File:` or `[[File:]]`.
  • List of locations seen: A list of locations where the bird species has been observed.