Template:Section: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
| key | | key | ||
| value | | value | ||
| {{#ifexpr:{{#if:{{#var:value|}}|1|0}} and {{Isnumeric|{{#var:key|}}}}|<th | | {{#ifexpr:{{#if:{{#var:value|}}|1|0}} and {{Isnumeric|{{#var:key|}}}}|<th style="width:{{{Width{{#var:key|}}|{{{Width|}}}}}}; {{#ifeq:{{#var:key|}}|0||border-left: 1px #000 solid;}}border-bottom: 1px #000 solid; background-color:{{{Color{{#var:key|}}|{{{Color|}}}}}}; background-image: linear-gradient(to bottom, #eee, {{{Color{{#var:key|}}|{{{Color|}}}}}});{{{TitleSty|}}};{{{TitleSty{{#var:key|}}|}}}" {{{Attr{{#var:key|}}|}}}><a name="{{#var:value}}">{{#var:value|}}</a></th>}}}}</tr> | ||
<tr style="width: 100%; vertical-align: top;{{{Styles|}}}">{{#forargs:Title | <tr style="width: 100%; vertical-align: top;{{{Styles|}}}">{{#forargs:Title | ||
| key | | key |
Revision as of 00:45, 24 September 2014
<a name="Section模板">Section模板</a> |
---|
Section模板是由boxsnake编写的UI模板,旨在美化界面。此页即为Section模板示例。 |
<a name="模板参数">模板参数</a> |
---|
|
<a name="参数">参数</a> | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
<a name="其他注意事项和提示">其他注意事项和提示</a> |
---|
|
<a name="其他示例">其他示例</a> | ||
---|---|---|
{{Section | SectionSty=border: 2px #ccc solid; border-radius: 5px; | Color0=lightblue | Title0=示例1 | Content0=示例1 }} |