Template:Documentation/core: Difference between revisions
Content deleted Content added
imported>Davidgothberg If "content" fed, don't link the /doc page. (Good thing I do detailed testing.) |
imported>Davidgothberg Revert my last edit and fix some related code: The doc of {{documentation}} shows a case when "content" is fed AND the /doc links are needed. So back to linking the /doc page if it exists. |
||
Line 45:
-->{{#if:
<!--Check if we need the small box-->
{{
▲ }}{{#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{ns:Template}} = yes
Line 57 ⟶ 55:
| style = background-color: #ecfcf4;
| text =
''{{#if: {{{
|
▲ The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br>
}}<!--
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:User}}
|