Anonymous

Template:Parent tab: Difference between revisions

From Elwiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 3: Line 3:
| value
| value
| <nowiki/>
| <nowiki/>
{{#iferror:{{#expr:{{#var:key|}}}}||<div style="min-width: {{{minwidth|5}}}em; max-width: {{{maxwidth|12}}}em; margin-left: {{{marginwidth|2}}}px; margin-bottom: 0; float: left; border-width: 1.5px 1.5px 0; border-color: {{{bordercolor|gray}}}; border-style: solid; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; padding: 0 0.5em; height: {{{height|3.8}}}em; background-color: {{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}/{{#var:value|}}|{{{backcolor{{#var:key|}}|{{{backcolor|#dddddd}}}}}}|{{{altbackcolor{{#var:key|}}|{{{altbackcolor|transparent}}}}}}}}; background-image: linear-gradient(to bottom, #eee, {{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}/{{#var:value|}}|{{{backcolor{{#var:key|}}|{{{backcolor|#dddddd}}}}}}|{{{altbackcolor{{#var:key|}}|{{{altbackcolor|transparent}}}}}}}}); font-size: 1em; line-height: {{{height|3.8}}}em;"><font color="{{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}/{{#var:value|}}|{{{fontcolor{{#var:key|}}|{{{fontcolor|white}}}}}}|{{{altfontcolor{{#var:key|}}|{{{altfontcolor|black}}}}}}}}">[[{{{dir|}}}/{{#var:value|}}|{{{tab{{#var:key|}}Name|{{#var:value|}}}}}]]</font></div>}}
{{#iferror:{{#expr:{{#var:key|}}}}||<div style="min-width: {{{minwidth|5}}}em; max-width: {{{maxwidth|12}}}em; margin-left: {{{marginwidth|2}}}px; margin-bottom: 0; float: left; border-width: 1.5px 1.5px 0; border-color: {{{bordercolor|gray}}}; border-style: solid; border-top-right-radius: {{{borderradius|4}}}px; border-top-left-radius: {{{borderradius|4}}}px; padding: 0 0.5em; height: {{{height|3.8}}}em; background-color: {{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}/{{#var:value|}}|{{{backcolor{{#var:key|}}|{{{backcolor|#dddddd}}}}}}|{{{altbackcolor{{#var:key|}}|{{{altbackcolor|transparent}}}}}}}}; background-image: linear-gradient(to bottom, #eee, {{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}/{{#var:value|}}|{{{backcolor{{#var:key|}}|{{{backcolor|#dddddd}}}}}}|{{{altbackcolor{{#var:key|}}|{{{altbackcolor|transparent}}}}}}}}); font-size: 1em; line-height: {{{height|3.8}}}em;"><font color="{{#ifeq:{{FULLPAGENAME}}|{{{dir|}}}/{{#var:value|}}|{{{fontcolor{{#var:key|}}|{{{fontcolor|white}}}}}}|{{{altfontcolor{{#var:key|}}|{{{altfontcolor|black}}}}}}}}">[[{{{dir|}}}{{#if:{{#var:value|}}|/{{#var:value}}}}|{{{tab{{#var:key|}}Name|{{#var:value|}}}}}]]</font></div>}}
}}<div style="clear:both"></div>
}}<div style="clear:both"></div>
</div>
</div>