Template:ILI-R: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| style="float:left; | <includeonly> | ||
{| style="float:left; max-width:120px" cellpadding="0" cellspacing="0" | |||
|style="background:black"| | |||
<div style="position: relative; width: 120px; height: 114px; overflow: hidden"><div style="position: absolute; left: 0px; top: 0px; padding: 0;">[[File:ILI-R.png|{{{2}}}|link={{{2}}}]]</div><center>[[{{{1}}}|100px]]</center></div> | |||
|- | |- | ||
! | ![[{{{2}}}|<font color=#FFD700>{{{2}}}</font>]] | ||
|}</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" | ||
|- valign="top" | |- valign="top" | ||
|bgcolor="# | |bgcolor="#fff" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"| | ||
'''How to Use This Template:'''<br> | '''How to Use This Template:'''<br> | ||
#Let's say you want to create a gallery picture for the Aaamazzarites. Find the name of the image you want to use (in this case, "File:Aaamazzarite.jpg") and the name of the article for the species (in this case "Aaamazzarite"). | #Let's say you want to create a gallery picture for the Aaamazzarites. Find the name of the image you want to use (in this case, "File:Aaamazzarite.jpg") and the name of the article for the species (in this case "Aaamazzarite"). |
Revision as of 01:44, 23 February 2014
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!
Normally, you could link an image directly by using the link= parameter as explained here, but the gallery format of the SB118 wiki currently does not support this feature.
How to Use This Template:
|
Remember, this particular template is for restricted species of the Intelligent Lifeform Index.
- For permitted species, use the Template:ILI-P template.
- For forbidden species, use the Template:ILI-F template.
- For species whose status is to be determined, use the Template:ILI-TBD template.
If you have any questions, contact Rich.