Template:Portal subject cell: Difference between revisions

From Semantic Stargate Wiki
No edit summary
No edit summary
 
Line 6: Line 6:
</div><span style="font-size:75%">{{#if:{{{deceased|}}}|<span style="color: silver;">''|}}[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|{{#if:{{{smalltext}}}|{{{smalltext}}}|{{{text}}}}}]]{{#if:{{{deceased|}}}|''</span>|}}{{#if:{{{nonlinksmalltext|}}}|{{{nonlinksmalltext}}}}}</span></div></center>
</div><span style="font-size:75%">{{#if:{{{deceased|}}}|<span style="color: silver;">''|}}[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|{{#if:{{{smalltext}}}|{{{smalltext}}}|{{{text}}}}}]]{{#if:{{{deceased|}}}|''</span>|}}{{#if:{{{nonlinksmalltext|}}}|{{{nonlinksmalltext}}}}}</span></div></center>
|
|
<center><div align="center" style="border: 1px gray solid; padding: 5px; margin: 5px; width: 150px; background-color: white;">
<center><div align="center" style="border: 1px gray solid; padding: 5px; margin: 5px; width: 180px; background-color: white;">
<div style="position: relative; height: {{#if:{{{format|}}}|112px|85px}}; overflow: hidden;">
<div style="position: relative; height: {{#if:{{{format|}}}|134px|102px}}; overflow: hidden;">
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 85px; width: 156px; overflow: hidden; line-height: {{#if:{{{format|}}}|112px|85px}}; z-index: 3; link-hover: none">[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 102px; width: 186px; overflow: hidden; line-height: {{#if:{{{format|}}}|134px|102px}}; z-index: 3; link-hover: none">[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div  style="position: absolute; top: 0px; left: 0px; z-index: 2;{{#if:{{{deceased|}}}|filter:alpha(opacity=50);-moz-opacity:.50;|}}">[[File:{{#if:{{{image|}}}|{{{image}}}|Blank.jpg}}|{{{link}}}|150px]]</div>
<div  style="position: absolute; top: 0px; left: 0px; z-index: 2;{{#if:{{{deceased|}}}|filter:alpha(opacity=50);-moz-opacity:.50;|}}">[[File:{{#if:{{{image|}}}|{{{image}}}|Blank.jpg}}|{{{link}}}|180px]]</div>
</div>
</div>
<div style="position: relative; width: 100%; text-align: center;">
<div style="position: relative; width: 100%; text-align: center;">

Latest revision as of 23:15, 26 February 2016

[[{{{link}}}|      ]]
{{{link}}}


 

[[{{{link}}}|{{{text}}}]]
Documentation icon Template documentation

Usage

This template builts images with links for the Portal pages.

Syntax

{{Template:Portal subject cell|size=|image=|link=|lines=|text=|format=|smalltext=|nonlinktext=|deceased=}}

{