Template:Species link/view: Difference between revisions
From Against the Storm Official Wiki
(more space between examples) |
(updating view template parameter size to iconsize) |
||
Line 1: | Line 1: | ||
<span class="ats-link-species nowrap">{{#ifeq: {{{ | <span class="ats-link-species nowrap">{{#ifeq: {{{iconsize|}}} | none | ||
|<!--then skip icon--> | |<!--then skip icon--> | ||
|<!--else do icon -->[[File:{{{iconfilename|question_mark.png}}} | {{#switch: {{{ | |<!--else do icon -->[[File:{{{iconfilename|question_mark.png}}} | {{#switch: {{{iconsize|small}}} | ||
|<!--case--> medium={{ImgM}} | |<!--case--> medium={{ImgM}} | ||
|<!--case--> large={{ImgL}} | |<!--case--> large={{ImgL}} | ||
Line 15: | Line 15: | ||
== Examples == | == Examples == | ||
<pre>{{Species_link/view|iconfilename=human_temp.png| | <pre>{{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans}}</pre> | ||
{{Species_link/view|iconfilename=human_temp.png| | {{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans}} | ||
<pre>{{Species_link/view| | <pre>{{Species_link/view|iconsize=none|name=Humans}}</pre> | ||
{{Species_link/view| | {{Species_link/view|iconsize=none|name=Humans}} | ||
<pre>{{Species_link/view|iconfilename=human_temp.png| | <pre>{{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans|display=notext}}</pre> | ||
{{Species_link/view|iconfilename=human_temp.png| | {{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans|display=notext}} | ||
{|class=wikitable | {|class=wikitable | ||
| <pre>{{Species_link/view|iconfilename=human_temp.png| | | <pre>{{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans}}</pre> | ||
| {{Species_link/view|iconfilename=human_temp.png| | | {{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans}} | ||
|- | |- | ||
| <pre>{{Species_link/view| | | <pre>{{Species_link/view|iconsize=none|name=Humans}}</pre> | ||
| {{Species_link/view| | | {{Species_link/view|iconsize=none|name=Humans}} | ||
|- | |- | ||
| <pre>{{Species_link/view|iconfilename=human_temp.png| | | <pre>{{Species_link/view|iconfilename=human_temp.png|iconsize=large|name=Humans|display=notext}}</pre> | ||
| {{Species_link/view|iconfilename=human_temp.png| | | {{Species_link/view|iconfilename=human_temp.png|iconsize=large|name=Humans|display=notext}} | ||
|} | |} | ||
[[Category: Reserved templates]] | [[Category: Reserved templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 02:35, 15 October 2024
Templates in the Reserved templates subcategory are NOT intended to be used directly by article authors.
These templates are reserved for special pages, meta pages, and automated by Lua modules.
Please reach out to the wiki community for alternatives before you use these templates on your pages.
Examples
{{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans}}
{{Species_link/view|iconsize=none|name=Humans}}
{{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans|display=notext}}
{{Species_link/view|iconfilename=human_temp.png|iconsize=medium|name=Humans}} |
Humans |
{{Species_link/view|iconsize=none|name=Humans}} |
Humans |
{{Species_link/view|iconfilename=human_temp.png|iconsize=large|name=Humans|display=notext}} |