變更
地區詞處理 修飾語句 調整格式 排版
{{Documentation subpage}}{{high-useNoteTA|60,000+}} __NOTOC__G1 = MediaWiki|G2 == Usage ==IT: {{tlx|Documentation subpage}}: or: {{tlx|Documentation subpage |[[{{var|Page where the documentation [[Wikipedia:Transclusion|transcluded]]}}]]}}本模板显示“模板文档”框,就像您现在看到的这样。
==用法=Text customization===The parameters {{para|text1}} and/or {{para|text2}} can be used to set the text of, respectively, the template's first and second lines. If ''text1'' is set but not ''text2'', both lines' text will derive from ''text1'':{{Hidden begin |showhide=left |title=With ''text1'' and ''text2''}}<code><nowiki>{{Documentation subpage |text1='''''text1 appears here''''' |text2='''''text2 appears here'''''}}</nowiki></codepre>{{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |text2='''''text2 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}}{{Hidden end}}{{Hidden begin |showhide=left |title=With ''text2'' only}}<code><nowiki>{{Documentation subpage |text2='''''text2 appears here'''''}}</nowikipre></code>{{Documentation subpage |[''page''] |text2='''''text2 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}}{{Hidden end}}{{Hidden begin |showhide=left |title=With ''text1'' only}}<code><nowiki>{{Documentation subpage |text1='''''text1 appears here'''''}}</nowiki></code>{{Documentation subpage |[''page''] |text1='''''text1 appears here''''' |override={{lc:{{SUBPAGENAME}}<!-- Hack to allow example to appear, even when viewed from [[Template:Documentation subpage]] -->}}}}{{Hidden end}}
==功能==除了提示消息之外,本模板亦将页面分到[[:Category:模板說明文件]]或相似(根据主体空间命名)的分类下,但仅针对拥有子页面功能的名字空间里的说明文档。本模板还会把模板的[[m:Help:Categories#Sort order|排序关键字]]根据不带名字空间名称时的页面名称作相应变动(例如根据“Foo”,“Template:Foo”在分类中会被当做“F”开头的模板排序)。 ==参见==* [[Wikipedia:模板文件页模式]] <includeonly>{{#ifeq:{{SUBPAGENAME}}sandbox other|sandbox || <!--Categories below here, please; interwikis to 本行下加入模板的分類,跨維基連結加入Wikidata(參見[[Wikipedia:Wikidata.]]) -->[[Category:Template documentation模板說明文件| {{PAGENAME}}]][[Category:Template namespace templates模板頁的模板]]
}}</includeonly>