编辑“︁
Template:Non sequitur/doc
”︁(章节)
跳转到导航
跳转到搜索
这是
Non sequitur
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
== Usage == This is an {{tsl|en|Wikipedia:WikiProject Inline Templates||inline template}} which should be placed immediately after the material in question, as with a footnote. For example:<br /> {{in5}}<code> A reference to someone or something that needs explanation.{{tlp|non sequitur|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</code><br /> gives:<br /> {{in5}}A reference to someone or something that needs explanation.{{non sequitur|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}<br /> The wikilink on "''non sequitur''" is set to [[Wikipedia:请进行澄清|Wikipedia:Please clarify]]. === Parameters === ; Abbreviated parameter sets{{colon}} :{{tlx|non sequitur |2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |3=reason= }} :{{tlx|non sequitur |2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |3=reason= |4=text= }} ; Full parameter set{{colon}} :{{tlx|non sequitur |2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |3=reason= |4=text= |5=pre-text= |6=post-text= |7=show= }} '''Parameter descriptions:''' ; {{para|date}} : This template allows an optional date parameter that records when the tag was added. If this template is added without the date parameter, the date parameter will be added soon after by a [[WP:BOT|bot]]. Alternatively, you may add the date automatically (without requiring bot intervention) by [[WP:SUBST|substituting]] the template. That is: {{tlxs|non sequitur}} is equivalent to {{tlx|non sequitur|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. This technique also works if other parameters – {{para|reason}} {{para|pre-text}} {{para|post-text}} – are given. ; {{para|reason}}: <code><nowiki>{{Clarify|reason=</nowiki><var>What the problem is</var><nowiki>}}</nowiki></code> (this is preferable to using a HTML <code><!-- comment --></code> after the tag, as it is tidier to keep all of the {{Tlx|non sequitur}}-related code inside the template). If the explanation would be lengthy, use the article's talk page. : As well as being visible in the source code for editors' benefit, the <code>reason</code> parameter is, if provided, displayed when the mouse is hovered over the "clarification needed" link in the article. For technical reasons, this mouse-over feature does not work if the reason text contains double quotes. Use single quotes instead, or use the code <code>&quot;</code> if it is essential to include a double quote. ; <span style="font-weight: normal;">{{para|text}} a.k.a. {{para|1}} or first, unnumbered parameter</span> : The particular text needing clarification may be highlighted by wrapping this template around it: :* <code>''Text preceding the template'', {{tlp|non sequitur|text{{=}}unclear namedropping,|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} ''text following the template''.</code><br />''Text preceding the template'', {{non sequitur|text=unclear namedropping,|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} ''text following the template''. :As with any template, if the material to be wrapped contains an equals character (<code>=</code>}, the parameter must be explicitly named or numbered. ; {{para|pre-text}} ; {{para|post-text}} : One can specify additional text to appear before and/or after the "clarify" tag using the two parameters listed above{{colon}} :* <code><nowiki>{{clarify|pre-text=irrelevant}}</nowiki></code><br />will cause the words "irrelevant or" to appear before "clarify" like this:{{non sequitur|pre-text=irrelevant or}} :* <code><nowiki>{{clarify|post-text=(complicated jargon)}}</nowiki></code><br />will cause "(mentioned below not above)" to appear after "non sequitur" like this:{{non sequitur|post-text=(mentioned below not above)}}. :* <code><nowiki>{{clarify|post-text=(see {{tsl|en|Talk:Example||talk}})}}</nowiki></code><br />can be used to link to a discussion on the article's talk page; this example produces:{{non sequitur|post-text=(see {{tsl|en|Talk:Example||talk}})}} ; {{para|show}} : Change the displayed main wording of the template from ''non sequitur'' to something else, e.g. {{para|show|who?}} (the template {{tl|Who2}} is a shortcut wrapper for that particular case). === Style === When resolving this template, please note that the excessively news-style or "headline-ese" form of explaining a reference, as in "according to historian Jane Doe", is considered substandard by many readers and editors, especially non-North Americans. The more complete form, "according to the historian Jane Doe", is preferred and is acceptable in all dialects of English. Note also the difference between a clipped reference like "Said Oxford historian Doe, ..." versus the more informative and easier to parse version "According to the historian Jane Doe of Oxford University, ...". Shortening might be appropriate if Doe and Oxford have previously been mentioned in the article. === TemplateData === {{Collapse top|[[Wikipedia:模板数据|TemplateData]] documentation used by [[Wikipedia:可视化编辑器|VisualEditor]] and other tools}} {{TemplateData header|noheader=1}} <templatedata> { "params": { "reason": { "label": "reason", "type": "string", "description": "A brief reason for the tag; do not include any double quotes." }, "text": { "label": "text", "type": "string", "description": "Text fragment containing concerns the tag is supposed to address.", "autovalue": "" }, "date": { "label": "Month and year", "type": "string", "description": "The date the tag was added (this will be added automatically soon by a bot if not added manually).", "example": "January 2019", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "pre-text": { "label": "pre-text", "type": "string", "description": "Any string to be added before the \"Clarify\" tag, such as \"?\"" }, "post-text": { "label": "post-text", "type": "string", "description": "Any string to be added after the \"Clarify\" tag, such as \"complicated jargon\"." } } } </templatedata> {{Collapse bottom}}
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息