匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“模板:ReviewsComments”的源代码
来自百问网嵌入式Linux wiki
名字空间
模板
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
模板:ReviewsComments
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<noinclude> ==Usage== The [[Template:ReviewsComments|ReviewsComments]] template is used '''to store, in a page, a comment about the content (mainly, but not only, within the scope of the review process)''': question, disagreement, request for improvement etc. It should be added just before the line that is the object of the comment. It puts a message box with a "pink notepad" icon in the page. '''Only logged-in users who have writing permissions, can see this box'''. {{Highlight|However, do not put any confidential information in the parameters of this template}}. Usage: <nowiki>{{</nowiki>ReviewsComments | {{HighlightParam|<comment>}}}} Where {{HighlightParam|<comment>}} is the '''mandatory''' comment message. It is recommended that reviewers sign their comment * either with their MediaWiki signature plus timestamp thanks to the <code><nowiki>~~~~</nowiki></code> markup (replaced when saving), * or with their name's trigram and the week number (e.g. <code>JCT w920 -</code>) in the comment message. A custom button in the Wikitext editor toolbar allows to insert a review comment (with the MediaWiki signature): [[File:Help_reviews_comments_button.png|thumb|950px|center|Review comment button]] ==Basic examples== {| class="st-table" ! You type !! You get |- | Comment and MediaWiki signature supplied <pre style="white-space: pre-wrap;"> {{ReviewsComments | ~~~~ - The proposed command doesn't work: please propose another version}} </pre> | {{ReviewsComments | [[User:Jean Christophe Trotin|Jean Christophe Trotin]] ([[User talk:Jean Christophe Trotin|talk]]) 09:56, 13 January 2020 (CET) - The proposed command doesn't work: please propose another version}} |- | Comment and trigram supplied <pre style="white-space: pre-wrap;"> {{ReviewsComments | JCT w920 - The proposed command doesn't work: please propose another version}} </pre> | {{ReviewsComments | JCT w920 - The proposed command doesn't work: please propose another version}} |} ==More examples== {| class="st-table" ! You type !! You get |- | No comment supplied, no signature supplied <pre style="white-space: pre-wrap;"> {{ReviewsComments}} </pre> | {{ReviewsComments}} |- | No comment supplied, signature supplied <pre style="white-space: pre-wrap;"> {{ReviewsComments | JCT w920 -}} </pre> | {{ReviewsComments | JCT w920 -}} |- | Comment supplied with a long sentence, signature supplied <pre style="white-space: pre-wrap;"> {{ReviewsComments | JCT w920 - The comment is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli.}} </pre> | {{ReviewsComments | JCT w920 - The comment is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli.}} |- | Check that the spaces before and after the message <pre style="white-space: pre-wrap;"> BEFORE{{ReviewsComments | Check spaces}}AFTER<br> BEFORE {{ReviewsComments | Check spaces}} AFTER </pre> | BEFORE{{ReviewsComments | Check spaces}}AFTER<br> BEFORE {{ReviewsComments | Check spaces}} AFTER |} ==Code== </noinclude>{{#tag:secureTransclude|| src=ProtectedTemplate:ReviewsComments| params={{{1|}}} }}{{#set:Has reviews comments=true}}
该页面使用的模板:
模板:Highlight
(
查看源代码
)
模板:HighlightParam
(
查看源代码
)
模板:ReviewsComments
(
查看源代码
)
返回至
模板:ReviewsComments
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志