Template:Species link/view: Difference between revisions

From Against the Storm Official Wiki
m (finally might be done tweaking the whitespace in this thing)
(Adding examples, cleaning up the commenting)
Line 1: Line 1:
<includeonly><span class="ats-link-species nowrap">{{#ifeq: {{{size|}}} | none  
<span class="ats-link-species nowrap">{{#ifeq: {{{size|}}} | none  
| <!--skip icon-->  
|<!--then skip icon-->
|<!--do icon -->[[File:{{{iconfilename|question_mark.png}}} | {{#switch: {{{size|small}}}  
|<!--else do icon -->[[File:{{{iconfilename|question_mark.png}}} | {{#switch: {{{size|small}}}  
| medium={{ImgM}}  
|<!--case--> medium={{ImgM}}  
| large={{ImgL}}  
|<!--case--> large={{ImgL}}  
| huge={{ImgH}}  
|<!--case--> huge={{ImgH}}  
|<!--else-->{{ImgS}} }} | link={{{name|Species}}} | {{{name|Species}}}]]}} {{#ifeq: {{{display|}}} | notext  
|<!--default-->{{ImgS}} }} | link={{{name|Species}}} | {{{name|Species}}}]]}} {{#ifeq: {{{display|}}} | notext  
| <!--skip text-->  
|<!--then skip text-->
|<!--do text -->[[{{{name|Species}}}]]}}</span></includeonly><noinclude>
|<!--else do text -->[[{{{name|Species}}}]]}}</span><noinclude>


<!-- DO NOT change whitespace and newlines in the above template code, or it will output inappropriately. I've done the best that is possible with parserfunctions to create readable code, but there are some functions and markup that must start on the same line where the functions and markup before them end. -->
<!-- DO NOT change whitespace and newlines in the above template code, or it will output inappropriately. I've done the best that is possible with parserfunctions to create readable code, but there are some functions and markup that must start on the same line where the functions and markup before them end. -->


{{Template:Reserved_template_warning}}
{{Template:Reserved_template_warning}}
== Examples ==
<pre>{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans}}</pre>
{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans}}
<pre>{{Species_link/view|size=none|name=Humans}}</pre>
{{Species_link/view|size=none|name=Humans}}
<pre>{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans|display=notext}}</pre>
{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans|display=notext}}
{|class=wikitable
| <pre>{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans}}</pre>
| {{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans}}
|-
| <pre>{{Species_link/view|size=none|name=Humans}}</pre>
| {{Species_link/view|size=none|name=Humans}}
|-
| <pre>{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans|display=notext}}</pre>
| {{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans|display=notext}}
|}


[[Category: Reserved templates]]
[[Category: Reserved templates]]
</noinclude>
</noinclude>

Revision as of 14:47, 14 October 2024

Species Species


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|size=medium|name=Humans}}

Humans Humans

{{Species_link/view|size=none|name=Humans}}

Humans

{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans|display=notext}}

Humans

{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans}}
Humans Humans
{{Species_link/view|size=none|name=Humans}}
Humans
{{Species_link/view|iconfilename=human_temp.png|size=medium|name=Humans|display=notext}}
Humans