Template:Species link/view: Difference between revisions
From Against the Storm Official Wiki
m (swapping spaces for nbsp) |
m (swapping spaces for nbsp) |
||
Line 3: | Line 3: | ||
| <!-- else do icon -->[[File:{{{iconfilename|question_mark.png}}} | {{#switch:{{{size|small}}} |medium={{ImgM}}|large={{ImgL}}|huge={{ImgH}}|{{ImgS}} }} | | <!-- else do icon -->[[File:{{{iconfilename|question_mark.png}}} | {{#switch:{{{size|small}}} |medium={{ImgM}}|large={{ImgL}}|huge={{ImgH}}|{{ImgS}} }} | ||
|link={{{name|Species}}} |{{{name|Species}}}]] | |link={{{name|Species}}} |{{{name|Species}}}]] | ||
}} | }}{{#ifeq: {{{1|}}} | notext | ||
| <!-- then skip text part --> | | <!-- then skip text part --> | ||
| <!-- else do text part -->[[{{{name|Species}}}]]}}</span></includeonly><noinclude> | | <!-- else do text part --> [[{{{name|Species}}}]]}}</span></includeonly><noinclude> | ||
This template formats a link to a species given an icon filename, icon size, and name of the species. It does no lookups or validation, so use cautiously or use [[Template:Species_link]]. | This template formats a link to a species given an icon filename, icon size, and name of the species. It does no lookups or validation, so use cautiously or use [[Template:Species_link]]. |
Revision as of 02:24, 8 October 2024
This template formats a link to a species given an icon filename, icon size, and name of the species. It does no lookups or validation, so use cautiously or use Template:Species_link.
Example
{{Species|name=Human|iconfilename=Human_temp.png|size=medium}}