Template:Section: Difference between revisions
From Elwiki
mNo edit summary |
|||
Line 1: | Line 1: | ||
<includeonly><table cellspacing="0" cellpadding="0" style="width:{{{Widths|100%}}}; padding: 0; margin: 0; font-size: 1em; line-height: 1.5em; word-break: break-all; border: 1px #000 solid; border-bottom: none; border-sapcing: 0;{{{SectionSty|}}}" {{{Attr|}}}> | <includeonly><table cellspacing="0" cellpadding="0" style="width:{{{Widths|100%}}}; padding: 0; margin: 0; font-size: 1em; line-height: 1.5em; word-break: break-all; border: 1px #000 solid; border-bottom: none; border-sapcing: 0;{{{SectionSty|}}}" {{{Attr|}}}> | ||
<tr style="width: 100%; font-weight: bold; color: #fff; text-align: center; vertical-align: middle; text-shadow: 1px 1px 1px black; height: 2em;{{{TitleStys|}}}">{{# | <tr style="width: 100%; font-weight: bold; color: #fff; text-align: center; vertical-align: middle; text-shadow: 1px 1px 1px black; height: 2em;{{{TitleStys|}}}">{{#loop:n | ||
| | | 0 | ||
| | | 16 | ||
| | | {{#if:{{{Title{{#var:n|}}}}}|<th style="width:{{{Width{{#var:n|}}|{{{Width|}}}}}}; {{#ifeq:{{#var:n|}}|0||border-left: 1px #000 solid;}}border-bottom: 1px #000 solid; background-color:{{{Color{{#var:n|}}|{{{Color|}}}}}}; background-image: linear-gradient(to bottom, #eee, {{{Color{{#var:n|}}|{{{Color|}}}}}});{{{TitleSty|}}};{{{TitleSty{{#var:n|}}|}}}" {{{Attr{{#var:n|}}|}}}>{{{Title{{#var:n|}}}}}</th> | ||
{{#if:{{ | |}}</tr> | ||
| | <tr style="width: 100%; vertical-align: top;{{{Styles|}}}">{{#loop:n | ||
<th style="width:{{{Width{{#var: | | 0 | ||
| 16 | |||
<tr style="width: 100%; vertical-align: top;{{{Styles|}}}">{{# | | {{#if:{{{Title{{#var:n|}}}}}|<td style="padding: 0.5em;{{{Style|}}};{{{Style{{#var:key|}}|}}}">{{{Content{{#var:n|}}|}}}</td> | ||
| | |}}</tr> | ||
| | |||
| | |||
{{#if:{{ | |||
| | |||
<td style="padding: 0.5em;{{{Style|}}};{{{Style{{#var:key|}}|}}}">{{{Content{{#var: | |||
</table></includeonly><noinclude>{{DISPLAYTITLE:Section模板}} | </table></includeonly><noinclude>{{DISPLAYTITLE:Section模板}} | ||
{{Section | {{Section |
Revision as of 10:12, 10 September 2014
{{#loop:n
| 0
| 16
| {{#loop:n
| 0
| 16
|
{{#loop:n
| 0
| 16
| {{#loop:n
| 0
| 16
|
{{#loop:n
| 0
| 16
| {{#loop:n
| 0
| 16
|
{{#loop:n
| 0
| 16
| {{#loop:n
| 0
| 16
|
{{#loop:n
| 0
| 16
| {{#loop:n
| 0
| 16
|
{{{Title}}} |
---|
{{{Title}}} |
---|
{{{Title}}} |
---|
{{{Title}}} |
---|
{{{Title}}} |
---|