Difference between revisions of "Template:Documentation"
From Bashlinux
Line 1: | Line 1: | ||
− | <div style="clear:both;margin:1em 0;border:1px solid #aaa;background:# |
+ | <div style="clear:both;margin:1em 0;border:1px solid #aaa;background:#cfe773;padding:.5em" class="template-documentation"><!-- |
These are the literal class definitions in common.css: |
These are the literal class definitions in common.css: |
||
Line 8: | Line 8: | ||
margin: 1em 0 0 0; |
margin: 1em 0 0 0; |
||
border: 1px solid #aaa; |
border: 1px solid #aaa; |
||
− | background: # |
+ | background: #9cc; |
padding: .5em; |
padding: .5em; |
||
} |
} |
||
Line 16: | Line 16: | ||
|<div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ |
|<div style="padding-bottom:3px;border-bottom:1px solid #aaa;margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ |
||
|<span class="mw-editsection plainlinks" id="doc_editlinks" style="float:right; margin-right:0.50em;">{{#ifexist:{{{1|{{Documentation/docname}}}}} |
|<span class="mw-editsection plainlinks" id="doc_editlinks" style="float:right; margin-right:0.50em;">{{#ifexist:{{{1|{{Documentation/docname}}}}} |
||
− | |<!--** /doc |
+ | |<!--** /doc EXISTS** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} view]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history]] [{{purge|purge}}] |
− | |<!--**/doc |
+ | |<!--**/doc DOESNT EXISTS**-->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload=Template:Documentation/preload}} create]] |
}}</span> |
}}</span> |
||
}} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight:bold;font-size:125%|font-size:150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Ambox_information_blue.png|40px]] Template documentation|Documentation}}}}</span></div> |
}} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight:bold;font-size:125%|font-size:150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Ambox_information_blue.png|40px]] Template documentation|Documentation}}}}</span></div> |
Revision as of 23:55, 2 June 2015
{{#ifeq:μ|
||
{{#ifeq:μ|μ
Template documentation|Documentation}}}}
}} |{{#ifexist:{{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Documentation/doc
}}
|[[{{fullurl:{{#switch: Documentation |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}}} view]] [[{{fullurl:{{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}|action=edit}} edit]] [[{{fullurl:{{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}|action=history}} history]] [[[:Template:Purge]]]
|[[{{fullurl:{{#switch: Documentation |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|

{{#ifexist:{{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}
|This documentation is transcluded from [[{{#switch: Documentation |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}]]. ([{{fullurl:{{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}|action=history}} history])
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
}}{{#switch:Documentation
|sandbox|testcases= |#default= {{#switch:Template |Template |User= {{#ifexist:Template:Documentation/sandbox |This template has a sandbox ([{{fullurl:{{#rel2abs:/sandbox}}|action=edit}} edit]) {{#ifexist:Template:Documentation/testcases |and testcases ([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Documentation/testcases |This template has testcases ([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:||{{#ifexist:{{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}|{{ {{#switch: Documentation
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Documentation/doc
}}}}}}}}