Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
en>Celdrรธn (French was missing.) ย |
(Created page with "<div class="template-documentation"><!-- These are the literal class definitions in common.css: โโFor template documentation: .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px; } -->{{#ifeq:{{{heading|ฮผ}}}|<!--**DEFINED BUT EMPTY**--> |<!--**NOTHING**--> |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|ฮผ}}}|ฮผ...") |
||
| Line 1: | Line 1: | ||
<div class="template-documentation"><!-- | |||
- | These are the literal class definitions in common.css: | ||
- | /* For template documentation */ | ||
.template-documentation { | |||
ย ย clear: both; | |||
ย ย margin: 1em 0 0 0; | |||
-->{{# | ย ย border: 1px solid #aaa; | ||
- Documentation | ย ย background-color: #ecfcf4; | ||
--> | ย ย padding: 5px; | ||
<span style="font-size: | } | ||
<!-- | ย | ||
--> | ย | ||
--> | -->{{#ifeq:{{{heading|ฮผ}}}|<!--**DEFINED BUT EMPTY**--> | ||
- Documentation | ย |<!--**NOTHING**--> | ||
ย |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|ฮผ}}}|ฮผ | |||
ย |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}} | |||
ย ย |<!--**ย ย /doc EXISTS**ย -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] | |||
-->| {{# | ย ย |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]] | ||
ย ย ย | | ย }}</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}}| Template documentation|Documentation}}}}</span></div> | |||
}}<!-- | |||
ย | |||
--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!-- | |||
ย -->{{#ifexist: {{{1|{{Documentation/docname}}}}} | |||
ย |<!--**/doc EXISTS**-->This documentation is transcluded from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br /> | |||
}}<!-- | |||
ย | |||
-->{{#switch: {{SUBPAGENAME}} | |||
ย |sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**--> | |||
ย |#default= | |||
ย ย {{#switch: {{SUBJECTSPACE}} | |||
ย ย |{{ns:template}} | |||
ย ย ย |{{ns:user}}= | |||
ย ย ย {{#ifexist: {{FULLPAGENAME}}/sandbox | |||
ย ย ย |This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> <!-- | |||
ย ย ย ย -->{{#ifexist: {{FULLPAGENAME}}/testcases | |||
ย ย ย ย |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment. | |||
ย ย ย |{{#ifexist: {{FULLPAGENAME}}/testcases | |||
ย ย ย ย |This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.}} | |||
}}}}}} | |||
</div> | |||
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | |||
</div> | </div> | ||
Revision as of 12:35, 4 February 2024
[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] Template documentation