Difference between revisions of "Template:Bird id"

From Pathfinder Wiki
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{{level}}}
 
| 1 = ={{{name}}}=
 
| 2 = =={{{name}}}==
 
| 3 = ==={{{name}}}===
 
| 4 = ===={{{name}}}====
 
| 5 = ====={{{name}}}=====
 
| 6 = ======{{{name}}}======
 
}}
 
 
{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:100%;" border="1" cellpadding="2"
 
{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:100%;" border="1" cellpadding="2"
 
|- style="text-align:center;"
 
|- style="text-align:center;"
! colspan="2" style="background: pink;"|'''{{{latin_name}}} ({{{name}}})'''
+
! colspan="2" style="background: pink;"|'''[[w:{{{latin_name}}}|{{{latin_name}}}]] ({{{name}}})'''
 
|-
 
|-
 
|
 
|
Line 25: Line 17:
 
|colspan="2" style="text-align:left;"|{{#if:{{{call|}}}|<div style="border: 1px solid #AAAAAA; float:left; padding: 5px; margin-right: 10px;">[[Image:Nuvola apps kmix.png|center|35px]]<br>[[Media:{{{call|}}}|Bird call]]</div>{{{description}}}|{{{description}}}}}
 
|colspan="2" style="text-align:left;"|{{#if:{{{call|}}}|<div style="border: 1px solid #AAAAAA; float:left; padding: 5px; margin-right: 10px;">[[Image:Nuvola apps kmix.png|center|35px]]<br>[[Media:{{{call|}}}|Bird call]]</div>{{{description}}}|{{{description}}}}}
 
|}
 
|}
 
+
<includeonly>[[Category:Field Guide/Birds]]</includeonly>
 
<noinclude>
 
<noinclude>
 
{{-}}
 
{{-}}
Line 63: Line 55:
 
   description      = (bottom text)
 
   description      = (bottom text)
 
</pre>
 
</pre>
</noinclude>
+
{{clear}}

Latest revision as of 11:58, 27 July 2022

[[w:{{{latin_name}}}|{{{latin_name}}}]] ({{{name}}})
Description
{{{description}}}




Notes: 1) 'image width' defaults to 300px and affects all images selected.
          Any optional value given must end with 'px'. 
       2) Pipe shown below signifies the default value if the (optional) 
          parameter is left undefined.
       3) Parenthesised clarifications are not part of the parameter name.
       
       
  latin_name       = (top panel display)
  name (common)    =
  level            = Inserts a header before the table - a header is N equal signs
                     surrounding ''name''. That is, if level = 3, header will be
                     === {{{name}}} ===
                     If level is omitted, no header is included.

  image_width|300px= (affects all four possible image panels)
  Note: The definition of the image parameter acts as a switch to turn on
  handling logic for that image. 

  image 1          =
  caption 1        =

  range map        =
  range note|Range =

  image 2          =
  caption 2        =
 
  image 3          =
  caption 3        = 

  call             = (Audio link--> "[[Media:{{{call}}} ]]
  description      = (bottom text)