跳转到内容

Template:用户框:修订间差异

此后如竟没有炬火,我便是唯一的光。
物灵留言 | 贡献
建立内容为“<div class="xdi8-userbox"> {| |- | 示例 || 示例 |} </div>”的新页面
 
物灵留言 | 贡献
无编辑摘要
第1行: 第1行:
<div class="xdi8-userbox">
<includeonly><div class="xdi8-userbox {{{bodyclass|}}}">
{|
{| style="/* ✒️边框颜色 */ {{#if: {{{border-c  | {{{id-c | }}} }}}| border: {{{border-s|1}}}px solid {{{border-c  | {{{id-c}}} }}}; }} /* ✒️浮动 */ {{#if: {{{float|}}}|float: {{{float}}}; }} /* ✒️所谓「像素大小」 */ {{#if: {{{id-h|}}}|height: {{{id-h}}}px; }}"
|-
|-
| 示例 || 示例
| style="/* ✒️对齐 */ {{#if: {{{id-a|}}}|text-align: {{{id-a}}}; }} /* ✒️背景色 */ {{#if: {{{id-c|}}}|background: {{{id-c}}}; }} /* ✒️字色 */ {{#if: {{{id-fc|}}}|color: {{{id-fc}}}; }} /* ✒️行高 */ {{#if: {{{id-lh|}}}|line-height: {{{id-lh}}}; }} /* ✒️衬距 */ {{#if: {{{id-p|}}}|padding: {{{id-p}}}; }} /* ✒️点数 */ {{#if: {{{id-s|}}}|font-size: {{{id-s}}}pt; }} /* ✒️宽度 */ {{#if: {{{id-s|}}}|width: {{{id-w}}}; }} /* ✒️其他 */ {{{id-op|}}}"| {{{id|左栏}}}
| style="/* ✒️对齐 */ {{#if: {{{info-a|}}}|text-align: {{{info-a}}}; }} /* ✒️背景色 */ {{#if: {{{info-c|}}}|background: {{{info-c}}}; }} /* ✒️字色 */ {{#if: {{{info-fc|}}}|color: {{{info-fc}}}; }} /* ✒️行高 */ {{#if: {{{info-lh|}}}|line-height: {{{info-lh}}}; }} /* ✒️衬距 */ {{#if: {{{info-p|}}}|padding: {{{info-p}}}; }} /* ✒️点数 */ {{#if: {{{info-s|}}}|font-size: {{{info-s}}}pt; }} /* ✒️其他 */ {{{info-op|}}}" | {{{info|右栏}}}
|}
|}
</div>
</div>
{{#if: {{{usercategory|}}}|[[分类:{{{usercategory}}}]] }}
{{#if: {{{usercategory2|}}}|[[分类:{{{usercategory2}}}]] }}
{{#if: {{{usercategory3|}}}|[[分类:{{{usercategory3}}}]] }}
</includeonly><noinclude>
{{用户框}}
{{Documentation}}
</noinclude>

2021年10月19日 (二) 20:24的版本

左栏 右栏



模板文档  [查看] [编辑] [历史] [刷新]

尽力重新实现了 wp:zh:模板:Userbox,因说明过长,请阅原模板文档。