Template:Species link

This template is used like this:

This template calls  in Module:SpeciesLink to make icons and short wiki links to a Species's page. The icon can be small, huge, or in between. The small icon is sized appropriately to fit well into in-line text.

This template standardizes the display of icons and Speciessthroughout the wiki and simplifies the amount of writing that is necessary when adding new content pages.

A shortcut template also exists, to make writing a page with many Species links a little easier.

Usage
Use the name of the species name as it appears in the game. (The background code performs some normalization, but only to catch small mistakes in spacing or apostrophes.)

Giving the template a Species name will result in a text-sized icon and a link to the wiki page for that Species. This is useful in-line with text in paragraphs, where Species icons can still be recognized.

Telling the template what size to make the icon allows the icon to be larger and more distinguishable. This is useful when creating tables where a larger Species icon increases recognition. IF the Species is not known to the data modules behind the scenes, an error will appear.

The default is a small icon, for use in-line with text. You can also use,  ,  , or write   explicitly, to describe the desired size of the icon, as you can see below.

Here are ways to call the template and the expected result:

Examples
The following are generated by calling the template, as shown in the examples in the table above.

1.  yields:

2.  yields:

3.  yields:

4.  yields:

The following are error messages generated by calling the template incorrectly.

5. With no arguments,  yields:



6. With the name of something that doesn't exist in the game,  yields:



7. With no Species but an icon size,  yields:



Finally, providing an icon size that is not recognized does not break the template.

8. With a valid Species but invalid icon size,  yields: