LLWiki正在建设中,欢迎加入我们!
“Template:Info”的版本间差异
跳转到导航
跳转到搜索
小 |
小 (margin-bottom折中为5px,text部分恢复到不套div的版本) 标签:移动版网页编辑 移动版编辑 |
||
第17行: | 第17行: | ||
}} |
}} |
||
[[Category:Info模板|*]]</noinclude><includeonly><!--</includeonly><syntaxhighlight lang="html+handlebars"> |
[[Category:Info模板|*]]</noinclude><includeonly><!--</includeonly><syntaxhighlight lang="html+handlebars"> |
||
-->{| class="infobox" align={{{align|center}}} cellpadding={{{cellpadding|2}}} style=" |
-->{| class="infobox" align={{{align|center}}} cellpadding={{{cellpadding|2}}} style="background-color:{{{bgcolor|#F3F5F7}}};width:{{{width|70%}}};border-left-color:{{{color|#C5C5C5}}}" |
||
| width="15%" |{{{icon|[[File:{{{image|Bandeau-avertisement-3.png}}}|{{{imagewidth|50px}}}|link=]]}}} |
| width="15%" |{{{icon|[[File:{{{image|Bandeau-avertisement-3.png}}}|{{{imagewidth|50px}}}|link=]]}}} |
||
| |
| {{color|{{{textcolor|}}}|{{{text|}}}}} |
||
|}<!-- |
|}<!-- |
||
</syntaxhighlight><includeonly>--></includeonly> |
</syntaxhighlight><includeonly>--></includeonly> |
2020年10月7日 (三) 09:09的版本
模板文档
这个文档是内联文档。
此模板用于建立条目的各种讯息模板。
已知问题
本模板用于页面开头时可能造成移动版解析错误,因此需要限制使用。仅管理员可直接使用本模板或在此基础上制作新的模板;所有添加Info模板的编辑都会被特殊标记以供管理人员巡查。
参数
{{Info|align=|width=|color=|bgcolor=|icon=|image=|imagewidth=|text=|textcolor=|cellpadding=}}
示例
{{Info|text=示例1}}
示例1 |
{{Info |align=left |width=30% |color=green |bgcolor=LightYellow |icon=<i class="fab fa-creative-commons-by"></i> |text=示例2 |textcolor=red}}
示例2 |
<syntaxhighlight lang="html+handlebars">
-->{| class="infobox" align=center cellpadding=2 style="background-color:#F3F5F7;width:70%;border-left-color:#C5C5C5" | width="15%" | | |}</includeonly>