Template:Documentation: Difference between revisions

Content deleted Content added
imported>ConradPino
merging: copy from sandbox; new content & sandbox-testcases parameters, better sandbox testcases links
imported>ConradPino
copy from sandbox: {{SUBJECTPAGENAME}}/doc -> {{Documentation/docname}}
Line 15:
#if: {{{heading|Documentation}}}
|<!-- has heading --><div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom: {{{heading-margin|1ex}}}"><span class="editsection plainlinks" id="doc_editlinks">{{
#ifexist: {{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}
|<!-- /doc exists -->[[{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}}} view]] [[{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}|action=edit}} edit]]
|<!-- no /doc -->{{
#if: {{{content|}}}
|<!-- has content -->
|<!-- no content -->[[{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}|action=edit&preload=Template:Documentation/preload}} edit]]
}}
}}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div>
Line 27:
#ifeq: {{{transcluded|show}}} | show
|<!-- transcluded show -->{{
#ifexist: {{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}
|<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}]]. <small style="font-style: normal">([[{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}|view]] &#124; [{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}}|action=history}} history])</small><br />
|<!-- no /doc -->
}}
Line 54:
}}
}}</div>
{{{content|{{ {{ #ifexist: {{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}} | {{{1|{{SUBJECTPAGENAMEDocumentation/docname}}/doc}}} | ns:0 }} }}}}}
</div>