Template:Documentation/core: Difference between revisions

From Donate
Jump to navigation Jump to search
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: Line 48:
Small box below for the doc meta-data.
Small box below for the doc meta-data.
-->{{#if:
-->{{#if:
<!--Check if we need the small box-->
<!--Check if we should show the small box-->
{{{doc exist|yes}}}{{
{{#ifeq: {{{link box|}}} | off
|
#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{{doc exist|yes}}}{{
#switch: {{SUBJECTSPACE}}
| {{ns:Template}} = yes
| {{ns:User}}
| {{ns:Template}} = yes
}}
}}
}}



Revision as of 23:17, 9 February 2010

[edit] [Purge] Template documentation

Template:Documentation/core/doc

The above documentation is transcluded from Template:Documentation/core/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.

Template:Pp-template