Difference between revisions of "Template:LSL Generic/deprecated"
Jump to navigation
Jump to search
m |
m (wasn't respecting the header.) |
||
Line 1: | Line 1: | ||
{{#if: | |||
{{#vardefine:caveats|* This {{#var:type}} has been deprecated{{#ifeq:{{{1|}}}|none||, please use {{LSLG|{{{1|}}}}} instead}}. | {{#vardefine:caveats|* This {{#var:type}} has been deprecated{{#ifeq:{{{1|}}}|none||, please use {{LSLG|{{{1|}}}}} instead}}. | ||
{{#var:caveats}}}}{{#vardefine:header|{{#if:{{{1|}}}| | {{#var:caveats}}}} | ||
{{#vardefine:header|{{#if:{{{1|}}}| | |||
<div id="box" style="background:red;"> | <div id="box" style="background:red;"> | ||
'''Deprecated {{#var:type}}''' | '''Deprecated {{#var:type}}''' | ||
<div style="padding: 0.5em;background:#ffffff;"> | <div style="padding: 0.5em;background:#ffffff;"> | ||
''(This {{#var:type}} has been deprecated{{#ifeq:{{{1|}}}|none|.)|, please use {{LSLG|{{{1|}}}}} instead.)}}'' | ''(This {{#var:type}} has been deprecated{{#ifeq:{{{1|}}}|none|.)|, please use {{LSLG|{{{1|}}}}} instead.)}}'' | ||
{{#var:gd_text}}</div></div>{{#if:{{#var:self}}|| {{LSLC|Deprecated|{{#var:sort}}}} }} }} }} | {{#var:gd_text}}</div></div>{{#if:{{#var:self}}|| {{LSLC|Deprecated|{{#var:sort}}}} }} }} | ||
{{#var:header}}}} | |||
}} |