模板:Hint

来自人工智能助力教育知识百科
Kangjf讨论 | 贡献2019年9月11日 (三) 15:34的版本 (创建页面,内容为“<onlyinclude><includeonly>{{#switch: {{{mode}}} |warning = {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1" {{!}} style="…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

"Note Box"

Create a Note box for various sectors and "alerts".

  • Warning Box
  • Important Box
  • Note/Hint Box
  • and special version of note box for translations


Based on Template:! and inspired by Template:LSL_Function/warning

Minimum Usage

{{hint
 |mode=important
 |desc=<Description>
 }}

Normal Usage

{{hint
 |mode=important
 |title_desc=<Title Description>
 |desc=<Description>
 }}

Translation Special Usage

{{hint
 |mode=translation
 |name=<your name>
 }}

Translation Special with Project Usage

 {{hint
 |mode=translation
 |project=<project name>
 |name=<your name>
 }}
 

Examples

文件:Emblem-important-red.png Warning!

The follow stuff is experimental.

 {{hint
 |mode=warning
 |desc=The follow stuff is experimental.
 }}
 

文件:Emblem-important.png Important! Page isn't finished.

Sorry this page isn't finished... I'm working hard on it! o.o

 {{hint
 |mode=important
 |title_desc=Page isn't finished.
 |desc=Sorry this page isn't finished... I'm working hard on it! o.o
 }}
 

文件:Emblem-important-yellow.png Note!

The following code is a beta and not 100% stable!

 {{hint
 |mode=note
 |desc=The following code is a beta and not 100% stable!
 }}
 

文件:Emblem-important-yellow.png Note: Translation in Progress!

This page is translated by Kuraiko Yoshikawa.
Translation committed at: 星期日 27 7月 2008

 {{hint
 |mode=translation
 |name=Kuraiko Yoshikawa
 }}
 

文件:Emblem-important-yellow.png Note: Translation in Progress!

This page is translated by Kuraiko Yoshikawa as part of XYZ Translation Project.
Translation committed at: 星期日 27 7月 2008

 {{hint
 |mode=translation
 |name=Kuraiko Yoshikawa
 |project=XYZ Translation Project
 }}