Difference between revisions of "Template:Icon"

From floramisa designs
Jump to: navigation, search
(switch this to use Module:Icon)
m (1 revision imported: Disambig (again))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:Icon|main}}<noinclude>
+
<onlyinclude>{{#if:{{{1|}}}|<!--
{{documentation}}
+
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
+
--><span style="display: none;">{{#if:{{{tooltip|}}}|{{{tooltip}}}|{{#if:{{{link|}}}|{{{link}}}|{{lc:{{{1}}}}}}}}}</span><!--
</noinclude>
+
 
 +
--><span class="va-icon" title="<!--
 +
 
 +
########### Tooltips ###########
 +
-->{{#if:{{{tooltip|}}}|{{{tooltip}}}|<!--
 +
-->{{#switch:{{lc:{{{1}}}}}<!--
 +
-->|optional=Optional<!--
 +
-->|required=Required<!--
 +
-->|semi-required=Sometimes required or at least one required<!--
 +
-->|#default={{#if:{{abb|{{{1|}}}}}|{{abb|{{{1}}}}}|Unrecognized icon name}}<!--
 +
-->}}<!--
 +
-->}}<!--
 +
 
 +
-->"><!--
 +
-->[[File:<!--
 +
 
 +
########### Images ###########
 +
-->{{#switch:{{lc:{{{1}}}}}<!--
 +
-->|optional=Icon optional.png<!--
 +
-->|required=Icon required.png<!--
 +
-->|semi-required=Icon semi-required.png<!--
 +
-->|#default={{#if:{{abb|mode=icon|{{{1|}}}}}|{{abb|mode=icon|{{{1}}}}}|Icon question.png}}<!--
 +
-->}}<!--
 +
 
 +
-->|{{#switch:{{lc:{{{2|}}}}}|small=x10px|medium|normal=x14px|big=x20px|#default={{{2|x14px}}}}}|{{#if:{{{tooltip|}}}|{{{tooltip}}}|{{#if:{{{link|}}}|{{{link}}}|{{{1}}}}}}}|link={{#if:{{{link|}}}|{{{link}}}}}]]<!--
 +
 
 +
--></span>}}<!--
 +
 
 +
--></onlyinclude>
 +
{{Documentation}}

Latest revision as of 14:54, 2 August 2017

Lua error: Internal error: The interpreter has terminated with signal "127".