Template:Documentation/test1

From WikiSwire
Jump to navigation Jump to search

Template:Documentation/test1/core2

David's sandbox for {{documentation}}

Here David Göthberg is testing and showing new code versions. Please do not edit this page. If you want to experiment do so in {{documentation/sandbox}} or create your own subpage under {{documentation}} or in your own user space.

The box above is template code on this page, the boxes below are transclusions of this page. If you anyway have updated the code above then you have to purge this page to see the effect on the examples below.

The code in this test template usually works together with {{documentation/test1/core2}} and {{documentation/test1/core}}, but sometimes with {{documentation/core2}} and {{documentation/core}}.

Testing some code parts

1: +no+

2: User:Example

3: User:Example

4: User:Example

Testing {{documentation}} and {{documentation/test1}}

Even if the "content" parameter is fed, this template still shows the doc links if the doc page exists. This might seem strange, but see the explanation in the documentation of {{documentation}}, section "In-line content with [view][edit] links".

1a: {{Documentation}}

[create] Template documentation

1b: {{Documentation/test1}} Template:Documentation/test1/core2

2a: {{Documentation| Template:Tlf/doc }}

[create] Template documentation

2b: {{Documentation/test1| Template:Tlf/doc }} Template:Documentation/test1/core2

3a: {{Documentation| content = This is documentation. }}

Template documentation

This is documentation.

3b: {{Documentation/test1| content = This is documentation. }} Template:Documentation/test1/core2

4a: {{Documentation| Template:Tlf/doc | content = This is documentation. }}

Template documentation

This is documentation.

4b: {{Documentation/test1| Template:Tlf/doc | content = This is documentation. }} Template:Documentation/test1/core2

5a: {{Documentation| heading = New heading }}

[create] New heading

5b: {{Documentation/test1| heading = New heading }} Template:Documentation/test1/core2

6a: {{Documentation| Template:Tlf/doc | heading = New heading }}

[create] New heading

6b: {{Documentation/test1| Template:Tlf/doc | heading = New heading }} Template:Documentation/test1/core2

7a: {{Documentation| content = This is documentation. | heading = New heading }}

New heading

This is documentation.

7b: {{Documentation/test1| content = This is documentation. | heading = New heading }} Template:Documentation/test1/core2

8a: {{Documentation| Template:Tlf/doc | content = This is documentation. | heading = New heading }}

New heading

This is documentation.

8b: {{Documentation/test1| Template:Tlf/doc | content = This is documentation. | heading = New heading }} Template:Documentation/test1/core2

9a: {{Documentation| Template:Documentation/test1/core/doc }}

[create] Template documentation

9b: {{Documentation/test1| Template:Documentation/test1/core/doc }} Template:Documentation/test1/core2

10a: {{Documentation| content = ===Heading=== Text. ===Second heading=== }}

Template documentation

Heading

Text.

Second heading

10b: {{Documentation/test1| content = ===Heading=== Text. ===Second heading=== }} Template:Documentation/test1/core2

11a: {{Documentation| link box = off }}

[create] Template documentation

11b: {{Documentation/test1| link box = off }} Template:Documentation/test1/core2

12a: {{Documentation| heading = }}

12b: {{Documentation/test1| heading = }} Template:Documentation/test1/core2

13a: {{Documentation| heading = | link box = off }}

13b: {{Documentation/test1| heading = | link box = off }} Template:Documentation/test1/core2

14a: {{Documentation| heading = | link box = off | content = ===A heading=== }}

A heading

14b: {{Documentation/test1| heading = | link box = off | content = ===A heading=== }} Template:Documentation/test1/core2