Template:Title: Difference between revisions

From Elwiki
No edit summary
(Undo revision 871717 by Bluhen (talk))
Tag: Undo
Line 143: Line 143:
  | key
  | key
  | value
  | value
  | {{#vardefine:background-color-light|{{#if:{{#var:unobtainable{{#var:key|}}|}}|{{ColorSel|Misc}}|{{#if:{{{color{{#var:key|}}|}}}|{{#switch:{{{color{{#var:key|}}|}}}|Misc|Event|Special={{ColorSel|{{{color{{#var:key|}}|}}}}}|#default={{ColorSel|Village|{{{color{{#var:key|}}|}}}}}}}|{{#switch:{{{color|}}}|Misc|Event|Special={{ColorSel|{{{color|}}}}}|#default={{ColorSel|Village|{{{color|}}}}}}}}}}}}}<!--
  | {{#vardefine:background-color-light|{{#if:{{{color{{#var:key|}}|}}}|{{#switch:{{{color{{#var:key|}}|}}}|Misc|Event|Special={{ColorSel|{{{color{{#var:key|}}|}}}}}|#default={{ColorSel|Village|{{{color{{#var:key|}}|}}}}}}}|{{#switch:{{{color|}}}|Misc|Event|Special={{ColorSel|{{{color|}}}}}|#default={{ColorSel|Village|{{{color|}}}}}}}}}}}<!--


-->{{#vardefine:background-color-dark|{{#if:{{#var:unobtainable{{#var:key|}}|}}|{{ColorSel|Misc}}|{{#if:{{{color{{#var:key|}}|}}}|{{#switch:{{{color{{#var:key|}}|}}}|Misc|Event|Special={{ColorSel|{{{color{{#var:key|}}|}}}}}|#default={{ColorSel|VillageDark|{{{color{{#var:key|}}|}}}}}}}|{{#switch:{{{color|}}}|Misc|Event|Special={{ColorSel|{{{color|}}}}}|#default={{ColorSel|VillageDark|{{{color|}}}}}}}}}}}}}<!--
-->{{#vardefine:background-color-dark|{{#if:{{{color{{#var:key|}}|}}}|{{#switch:{{{color{{#var:key|}}|}}}|Misc|Event|Special={{ColorSel|{{{color{{#var:key|}}|}}}}}|#default={{ColorSel|VillageDark|{{{color{{#var:key|}}|}}}}}}}|{{#switch:{{{color|}}}|Misc|Event|Special={{ColorSel|{{{color|}}}}}|#default={{ColorSel|VillageDark|{{{color|}}}}}}}}}}}<!--


-->{{#vardefine:font-color|{{#if:{{{color{{#var:key|}}|}}}|{{#switch:{{{color{{#var:key|}}|}}}|Misc|Special|Altera|Feita|Velder|Hamel|Varnimyr||Master Road|Pruinaum Outskirts=white|#default=black}}|{{#switch:{{{color|}}}|Misc|Special|Altera|Feita|Velder|Hamel|Varnimyr|Master Road|Pruinaum Outskirts=white|#default=black}}}}}}<!--
-->{{#vardefine:font-color|{{#if:{{{color{{#var:key|}}|}}}|{{#switch:{{{color{{#var:key|}}|}}}|Misc|Special|Altera|Feita|Velder|Hamel|Varnimyr||Master Road|Pruinaum Outskirts=white|#default=black}}|{{#switch:{{{color|}}}|Misc|Special|Altera|Feita|Velder|Hamel|Varnimyr|Master Road|Pruinaum Outskirts=white|#default=black}}}}}}<!--
Line 178: Line 178:
|$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=]]{{#var:caption}}}}</div>|[[File:{{#if:{{#var:icon}}|{{#var:icon}}|Dunno.png}}|link=]]{{#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;" class="tone-7 title-title light-mode-only" {{!}} <div style="position: relative;" class="light-mode-only">{{#ifeq:{{#var:unobtainable}}|true|<div style="position: absolute; top: 25px;" class="light-mode-only">{{tt|[[File:Icon - Warning.png|20px]]|No longer obtainable|line=false|span=span|class=unobtainable light-mode-only}}</div>}}<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;" class="tone-7 title-title light-mode-only" {{!}} <div style="position: relative;" class="light-mode-only">{{#ifeq:{{#var:unobtainable}}|true|<div style="position: absolute; top: 25px;" class="light-mode-only">{{tt|[[File:Icon - Warning.png|20px]]|No longer obtainable|pos=bottom|line=false|span=span|class=unobtainable light-mode-only}}</div>}}<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-dark}} !important; color:{{#var:font-color}} !important;" class="tone-7 title-title dark-mode-only" {{!}} <div style="position: relative;" class="dark-mode-only">{{#ifeq:{{#var:unobtainable}}|true|<div style="position: absolute; top: 25px;" class="dark-mode-only">{{tt|[[File:Icon - Warning.png]]|No longer obtainable|line=false|span=span|class=unobtainable light-mode-only}}</div>}}<div style="display: flex; align-items: center; justify-content: center;" class="dark-mode-only">{{#var:title}}</div>{{#if:{{#var:info}}|<div style="position: absolute; top: 0; right: 0;" class="dark-mode-only">{{tt|NOTES|{{#var:info}}|pos=bottom|line=false|span=span|text-align:left;|style=color:{{#var:background-color-dark}};|class=info-box dark-mode-only}}</div>}}</div>
!! height=10% colspan=4 width=75% style="background-color:{{#var:background-color-dark}} !important; color:{{#var:font-color}} !important;" class="tone-7 title-title dark-mode-only" {{!}} <div style="position: relative;" class="dark-mode-only">{{#ifeq:{{#var:unobtainable}}|true|<div style="position: absolute; top: 25px;" class="dark-mode-only">{{tt|[[File:Icon - Warning.png]]|No longer obtainable|pos=bottom|line=false|span=span|class=unobtainable light-mode-only}}</div>}}<div style="display: flex; align-items: center; justify-content: center;" class="dark-mode-only">{{#var:title}}</div>{{#if:{{#var:info}}|<div style="position: absolute; top: 0; right: 0;" class="dark-mode-only">{{tt|NOTES|{{#var:info}}|pos=bottom|line=false|span=span|text-align:left;|style=color:{{#var:background-color-dark}};|class=info-box dark-mode-only}}</div>}}</div>
{{!}}-
{{!}}-
! height=20% width=10% {{!}} Discovery
! height=20% width=10% {{!}} Discovery

Revision as of 19:43, 2 June 2023

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