Jump to content

Template:Birdbox: Difference between revisions

From Pyrrwiki
No edit summary
No edit summary
Line 4: Line 4:
{{#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:{{{year|}}}|<tr>
<div class="infobox-table">
     <th>Year First Seen</th>
{{#if:{{{year|}}}
    <td>{{{year}}}</td>
     |<span>Year First Seen</span><span>{{{year}}}</span>}}
</tr>}}{{#if:{{{locations|}}}|<tr>
{{#if:{{{locations|}}}
     <th>Locations Seen</th>
     |<span>Locations Seen</span>
     <td>{{{locations}}}</td>
     <span>{{{locations}}}</span>}}
</tr>}}</table>
</div>
</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.

Revision as of 15:41, 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.