打开主菜单
首页
随机
登录
设置
关于楞伽经导读
免责声明
楞伽经导读
搜索
查看“模板:Robelbox2”的源代码
←
模板:Robelbox2
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:writer
您没有权限编辑
模板
命名空间内的页面。
您可以查看和复制此页面的源代码。
<div style="width:{{{width|100%}}}; padding:0em;"> <div style="margin:0.5em; padding:0em; vertical-align:top; border:1px solid {{Robelbox/C2|{{{theme|1}}}}}; background-color:{{Robelbox/C1|{{{theme|1}}}}};"> {{#ifeq:{{{icon|default}}}|default||<div style="float:right;">[[Image:{{{icon|Namespace Wikipedia.svg}}}|{{{iconwidth|32px}}}]]</div>}} <div style="margin:0em; padding:0.2em 0.9em 0.2em 0.5em; font-size:120%; font-weight:bold; border-bottom:1px solid {{Robelbox/C2|{{{theme|1}}}}}; background-color:{{Robelbox/C3|{{{theme|1}}}}};">{{#if:{{{title|Title}}}|{{{title|Title}}}| }}</div> <div style="margin:0em; padding:0.75em;"><noinclude> ''Parameters:'' * ''theme'': Values 1 to 14; gives colour scheme: {{Robelbox/theme}} * ''title'': Box title. * ''width'': Box width; default is 100%. * ''icon'': Image name for icon. * ''iconwidth'': Pixel width of icon; default is 56. Include "px". * ''msg''': Box message. Alternatively the first unnamed argument/parameter can be used.</noinclude><includeonly> {{{msg|{{{1| }}}}}} </includeonly></div> </div> </div><noinclude> ==Simple examples== __TOC__ ===Theme 1: Tan (default)=== This code: <nowiki>{{</nowiki>{{PAGENAME}}|title=Test title|Test content using a default box<nowiki>}}</nowiki> produces this box: {{msg:{{PAGENAME}}|title=Test title|Test content using a default box}} ===Theme 2: Mid green with icon=== This code: <nowiki>{{</nowiki>{{PAGENAME}}|theme=2|title=Test title|icon=Namespace Wikipedia.svg|1=Test content using a default box with theme=2<nowiki>}}</nowiki> produces this box: {{msg:{{PAGENAME}}|theme=2|title=Test title|icon=Namespace Wikipedia.svg|1=Test content using a default box with theme=2}} == Color samples == {| | {{msg:{{PAGENAME}}|theme=1|title=Theme 1|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=2|title=Theme 2|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=3|title=Theme 3|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=4|title=Theme 4|width=200px|iconwidth=48px|''Content goes here.''}} |- | {{msg:{{PAGENAME}}|theme=5|title=Theme 5|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=6|title=Theme 6|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=7|title=Theme 7|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=8|title=Theme 8|width=200px|iconwidth=48px|''Content goes here.''}} |- | {{msg:{{PAGENAME}}|theme=9|title=Theme 9|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=10|title=Theme 10|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=11|title=Theme 11|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=12|title=Theme 12|width=200px|iconwidth=48px|''Content goes here.''}} |- | {{msg:{{PAGENAME}}|theme=13|title=Theme 13|width=200px|iconwidth=48px|''Content goes here.''}} | {{msg:{{PAGENAME}}|theme=14|title=Theme 14|width=200px|iconwidth=48px|''Content goes here.''}} |} [[Category:Robelbox templates]] </noinclude>
本页使用的模板:
模板:Robelbox/C1
(
查看源代码
)
模板:Robelbox/C2
(
查看源代码
)
模板:Robelbox/C3
(
查看源代码
)
模板:Robelbox/theme
(
查看源代码
)
模板:Robelbox2
(
查看源代码
)
返回至“
模板:Robelbox2
”。