Template:Translated: Difference between revisions

m Fixed misunderstanding about wikitext
m Fixed position again (I can't test it on preview page;;)
 
Line 1: Line 1:
{{#if:{{{title|}}}|<!-- Title replacement -->{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
{{#if:{{{title|}}}|<!-- Title replacement -->{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
<div style="margin-top: -1.5em; background: white; position: relative; z-index: 100; font-size: 2em;">
<div style="margin-top: -1.7em; background: white; position: relative; z-index: 100; font-size: 2em;">
{{{title}}}<hr style="margin-bottom: 1em;" />
{{{title}}}<hr style="margin-bottom: 1em;" />
</div>|}}<div style="display: flex; justify-content: flex-end; margin: 0;"><div style="background-color: #dff5f4;">Languages: {{#switch: {{lc:{{SUBPAGENAME}}}}
</div>|}}<div style="display: flex; justify-content: flex-end; margin: 0;"><div style="background-color: #dff5f4;">Languages: {{#switch: {{lc:{{SUBPAGENAME}}}}