Template:Portal subject cell: Difference between revisions

From Marvel Cinematic Universe Wiki
Content deleted Content added
Created page with "{{#ifeq: {{{size}}} | small | <center><div align="center" style="border: 1px gray solid; padding: 2px; margin: 2px; width: 100px; background-color: #222;"> <div style="positi..."
 
mNo edit summary
Line 8: Line 8:
<center><div align="center" style="border: 1px gray solid; padding: 5px; margin: 5px; width: 180px; background-color: #222;">
<center><div align="center" style="border: 1px gray solid; padding: 5px; margin: 5px; width: 180px; background-color: #222;">
<div style="position: relative; height: {{#if:{{{format|}}}|134px|102px}}; 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: 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 align="center" style="position: absolute; top: 0px; left: 0px; font-size: {{#if:{{{format|}}}|134px|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}}}|180px]]</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>

Revision as of 10:39, 7 February 2018

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


 

[[{{{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=}}

{