Jump to content

Template:AddNewSection/testcases

From Wikipedia, the free encyclopedia
{{AddNewSection| Foo(page)
| Bar(display)
}}
Side by side comparison
{{AddNewSection}}{{AddNewSection/sandbox}}
Start a new section Start a new section


Main template

[edit]

{{AddNewSection}}

Code Output
{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post}}

post

{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post |colour=blue}}

post

{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post |color=blue |style=font-style:italic;}}

post

{{AddNewSection|Wikipedia:Village pump (policy) |post |color=blue |style=font-style:italic;color:green;}}

Start a new section

{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post |color=blue |style=font-style:italic;color:green;}}

post

Sandbox version

[edit]

{{AddNewSection/sandbox}}

Code Output
{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post}}

post

{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post |colour=blue}}

post

{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post |color=blue |style=font-style:italic;}}

post

{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post |color=blue |style=font-style:italic;color:green;}}

Start a new section

{{AddNewSection|Page=Wikipedia:Village pump (policy) |Text=post |color=blue |style=font-style:italic;color:green;}}

post