Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
m>Davidgothberg Added a newline inside the comment, to make the code more readable (especially in lower screen resolutions). |
m>MSGJ hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki |
||
Line 36: | Line 36: | ||
-->{{#ifexist: {{{1|{{Documentation/docname}}}}} | -->{{#ifexist: {{{1|{{Documentation/docname}}}}} | ||
|<!--**/doc EXISTS**-->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|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 /> | |<!--**/doc EXISTS**-->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|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 /> | ||
}} | }}{{Documentation/links}}<!-- Add links to /sandbox and /testcases when appropriate --> | ||
</div> | </div> | ||
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | {{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} |