Template:Specialization link/view: Difference between revisions

From Against the Storm Official Wiki
m (adding back in case for huge as fallback even though it doesn't work for these icons)
m (cleaning up some whitespace)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
   |<!-- then skip icon -->
   |<!-- then skip icon -->
   |<!-- else do icon -->
   |<!-- else do icon -->
     [[File:{{{iconfilename|question_mark.png}}} |  
     [[File:{{{iconfilename|question_mark.png}}} | {{#switch:{{{iconsize|small}}} |medium={{ImgM}} |large={{ImgL}} |huge={{ImgL}} |<!--default small-->{{ImgS}} }} |link={{{name|Specialization}}} |{{{name|}}} ]]
      {{#switch:{{{iconsize|small}}}  
        |medium={{ImgM}}
        |large={{ImgL}}
        |huge={{ImgH}}
        |<!--default small--> {{ImgS}} }}
      |link={{{name|Specialization}}}  
      |{{{name|}}}
    ]]
}}{{#ifeq: {{{display|}}} | notext
}}{{#ifeq: {{{display|}}} | notext
   |<!-- then skip text part -->  
   |<!-- then skip text part -->  
   |<!-- else do text part -->{{#ifeq:{{{iconsize|}}}|none|<!--skip space-->|&nbsp;}}[[{{{name|Specialization}}} |{{{name|}}} {{#if:{{{type|}}}|({{{type|}}})|}}]]
   |<!-- else do text part -->{{#ifeq:{{{iconsize|}}}|none|<!--skip space-->|&nbsp;}}[[{{{name|Specialization}}} |{{{name|}}}{{#if:{{{type|}}}|&nbsp;({{{type|}}})|}}]]
}}</span></includeonly><noinclude>
}}</span></includeonly><noinclude>


 
{{Reserved template warning}}
{{Specialization link/view|iconfilename=Icon_Spec_Fire_64x64.png|iconsize=small|name=Warmth}}
 
 
{{Specialization link/view|iconfilename=Icon_Spec_Fire_64x64.png|iconsize=medium|name=Warmth|type=Comfort}}
 
 
{{Specialization link/view|iconfilename=Icon_Spec_Fire_64x64.png|iconsize=large|name=Name|type=Type}}
 
 
{{Specialization link/view|iconsize=none|name=Masonry|type=Proficiency}}
 
 
{{Specialization link/view|iconfilename=Icon_Spec_Fire_64x64.png|iconsize=medium|name=Name|type=Type|display=notext}}
 


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

Latest revision as of 22:12, 8 November 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.