Template:Title: Difference between revisions

From Elwiki
mNo edit summary
(Undo revision 871824 by Bluhen (talk))
Tag: Undo
Line 155: Line 155:
{{#vardefine:obtain|{{{obtain{{#var:key|}}|}}}}}
{{#vardefine:obtain|{{{obtain{{#var:key|}}|}}}}}
{{#vardefine:effects|{{{effects{{#var:key|}}|}}}}}
{{#vardefine:effects|{{{effects{{#var:key|}}|}}}}}
{{#vardefine:caption|<div class="caption">{{#if:{{#var:desc}}|{{#var:desc}}|Unknown}}</div>}}<!--
{{#vardefine:caption|<div class="caption">{{#if:{{#var:desc}}|{{#ifeq:{{#var:desc|none||{{#var:desc}}}}|Unknown}}</div>}}<!--


-->{{#if:{{#var:value|}}
-->{{#if:{{#var:value|}}
Line 170: Line 170:
|$ulstyle=justify-content: flex-end !important;position: absolute;z-index: 3;margin-top:10px;height: 100%;flex-basis: 100%;|$conclass=flag-tab-content
|$ulstyle=justify-content: flex-end !important;position: absolute;z-index: 3;margin-top:10px;height: 100%;flex-basis: 100%;|$conclass=flag-tab-content
|$constyle=padding-top: 40px !important;padding-left:10px !important;padding-right:10px !important;|$tabclass=tone-8 flag-tab-box|$divclass=tabber-center title-icons|$divstyle=z-index: 2;display: flex;flex-basis: 100%;justify-content: flex-end;flex-wrap: wrap;flex-direction: row;height: 100%;align-items: center;
|$constyle=padding-top: 40px !important;padding-left:10px !important;padding-right:10px !important;|$tabclass=tone-8 flag-tab-box|$divclass=tabber-center title-icons|$divstyle=z-index: 2;display: flex;flex-basis: 100%;justify-content: flex-end;flex-wrap: wrap;flex-direction: row;height: 100%;align-items: center;
|[[File:American_Flag.png|20px|North America & International|alt=NA]]=[[File:{{#if:{{#var:icon}}|{{#var:icon}}|Dunno.png}}|link=]]{{#var:caption}}|[[File:Korean_Flag.png|20px|South Korea|alt=KR]]=[[File:{{#var:iconkr}}|link=]]{{#ifeq:{{#var:desc|none||{{#var:caption}}}}}}</div>|[[File:{{#if:{{#var:icon}}|{{#var:icon}}|Dunno.png}}|link=]]{{#ifeq:{{#var:desc|none||{{#var:caption}}}}}}
|[[File:American_Flag.png|20px|North America & International|alt=NA]]=[[File:{{#if:{{#var:icon}}|{{#var:icon}}|Dunno.png}}|link=]]{{#var:caption}}|[[File:Korean_Flag.png|20px|South Korea|alt=KR]]=[[File:{{#var:iconkr}}|link=]]{{#var:caption}}}}</div>|[[File:{{#if:{{#var:icon}}|{{#var:icon}}|Dunno.png}}|link=]]{{#var:caption}}}}
{{!}} height=10% colspan=4 width=75% style="background-color:{{#var:background-color-light}} !important; color:{{#var:font-color}} !important; font-weight:500;" class="tone-7 title-title light-mode-only" {{!}} <div style="position: relative;" class="light-mode-only"><div style="display: flex; align-items: center; justify-content: center;" class="light-mode-only">{{#var:title}}</div>{{#if:{{#var:info}}|<div style="position: absolute; top: 0; right: 0;" class="light-mode-only">{{tt|NOTES|{{#var:info}}|pos=bottom|line=false|span=span|text-align:left;|style=color:{{#var:background-color-light}};|class=info-box light-mode-only}}</div>}}</div>
{{!}} height=10% colspan=4 width=75% style="background-color:{{#var:background-color-light}} !important; color:{{#var:font-color}} !important; font-weight:500;" class="tone-7 title-title light-mode-only" {{!}} <div style="position: relative;" class="light-mode-only"><div style="display: flex; align-items: center; justify-content: center;" class="light-mode-only">{{#var:title}}</div>{{#if:{{#var:info}}|<div style="position: absolute; top: 0; right: 0;" class="light-mode-only">{{tt|NOTES|{{#var:info}}|pos=bottom|line=false|span=span|text-align:left;|style=color:{{#var:background-color-light}};|class=info-box light-mode-only}}</div>}}</div>
{{!}}-
{{!}}-

Revision as of 15:22, 4 June 2023

Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.