主页
开发板系列
键盘电脑
平板电脑
开源手机
开源游戏机
Orange Pi OS
通用问题
开发板常见问题
英文网站
中文网站
英文论坛
中文论坛
打开主菜单
Wiki-Orange Pi
β
搜索
查看“模板:Hint”的源代码
←
模板:Hint
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<noinclude> {{Template}} A hint box for showing helpful hints. == 关于我们 == <nowiki>{{Hint|hint content}}</nowiki> == 开源硬件 == <nowiki>{{Hint|This is an hint.}}</nowiki> {{Hint | This is an hint.}} For a more flexible usage, it doesn't start with "'''Hint:'''" by default, you may add it manually with <code><nowiki>'''Hint:'''</nowiki></code>: <nowiki>{{Hint|'''Hint:''' This is another hint.}}</nowiki> {{Hint | '''Hint:''' This is another hint.}} == 开源软件 == The boxes use <code>display: table</code> to support both adaptive width and floating siblings, all other alternatives can't archive them as perfect as this solution within just one HTML element. However, it has its own flaw, if you put it into another table, its padding will gone. Avoid putting hints, notes and warnings into any tables until solution was found, or we give up and use two elements for just one box. This template uses class <code>.template-box</code> and <code>.template-hint</code>. In the future, if the [https://www.mediawiki.org/wiki/Extension:TemplateStyles TemplateStyles Extension] is installed on this MediaWiki instance, one may move the embedded inline styles to Template Style files. == 定制服务 == * [https://wiki.archlinux.org/title/Template:Tip ArchWiki: Template:Tip]: the template on which this one is based on * [[Template:Note]] * [[Template:Info]] * [[Template:Warning]] </noinclude><includeonly><div role="note" class="template-box template-hint" style=" display: table; min-width: 20em; min-height: 1.6em; margin: .5em 0; padding: .5em 1em; border: 1px solid #9bcdfd; color: #003670; background-color: #d1ecfd; ">{{{1|}}}</div></includeonly>
该页面使用的模板:
模板:Hint
(
查看源代码
)
模板:Template
(
查看源代码
)
返回至
模板:Hint
。