Difference between revisions of "Template:Documentation"
m (Text replacement - "\[\[(zh|en|ja)wiki:" to "[[$1wp:") |
|||
(10 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | <!-- | + | <div class="template-documentation" style="background: aliceblue; padding: 1em; border: 1px solid #aaa;"><!-- |
− | + | --><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}} |
− | + | |{{ns:template}}=[[File:Template-info.svg|50px|link=]] Template Documentation | |
− | + | |{{ns:module}}=[[File:Template-info.svg|50px|link=]] Module Documentation | |
− | + | |{{ns:widget}}=[[File:Template-info.svg|50px|link=]] Widget Documentation | |
− | --> | + | |#default=Documentation |
− | + | }}</span> <span class="editsection plainlinks" style="font-size:small;" id="doc_editlinks">{{#if:{{{content|}}}| | |
− | + | <!--In-line Documentation-->[[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit]] | |
− | + | |{{#ifexist: {{{1|{{Documentation/docname}}}}} | |
− | | {{ | + | |<!--**/doc exist **-->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} View]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} Edit]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} History]] |
− | | | + | |<!--**/doc not exist**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit}} Create]] |
− | + | }} [[{{fullurl:{{FULLPAGENAME}}|action=purge}} Refresh]] | |
− | }} | + | }}</span></div><!-- |
− | + | --><div id="template_doc_page_transcluded" class="dablink plainlinks" style="font-size:84%;"><!-- | |
− | + | -->{{#if:{{{content|}}}| | |
− | + | <!--Inlined Document**-->This is an in-line documentation. | |
− | + | |{{#ifexist: {{{1|{{Documentation/docname}}}}} | |
− | + | |<!--**/doc exist**-->This [[enwp:Wikipedia:Template documentation|document]] is [[enwp:Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. | |
− | + | }} | |
− | | | + | }} |
− | + | </div> | |
− | + | {{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | |
− | + | </div> | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}<!-- | ||
− | |||
− | |||
− | |||
− | --> | ||
− | {{ | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | }} | ||
− | <!-- | ||
− | |||
− | |||
− | |||
− | -->{{ | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | < | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− |