匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“模板:ArticleBasedOnModel”的源代码
来自百问网嵌入式Linux wiki
名字空间
模板
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
模板:ArticleBasedOnModel
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<noinclude> ==Usage== The [[Template:ArticleBasedOnModel|ArticleBasedOnModel]] template is used '''to store, in a page, the name of the model on which the page is based'''. It should be added at the bottom of the page that is based on a model. The models are available in the [[:Category:Using models|Using models]] category. It puts a message box with a "light blue documents" 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>ArticleBasedOnModel | {{HighlightParam|<model page>}}}} Where: * {{HighlightParam|<model page>}} is the '''mandatory''' name of the model page '''without its namespace''' (e.g. if the model page is "Contributors:How to article model", then {{HighlightParam|<model page>}} is "How to article model") ==Basic examples== {| class="st-table" ! You type !! You get |- | Article based on "Contributors:How to article model" model <pre style="white-space: pre-wrap;"> {{ArticleBasedOnModel | How to article model}} </pre> | {{ArticleBasedOnModel | How to article model}} |} ==More examples== {| class="st-table" ! You type !! You get |- | No model supplied <pre style="white-space: pre-wrap;"> {{ArticleBasedOnModel}} </pre> | {{ArticleBasedOnModel}} |- | Article based on an unknown model: bad link <pre style="white-space: pre-wrap;"> {{ArticleBasedOnModel | Unknown model}} </pre> | {{ArticleBasedOnModel | Unknown model}} |- | Check that the spaces before and after the message <pre style="white-space: pre-wrap;"> BEFORE{{ArticleBasedOnModel}}AFTER<br> BEFORE {{ArticleBasedOnModel}} AFTER </pre> | BEFORE{{ArticleBasedOnModel}}AFTER<br> BEFORE {{ArticleBasedOnModel}} AFTER |} ==Code== </noinclude>{{#tag:secureTransclude|| src=ProtectedTemplate:ArticleBasedOnModel| params={{{1|}}} }}
该页面使用的模板:
模板:ArticleBasedOnModel
(
查看源代码
)
模板:Highlight
(
查看源代码
)
模板:HighlightParam
(
查看源代码
)
返回至
模板:ArticleBasedOnModel
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志