Template:ILI-R: Difference between revisions

no edit summary
(set max width)
No edit summary
Line 1: Line 1:
<includeonly>{| style="float:left; margin:0.46em 0.2em;" cellpadding="1" cellspacing="0"
<includeonly>{| style="float:left; margin:0.46em 0.2em;" cellpadding="1" cellspacing="0"
! style="background:#FFFF66; width: 120px; height:60px"|[[{{{2}}}]]
! style="background:#FFFFCC; width: 120px; height:60px"|[[{{{2}}}]]
|-
|-
! style="background:#FFFF66; width:120px; height:120px"|[[{{{1}}}|100x100px|border|{{{2}}}|link={{{2}}}]]
! style="background:#FFFFCC; width:120px; height:120px"|[[{{{1}}}|100x100px|border|{{{2}}}|link={{{2}}}]]
|}</includeonly><noinclude>This template takes an image for a '''restricted''' species and adds a '''yellow''' border around it so that it can be displayed in a similar fashion as a gallery image '''''with the added benefit that the image now links directly to the species and not to the image itself!'''''<br><br>Normally, you could link an image directly by using the link= parameter [http://www.mediawiki.org/wiki/Help:Images as explained here], but the gallery format of the SB118 wiki currently does not support this feature.
|}</includeonly><noinclude>This template takes an image for a '''restricted''' species and adds a '''yellow''' border around it so that it can be displayed in a similar fashion as a gallery image '''''with the added benefit that the image now links directly to the species and not to the image itself!'''''<br><br>Normally, you could link an image directly by using the link= parameter [http://www.mediawiki.org/wiki/Help:Images as explained here], but the gallery format of the SB118 wiki currently does not support this feature.
{| cellspacing="3"  
{| cellspacing="3"