Template:Portal subject cell: Difference between revisions
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: | <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|}}}| | <div style="position: relative; height: {{#if:{{{format|}}}|134px|102px}}; overflow: hidden;"> | ||
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: | <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}}}}}| ]]</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}}}| | <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}}}|{{{text}}}]]
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=}}
{