Template:Center/doc
Template:Template doc page viewed directly
模板介紹
这是一个简单的让内容居中的模板。
範例
| 代码 | {{Center|Hello world!}} |
|---|---|
| 效果 | Hello world!
|
您也可以使用以下代码而无需本模板: <syntaxhighlight lang="html">
...
</syntaxhighlight> <templatedata> { "description": "", "params": { "1": { "description": "想要居中的内容", "type": "string", "required": true }, "style": { "description": "附加的样式", "type": "string", "required": false } } } </templatedata>