Difference between revisions of "Template:Documentation"
(update test from zhmoe) |
(English-fy (translation from ZH -> EN)) |
||
Line 2: | Line 2: | ||
--><div class="template-documentation-header" style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex"><!-- | --><div class="template-documentation-header" style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex"><!-- | ||
--><span style="font-weight: bold; font-size: 125%">{{#switch:{{NAMESPACE}} | --><span style="font-weight: bold; font-size: 125%">{{#switch:{{NAMESPACE}} | ||
− | |{{ns:template}}=[[File:Template-info.svg|50px|link=]] | + | |{{ns:template}}=[[File:Template-info.svg|50px|link=]] Template Document |
− | |{{ns:module}}=[[File:Template-info.svg|50px|link=]] | + | |{{ns:module}}=[[File:Template-info.svg|50px|link=]] Module Document |
− | |{{ns:widget}}=[[File:Template-info.svg|50px|link=]] | + | |{{ns:widget}}=[[File:Template-info.svg|50px|link=]] Widget Document |
− | |#default= | + | |#default=Document |
}}</span> <span class="editsection plainlinks" style="font-size:small;" id="doc_editlinks">{{#if:{{{content|}}}| | }}</span> <span class="editsection plainlinks" style="font-size:small;" id="doc_editlinks">{{#if:{{{content|}}}| | ||
− | <!-- | + | <!--Inlined Document-->[[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit]] |
|{{#ifexist: {{{1|{{Documentation/docname}}}}} | |{{#ifexist: {{{1|{{Documentation/docname}}}}} | ||
− | |<!--**/doc | + | |<!--**/doc exist **-->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} View]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} Edit]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} History]] |
− | |<!--**/doc | + | |<!--**/doc not exist**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit}} Create]] |
− | }} [[{{fullurl:{{FULLPAGENAME}}|action=purge}} | + | }} [[{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh]] |
}}</span></div><!-- | }}</span></div><!-- | ||
--><div id="template_doc_page_transcluded" class="dablink plainlinks" style="font-size:84%;"><!-- | --><div id="template_doc_page_transcluded" class="dablink plainlinks" style="font-size:84%;"><!-- | ||
-->{{#if:{{{content|}}}| | -->{{#if:{{{content|}}}| | ||
− | <!-- | + | <!--Inlined Document**-->This [[enwiki:Wikipedia:Template documentation|document]] is Inlined Document。 |
|{{#ifexist: {{{1|{{Documentation/docname}}}}} | |{{#ifexist: {{{1|{{Documentation/docname}}}}} | ||
− | |<!--**/ | + | |<!--**/doc exist**-->This [[enwiki:Wikipedia:Template documentation|document]][[enwiki:Wikipedia:Transclusion|transclude]] from [[{{{1|{{Documentation/docname}}}}}]]。 |
}} | }} | ||
}} | }} | ||
Line 23: | Line 23: | ||
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | {{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | ||
</div> | </div> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Template of template page]]</noinclude> |