Template:ILI-TBD: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(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="background:#99CCFF; width: 120px; height:60px"|[[{{{2}}}]]
{| 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-TBD.png|{{{2}}}|link={{{2}}}]]</div><center>[[{{{1}}}|100px]]</center></div>
|-
|-
! style="background:#99CCFF; width:120px; height:120px"|[[{{{1}}}|100x100px|border|{{{2}}}|link={{{2}}}]]
![[{{{2}}}|<font color=#66CCFF>{{{2}}}</font>]]
|}</includeonly><noinclude>This template takes an image for a species whose status is '''to be determined''' and adds a '''blue''' 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 species whose status is '''to be determined''' and adds a '''blue''' 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="#F5FAFF" style="border:1px solid #CEDFF2; padding:1em; padding-top:0.5em; padding-bottom:0em; color: black;"|
|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 Megans. Find the name of the image you want to use (in this case, "File:Megans.jpg") and the name of the article for the species (in this case "Megan").
#Let's say you want to create a gallery picture for the Megans. Find the name of the image you want to use (in this case, "File:Megans.jpg") and the name of the article for the species (in this case "Megan").

Revision as of 01:47, 23 February 2014

This template takes an image for a species whose status is to be determined and adds a blue 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:

  1. Let's say you want to create a gallery picture for the Megans. Find the name of the image you want to use (in this case, "File:Megans.jpg") and the name of the article for the species (in this case "Megan").
  2. Enter the following wikicode: {{ILI-TBD|Name of the Image File|Name of the Article}}. Thus, in this example, we'll enter the code as {{ILI-TBD|File:Megans.jpg|Megan}}.
  3. Verify that you get this image created:
Megan
Megans.jpg
Megan

Remember, this particular template is for species whose status is to be determined in the Intelligent Lifeform Index.

If you have any questions, contact Rich.