Template:ILI-R: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(automatic centering of wide images)
m (Protected "Template:ILI-R" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| style="float:left; max-width:120px" cellpadding="0" cellspacing="0"
{| style="float:left; max-width:120px" cellpadding="0" cellspacing="0"
!<div style="position: relative; z-index:3; left:4px; width: 124px; height: 118px; overflow: hidden"><div style="position: absolute; z-index:2; width: 120px; height: 114px; left: 0px; top: 2px; padding: 0;">[[File:ILI-R.png|link={{{2}}}]]</div><div style="position: absolute; left: 0px; top: 2px; width: 110px; height: 110px; overflow: hidden"><div style="position: relative; background:black; z-index:1; width: 322px; left: -101px; top: 2px;">[[{{{1}}}|x110px|center|link=]]</div></div></div>
!<div style="position: relative; z-index:3; left:4px; width: 124px; height: 118px; overflow: hidden"><div style="position: absolute; z-index:2; width: 120px; height: 114px; left: 0px; top: 2px; padding: 0;">[[File:ILI-R.png|link={{{2}}}]]</div><div style="background:black; position: absolute; left: 0px; top: 2px; width: 110px; height: 110px; overflow: hidden"><div style="position: relative; background:black; z-index:1; width: 322px; left: -101px; top: 2px;">[[{{{1}}}|x110px|center|link=]]</div></div></div>
|-
|-
!height="50" valign=top|[[{{{2}}}|<font color=E6C200>{{{2}}}</font>]]
!height="50" valign=top|[[{{{2}}}|<font color=E6C200>{{{2}}}</font>]]

Latest revision as of 21:01, 30 April 2016

ILI-Restricted.png

How to Use This Template:

  1. 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").
  2. Enter the following wikicode: {{ILI-R|Name of the Image File|Name of the Article}}. Thus, in this example, we'll enter the code as {{ILI-R|File:Aaamazzarite.jpg|Aaamazzarite}}.
  3. Verify that you get this image created:
ILI-R.png
Aaamazzarite.jpg
Aaamazzarite

Remember, this particular template is for restricted species of the Intelligent Lifeform Index.

If you have any questions, contact Rich.