Help:文档生成

From semantic-mediawiki.org
Jump to: navigation, search
文档生成
Has description::为某个结果格式生成参数文档
进一步的信息
提供方: Has component::Semantic MediaWiki
最低版本: Has minimum version::1.6.0
最高版本: Has maximum version::still supported
函数: has parser function::yes
标签: has tag extension::no
名称: Has name::#smwdoc
目录

Contents


解析器函数#smwdoc可用于为所有的结果格式自动生成参数文档。

语法

{{#smwdoc:格式名称}}
{{#smwdoc:格式名称|language=语言代码}}

示例

{{#smwdoc:table}}

实际运行结果: {{#smwdoc:table}}

{{#smwdoc:map|language=zh-hans}}

实际运行结果: {{#smwdoc:map|language=zh-hans}}



{{#set: |docinfo status=effective }}{{#set: |worn by =Template:Docinfo |warning =Master page updated }}{{#set:

|worn by =Template:Docinfo
|warning =No description
}}{{#set:

|revision id=16830 |namespace=Help |docinfo progress =100 |docinfo priority =3 }}{{#set:docinfo master page=Help:Generating documentation }}{{#set:docinfo master rev =13,823 }}{{#set:docinfo category=Category:Manual}}{{#set:docinfo author=User:Linforest}}{{#set:docinfo editor=User:Linforest}}{{#set:docinfo support=-}}{{#set:docinfo language=zh-hans}}

本文档页面适用于SMW从1.6.0版到最新版本的所有版本。
其他版本: {{#ask: Docinfo master page::Help:Generating documentation Docinfo language::zh-hans from version::!1.6.0|
   ?from version = |
   ?to version = |
   sort = from version|
   order = desc|
   link=none|
   format=list|
   sep=, |
   template=versionlink|
   limit = 3|
   searchlabel = […]
  }}       其他语言: {{#ask: Docinfo master page::Help:Generating documentation from version::1.6.0 Docinfo language::!zh-hans|
  ?Docinfo language =|
  link=none|
  format=list|
  sep=, |
  template=languagelink|
  sort = Docinfo language|
  order = asc|
  limit = 10|
  searchlabel = […]
}}

Docinfo master page::Help:Generating documentation Docinfo language::zh-hans from version::1.6.0

{{#set:Release status=current}}

{{#set:Is master page=false}}