匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“模板:PublicationRequestId”的源代码
来自百问网嵌入式Linux wiki
名字空间
模板
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
模板:PublicationRequestId
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<noinclude> ==Usage== The [[Template:PublicationRequestId|PublicationRequestId]] template is used '''to store, in a page, the date and the identifier (ID) of the last publication request (PR) done to the technical writer team''', through the technical literature management system (TLMS), for publishing this page. It should be added at the bottom of the page for which a PR has been done. It puts a message box with a "light blue checked document" 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>PublicationRequestId | {{HighlightParam|<TLMS PR ID>}} | {{HighlightParam|<date>}} | {{HighlightParam|<comment>}}}} Where: * {{HighlightParam|<TLMS PR ID>}} is the '''mandatory''' identifier of the publication request done in the TLMS ** {{HighlightParam|Auto}} is a special value for this parameter to indicate that the page has been automatically approved (no TLMS PR ID) * {{HighlightParam|<date>}} is the date of the request in the <code>YYYY-MM-DD</code> format. It is a '''mandatory''' parameter, except if {{HighlightParam|<TLMS PR ID>}} is {{HighlightParam|Auto}} * {{HighlightParam|<comment>}} is an '''optional''' comment. ==Basic examples== {| class="st-table" ! You type !! You get |- | Publication request: TLMS PR ID and date supplied <pre style="white-space: pre-wrap;"> {{PublicationRequestId | 12345 | 2019-05-09 |}} </pre> | {{PublicationRequestId | 12345 | 2019-05-09 |}} |- | Publication request: TLMS PR ID set with "Auto" and comment supplied <pre style="white-space: pre-wrap;"> {{PublicationRequestId | Auto | | Automatic approval based on the “Category model” article}} </pre> | {{PublicationRequestId | Auto | | Automatic approval based on the “Category model” article}} |} ==More examples== {| class="st-table" ! You type !! You get |- | Publication request: no TLMS PR ID supplied, no date supplied <pre style="white-space: pre-wrap;"> {{PublicationRequestId}} </pre> | {{PublicationRequestId}} |- | Publication request: TLMS PR ID supplied, no date supplied <pre style="white-space: pre-wrap;"> {{PublicationRequestId | 12345}} </pre> | {{PublicationRequestId | 12345}} |- | Publication request: no TLMS PR ID supplied, date supplied <pre style="white-space: pre-wrap;"> {{PublicationRequestId | | 2019-05-09}} </pre> | {{PublicationRequestId | | 2019-05-09}} |- | Publication request: TLMS PR ID supplied, date supplied, comment supplied <pre style="white-space: pre-wrap;"> {{PublicationRequestId | 12345 | 2019-05-09 | Comment about this PR}} </pre> | {{PublicationRequestId | 12345 | 2019-05-09 | Comment about this PR}} |- | Publication request: TLMS PR ID set with "Auto", no comment supplied <pre style="white-space: pre-wrap;"> {{PublicationRequestId | Auto}} </pre> | {{PublicationRequestId | Auto}} |- | Check that the spaces before and after the message <pre style="white-space: pre-wrap;"> BEFORE{{PublicationRequestId | Auto}}AFTER<br> BEFORE {{PublicationRequestId | Auto}} AFTER </pre> | BEFORE{{PublicationRequestId | Auto}}AFTER<br> BEFORE {{PublicationRequestId | Auto}} AFTER |} ==Code== </noinclude>{{#tag:secureTransclude|| src=ProtectedTemplate:PublicationRequestId| params={{{1|}}} {{!}} {{{2|}}} {{!}} {{{3|}}} }}
该页面使用的模板:
模板:Highlight
(
查看源代码
)
模板:HighlightParam
(
查看源代码
)
模板:PublicationRequestId
(
查看源代码
)
返回至
模板:PublicationRequestId
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志