Difference between revisions of "Template:Documentation"
(// Edit via Wikiplus) |
m (Text replacement - "\[\[(zh|en|ja)wiki:" to "[[$1wp:") |
||
(7 intermediate revisions by 5 users not shown) | |||
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=]] Template | + | |{{ns:template}}=[[File:Template-info.svg|50px|link=]] Template Documentation |
− | |{{ns:module}}=[[File:Template-info.svg|50px|link=]] Module | + | |{{ns:module}}=[[File:Template-info.svg|50px|link=]] Module Documentation |
− | |{{ns:widget}}=[[File:Template-info.svg|50px|link=]] Widget | + | |{{ns:widget}}=[[File:Template-info.svg|50px|link=]] Widget Documentation |
− | |#default= | + | |#default=Documentation |
}}</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|}}}| | ||
− | <!-- | + | <!--In-line Documentation-->[[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit]] |
|{{#ifexist: {{{1|{{Documentation/docname}}}}} | |{{#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 exist **-->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} View]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} Edit]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} History]] | ||
Line 15: | Line 15: | ||
--><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 | + | <!--Inlined Document**-->This is an in-line documentation. |
|{{#ifexist: {{{1|{{Documentation/docname}}}}} | |{{#ifexist: {{{1|{{Documentation/docname}}}}} | ||
− | |<!--**/doc exist**-->This [[ | + | |<!--**/doc exist**-->This [[enwp:Wikipedia:Template documentation|document]] is [[enwp:Wikipedia:Transclusion|transcluded]] 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> | ||
− |