Template:Documentation/core: Difference between revisions

Content deleted Content added
imported>Davidgothberg
The empty div gave extra newlines sometimes. A line break before the if-case is better, and it fixes it for "content" input too. This is how the old version of {{documentation}} did it.
imported>Davidgothberg
Adding the "link box = off" parameter.
Line 48:
Small box below for the doc meta-data.
-->{{#if:
<!--Check if we needshould show the small box-->
{{#ifeq: {doc{{link existbox|yes}}}{{ | off
|
#switch: {{SUBJECTSPACE}}
| {{ns:User{doc exist|yes}}}{{
#switch: {{SUBJECTSPACE}}
| {{ns:Template}} = yes
| {{ns:User}}
| {{ns:Template}} = yes
}}
}}