Template:Portal subject cell: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#ifeq: {{{size}}} | small | |
{{#ifeq: {{{size}}} | small | |
||
<center><div align="center" style="border: 1px gray solid; padding: 2px; margin: 2px; width: 100px "> |
<center><div align="center" style="border: 1px gray solid; padding: 2px; margin: 2px; width: 100px; background-color: white;"> |
||
<div style="position: relative; height: {{#if:{{{format|}}}|75px|56px}}; overflow: hidden;"> |
<div style="position: relative; height: {{#if:{{{format|}}}|75px|56px}}; overflow: hidden;"> |
||
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 100px; width: 100px; overflow: hidden; line-height: {{#if:{{{format|}}}|75px|56px}}; z-index: 3; link-hover: none">[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}| ]]</div> |
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 100px; width: 100px; overflow: hidden; line-height: {{#if:{{{format|}}}|75px|56px}}; z-index: 3; link-hover: none">[[{{#if:{{{catlink|}}}|{{#ifeq:{{NAMESPACE}}|Category|{{{catlink|}}}|{{{link}}}}}|{{{link}}}}}| ]]</div> |
||
| 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;"> |
<center><div align="center" style="border: 1px gray solid; padding: 5px; margin: 5px; width: 150px; background-color: white;"> |
||
<div style="position: relative; height: {{#if:{{{format|}}}|112px|85px}}; overflow: hidden;"> |
<div style="position: relative; height: {{#if:{{{format|}}}|112px|85px}}; 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}}}}}| ]]</div> |
<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}}}}}| ]]</div> |
||
Revision as of 16:49, 6 February 2016
[[{{{link}}}|{{{text}}}]]
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=}}
{