首页
随机
登录
设置
关于Kyoshihira Encyclopedia
免责声明
搜索
查看“︁Template:Center/doc”︁的源代码
←
Template:Center/doc
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly><!-- 在這裡加入模板的保護標識 --></includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- 在本行下編輯模板說明 --> == 模板介紹 == 这是一个简单的让内容居中的模板。 == 範例 == {| class="wikitable" style="width:50%;" ! 代码 | <nowiki>{{Center|Hello world!}}</nowiki> |- ! 效果 | {{Center|Hello world!}} |} 您也可以使用以下代码而无需本模板: <syntaxhighlight lang="html"> <div class="center">...</div> </syntaxhighlight> <templatedata> { "description": "", "params": { "1": { "description": "想要居中的内容", "type": "string", "required": true }, "style": { "description": "附加的样式", "type": "string", "required": false } } } </templatedata> <includeonly> <!-- 本行下加入模板的分類 --> [[Category:方位模板]] </includeonly>
该页面使用的模板:
Template:Center
(
查看源代码
)
Template:Template doc page viewed directly
(
查看源代码
)
返回
Template:Center/doc
。