Difference between revisions of "Template:Documentation"

From Bashlinux
Jump to: navigation, search
Line 1: Line 1:
<div style="clear:both;margin:1em 0;border:1px solid #aaa;background:#ecfcf4;padding:.5em" class="template-documentation"><!--
+
<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: #ecfcf4;
+
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 EXISTE** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} view]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history]] [{{purge|purge}}]
+
|<!--** /doc EXISTS** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} view]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history]] [{{purge|purge}}]
|<!--**/doc NÃO EXISTE**-->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload=Template:Documentation/preload}} create]]
+
|<!--**/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:μ|μ
   |{{#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|Ambox information blue.png Template documentation|Documentation}}}}
}}

{{#if:||{{#ifexist:{{#switch: Documentation

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Documentation/doc

}}|{{ {{#switch: Documentation

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Documentation/doc

}}}}}}}}