Difference between revisions of "Template:External icons/Xicon"

From Wikispooks
Jump to navigation Jump to search
(Set "#" as an empty value)
 
Line 1: Line 1:
 
<noinclude>[[Category:External Linking Templates]]'''This template is called by [[Template:External icons]]. It makes a single icon with external link and sets the SMW property accordingly.'''<br/>Currently it is mainly used by the parent template (but for the Wikipedia Icon, it is called from the object infobox templates) and always takes all 4 parameters.
 
<noinclude>[[Category:External Linking Templates]]'''This template is called by [[Template:External icons]]. It makes a single icon with external link and sets the SMW property accordingly.'''<br/>Currently it is mainly used by the parent template (but for the Wikipedia Icon, it is called from the object infobox templates) and always takes all 4 parameters.
  
Note that if the URL is just '#' then it does not display a link. Use this as a dummy empty value to prevent a value being set (e.g. by software).</noinclude><includeonly>{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|#|&nbsp;[[{{{2|}}}::{{{1}}}| ]][[image:{{{3|}}}|x32px|link=http://anoniem.org?{{{1}}}|alt={{{4|}}}|{{{4|}}}]]}}}}</includeonly>
+
Note that if the URL is just '#' then it does not display a link. Use this as a dummy empty value to prevent a value being set (e.g. by software).</noinclude><includeonly>{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|#||&nbsp;[[{{{2|}}}::{{{1}}}| ]][[image:{{{3|}}}|x32px|link=http://anoniem.org?{{{1}}}|alt={{{4|}}}|{{{4|}}}]]}}}}</includeonly>

Latest revision as of 08:31, 30 October 2017

This template is called by Template:External icons. It makes a single icon with external link and sets the SMW property accordingly.
Currently it is mainly used by the parent template (but for the Wikipedia Icon, it is called from the object infobox templates) and always takes all 4 parameters.

Note that if the URL is just '#' then it does not display a link. Use this as a dummy empty value to prevent a value being set (e.g. by software).