Template:Section: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 70: | Line 70: | ||
|'''整体参数:<br>''<code>Styles</code>''''' | |'''整体参数:<br>''<code>Styles</code>''''' | ||
|内容区整体样式(兼容CSS语法),会覆盖相同的'''''<code>SectionSty</code>'''''设置。 | |内容区整体样式(兼容CSS语法),会覆盖相同的'''''<code>SectionSty</code>'''''设置。 | ||
|- | |||
|'''整体参数:<br>''<code>Widths</code>''''' | |||
|整个Section模板额宽度(兼容CSS语法),可以使用em,pt,百分比等,此后不需要分号,如果不指定即为100%。 | |||
|- | |||
'''整体参数:<br>''<code>Attr</code>''''' | |||
|整个Section模板的属性附加(兼容HTML语法),如class等属性。 | |||
|- | |- | ||
|'''全局参数:<br>''<code>TitleSty</code>''''' | |'''全局参数:<br>''<code>TitleSty</code>''''' |
Revision as of 23:20, 24 July 2014
Section模板 |
---|
Section模板是由boxsnake编写的UI模板,旨在美化界面。此页即为Section模板示例。 |
模板参数 |
---|
|
参数 | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Attr
|
其他注意事项和提示 |
---|
|
其他示例 | ||
---|---|---|
{{Section | SectionSty=border: 2px #ccc solid; border-radius: 5px; | Color0=lightblue | Title0=示例1 | Content0=示例1 }} |