Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
m>ConradPino merging: copy from sandbox; new content & sandbox-testcases parameters, better sandbox testcases links |
m>ConradPino copy from sandbox: {{SUBJECTPAGENAME}}/doc -> {{Documentation/docname}} |
||
Line 15: | Line 15: | ||
#if: {{{heading|Documentation}}} | #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">{{ | |<!-- 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|{{ | #ifexist: {{{1|{{Documentation/docname}}}}} | ||
|<!-- /doc exists -->[[{{fullurl:{{{1|{{ | |<!-- /doc exists -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} view]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]] | ||
|<!-- no /doc -->{{ | |<!-- no /doc -->{{ | ||
#if: {{{content|}}} | #if: {{{content|}}} | ||
|<!-- has content --> | |<!-- has content --> | ||
|<!-- no content -->[[{{fullurl:{{{1|{{ | |<!-- no content -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload=Template:Documentation/preload}} edit]] | ||
}} | }} | ||
}}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div> | }}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div> | ||
Line 27: | Line 27: | ||
#ifeq: {{{transcluded|show}}} | show | #ifeq: {{{transcluded|show}}} | show | ||
|<!-- transcluded show -->{{ | |<!-- transcluded show -->{{ | ||
#ifexist: {{{1|{{ | #ifexist: {{{1|{{Documentation/docname}}}}} | ||
|<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{ | |<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">([[{{{1|{{Documentation/docname}}}}}|view]] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br /> | ||
|<!-- no /doc --> | |<!-- no /doc --> | ||
}} | }} | ||
Line 54: | Line 54: | ||
}} | }} | ||
}}</div> | }}</div> | ||
{{{content|{{ {{ #ifexist: {{{1|{{ | {{{content|{{ {{ #ifexist: {{{1|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}}}} | ns:0 }} }}}}} | ||
</div> | </div> |