Template:Character cell page: Difference between revisions
(Created page with "<center> {{#ifeq: {{{size}}} | small | <!-- <center> --><div align="center" style="border: 1px gray solid; padding: 2px; margin: 2px; width: 60px; background-color: white;">...") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
<div style="position: relative; height: 92px; overflow: hidden;"> | <div style="position: relative; height: 92px; overflow: hidden;"> | ||
<div align="center" style="position: absolute; top: 0px; left: 0px; font-size: 95px; width: 75px; overflow: hidden; line-height: 90px; 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: 95px; width: 75px; overflow: hidden; line-height: 90px; 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; | <div style="position: absolute; top: 0px; left: 0px; z-index: 2;">[[File:{{{image}}}|link=|75px]]</div></div> | ||
<div style="position: relative; width: 100%; text-align: center;"> | <div style="position: relative; width: 100%; text-align: center;"> | ||
{{#switch: {{{lines|2}}} | {{#switch: {{{lines|2}}} | ||
Line 20: | Line 20: | ||
| 7 = <br> <br> <br> <br> <br> <br> | | 7 = <br> <br> <br> <br> <br> <br> | ||
| #default =<br> <br> }} | | #default =<br> <br> }} | ||
<div style="position: absolute; top: 0px; left: 0px; width: 100%; text-align: center;">[[{{{link}}}|{{{text}}}]]</div></div></div><!-- </center> --> | <div style="position: absolute; top: 0px; left: 0px; width: 100%; text-align: center;">[[{{{link}}}|{{{text}}}]]{{#if:{{{unlinkedtext|}}}|{{{unlinkedtext}}}}}</div></div></div><!-- </center> --> | ||
}}</center><noinclude>{{Documentation}}</noinclude> | }}</center><noinclude>{{Documentation}}</noinclude> |