模板:模板文档
模版部份未翻譯
模版中的
for editors to experiment.
未翻譯為中文。—Chunchun2345 (留言) 2009年6月28日 (日) 06:37 (UTC)
- 模板:完成,已翻譯。—-{街燈電箱150號}- 開箱維修 抄錶 檢驗證明 2009年6月28日 (日) 06:47 (UTC)
未翻譯
{{[[{{#switch:
|#default = Editprotected
| =
{{#ifeq: |
| Template:editprotected
| Editprotected
}}
}}|editprotected]]{{#if:||{{{arg}}}}}}}
Template documentation The above documentation is transcluded from Template:Documentation/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. 均需翻译。
--UAL55 (留言) 2010年7月14日 (三) 01:26 (UTC)
英文
{{[[{{#switch:
|#default = Editprotected
| =
{{#ifeq: |
| Template:editprotected
| Editprotected
}}
}}|editprotected]]{{#if:||{{{arg}}}}}}}同上。
追加“清除緩存”按鈕
{{[[{{#switch:
|#default = Editprotected
| =
{{#ifeq: |
| Template:editprotected
| Editprotected
}}
}}|editprotected]]{{#if:||{{{arg}}}}}}}
<!--** /doc 存在** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} 編輯]]
加上:
<!--** /doc 存在** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=purge}} 清除緩存]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} 編輯]]
因為有時候就算是在Firefox按ctrl/shift+F5都依然未能刷新出doc頁的新版本,必須手動進行purge。-- 同舟(留言) 2012年3月27日 (二) 02:53 (UTC)
- 模板:Done Liangent (留言) 2012年3月27日 (二) 09:16 (UTC)
- 貌似应该让用户purge后看模板页较好。Liangent (留言) 2012年3月27日 (二) 09:19 (UTC)
::增加purge按鈕就是為了在模板本頁看到doc更新後的效果。還有有一點不懂的是,追加purge按鈕後其生成的地址居然額外多了版本的代碼,是mediawiki更新v1.19後修訂的?-- 同舟(留言) 2012年3月27日 (二) 09:44 (UTC)
Documentation
English: I would like to add these updated codes please
<!--
Automatically add {{template sandbox notice}} when on a /sandbox page.
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}
}}<!--
Automatically add {{pp-template}} to protected templates.
-->{{template other
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
| {{pp-template|docusage=yes}}
| {{#if: {{PROTECTIONLEVEL:edit}}
| {{pp-template|docusage=yes}}
| <!--Not protected, or only semi-move-protected-->
}}
}}
}}<!--
Start of green doc box.
-->{{documentation/start box2
| preload = {{{preload|}}} <!--Allow custom preloads-->
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| content = {{{content|}}}
<!--Some namespaces must have the /doc, /sandbox and /testcases
in talk space-->
| docspace = {{documentation/docspace}}
| 1 = {{{1|}}} <!--Other docname, if fed-->
<!--The namespace is added in /start box2-->
| template page = {{documentation/template page}}
}}<!-- Start content --><!--
Start load the /doc content:
Note: The line breaks between this comment and the next line are necessary
so "=== Headings ===" at the start and end of docs are interpreted.
-->
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}}
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110
| 1111 = {{{content|}}}
| 0110 | 0111 = {{ {{{1}}} }}
| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }}
| 0000 | 0100 | 0010 | 0101 =
}}
<!--
End load the /doc content:
Note: The line breaks between this comment and the previous line are necessary
so "=== Headings ===" at the start and end of docs are interpreted.
-->{{documentation/end box2
| preload = {{{preload|}}} <!--Allow custom preloads-->
| content = {{{content|}}}
| link box = {{{link box|}}} <!--So "link box=off" works-->
<!--Some namespaces must have the /doc, /sandbox and /testcases
in talk space-->
| docspace = {{documentation/docspace}}
| 1 = {{{1|}}} <!--Other docname, if fed-->
<!--The namespace is added in /end box2-->
| template page = {{documentation/template page}}
}}<!--
End of green doc box
--><noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
90.222.250.124(留言) 2013年1月12日 (六) 00:05 (UTC)
[-{刷新}-]
「[-{刷新}-]」這個字符位於何處?請求加上字詞轉換。
「[-{zh-hans:刷新; zh-hant:重新整理;}-]」或者「[-{zh-hans:刷新缓存; zh-hant:清除快取;}-]」。-- By LNDDYL.(留言) 2014年6月14日 (六) 03:01 (UTC)
希望能把模板/模块文档也Lua化
{{[[{{#switch:
|#default = Editprotected
| =
{{#ifeq: |
| Template:editprotected
| Editprotected
}}
}}|editprotected]]{{#if:||{{{arg}}}}}}} 也就是希望导入en:Module:Documentation,吴语版刚刚导入了这一模块。--Liuxinyu970226(留言) 2014年11月4日 (二) 08:00 (UTC)