« Modèle:Documentation » : différence entre les versions
hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki
test0>Davidgothberg (Added a newline inside the comment, to make the code more readable (especially in lower screen resolutions).) |
test0>MSGJ (hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki) |
||
Ligne 36 : | Ligne 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}}}}} }} }}}} |