Template:Done/testcases
| This is the template test cases page for the sandbox of Template:Done. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
| Plain test | ||||
|---|---|---|---|---|
{{Done}}
|
Contents
After text
| At the end of a line | ||||
|---|---|---|---|---|
{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud}} {{Done}}
|
| At the end of a long line | ||||
|---|---|---|---|---|
{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi}} {{Done}}
|
| At the end of a short line | ||||
|---|---|---|---|---|
{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim}} {{Done}}
|
Before text
Indented with : | ||||
|---|---|---|---|---|
:{{Done}}. --[[User:Example]] ([[User talk:Example]]) 23:59, 31 April 2020 (UTC)
|
Indented with :: | ||||
|---|---|---|---|---|
:{{Gray|Could you please do something? --[[User:Example]] ([[User talk:Example]]) 00:00, 31 April 2020 (UTC)}}
::{{Done}}. --[[User:Example]] ([[User talk:Example]]) 23:59, 31 April 2020 (UTC)
|
Indented with * | ||||
|---|---|---|---|---|
*{{Done}}. --[[User:Example]] ([[User talk:Example]]) 23:59, 31 April 2020 (UTC)
|
Indented with ** | ||||
|---|---|---|---|---|
*{{Gray|Could you please do something? --[[User:Example]] ([[User talk:Example]]) 00:00, 31 April 2020 (UTC)}}
**{{Done}}. --[[User:Example]] ([[User talk:Example]]) 23:59, 31 April 2020 (UTC)
|
With parameters
With |reason= | ||||
|---|---|---|---|---|
{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ...}} {{Done|reason=This is a reason. It should be allowed to wrap.}}
|
With |1= and |reason= | ||||
|---|---|---|---|---|
{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ...}} {{Done|1=Nailed it, baby!|reason=This is a reason. It should be allowed to wrap.}}
|
Copied uses from the wild
| A wild example | ||||
|---|---|---|---|---|
{{Gray|change ((Python)) to ((Python (mythology){{!}}Python))}}
:{{Done}}. {{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
|
| with a comma | ||||
|---|---|---|---|---|
{{Done}}, {{Gray|blacklisted. [[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
|
Inside templates
| inside {{Diff}} | ||||
|---|---|---|---|---|
{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ... to prevent confusing readers.}}
{{Gray|--[[User:Example|Example]] ([[User talk:Example|talk]]) 12:23, 12 November 2012 (UTC)}}
* {{Diff|Dialectical materialism|next|583232643|{{Done}}}} {{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 12:34, 45 November 2014 (UTC)}}
|
| inside {{resbox}} | ||||
|---|---|---|---|---|
{{resbox|{{Done}}}}
|
| inside {{Cot}}, from GA discussions | ||||||||
|---|---|---|---|---|---|---|---|---|
{{Cot|title=Media / International relations {{Done}}}}
*{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do}}
**{{Done}} {{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:44, 23 November 2019 (UTC)}}
*"{{Gray|"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do" change to "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do"}}
::{{Done}} {{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:55, 23 November 2019 (UTC)}}
{{Cob}}
|
| at the end of {{hide}} | ||||
|---|---|---|---|---|
{{hide|bg1=powderblue|contentcss=border:1px powderblue solid;padding:10px;|header=Resolved comments|content=
*{{Gray|"{{Lorem|1}}"}} {{Done}}}}
|
| inside {{like}} | ||||
|---|---|---|---|---|
*{{like|{{Done|1={{tl|sofixit}}}}}}
|
| inside {{archive top}} | ||||
|---|---|---|---|---|
{{archive top|{{Done}} {{gray|a sentence has been changed}}}}
{{gray|{{Lorem}}}}
{{archive bottom}}
|
| inside {{GATable/item}} | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| class="wikitable"
! width="30" | Rate
! width="300"| [[WP:GACR|Attribute]]
! | Review Comment
|-
| colspan="3" | '''1.''' {{gray|{{Wikipedia:Good article criteria/GAC|1}}:}}
{{GATable/item|1a|good|{{Done}} {{gray|- all of the following have been resolved:}}
* {{gray|Prose, grammar and spelling.}}
* {{gray|Further explain sentences or portions of sentences where the meaning may be unknown to the reader.}}
* {{gray|A few tense issues}}
}}
|}
| ||||||||||||||||||||||
| inside {{outcome}} | ||||
|---|---|---|---|---|
<div class="boilerplate discussion-archived" style="background-color: #f5f3ef; overflow:auto; margin: 1em 0 0 0; padding: 0 10px 0 10px; border: 1px solid #aaa">
:''The following discussion is closed. '''Please do not modify it.''' Subsequent comments should be made in a new section.'' <!-- from Template:discussion top-->
{{outcome|{{Done}} [[WP:BRD]]}}
:''The above discussion is closed. '''Please do not modify it.''' Subsequent comments should be made in a new section.''<!-- from Template:discussion bottom --></div>
|
With signatures
|1= with in the signature | ||||
|---|---|---|---|---|
{{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
{{Done|updated}} — {{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
|
Different indentation
indented : and ::: | ||||
|---|---|---|---|---|
:{{Done}} {{Gray|— [[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
::{{Gray|Sorry, you forgot foobar. [[User:Example|Example]] ([[User talk:Example|talk]]) 11:33, 23 November 2019 (UTC)}}
:::{{Done}} {{Gray|— [[User:Example|Example]] ([[User talk:Example|talk]]) 11:44, 23 November 2019 (UTC)}}
|
| indented with {{od}} | ||||
|---|---|---|---|---|
{{od}}{{Done}} {{Gray|Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. [[User:Example|Example]] ([[User talk:Example|talk]]) 11:33, 24 November 2019 (UTC)}}
|
indented with ::::::::::::::: | ||||
|---|---|---|---|---|
::::::::::::::{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. [[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
:::::::::::::::{{Done|Move done}} {{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:33, 24 November 2019 (UTC)}}
|
Different first positional parameter
|1=multiple words | ||||
|---|---|---|---|---|
{{Gray|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}} {{Done|All completed}} {{Gray|Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
|
|1=a URL link | ||||
|---|---|---|---|---|
{{Done|1=[https://en.wikipedia.org/w/index.php?title=Template%3ADone&type=revision&diff=74091492&oldid=73606702 Done]}}
|
|1={{diff|...}} | ||||
|---|---|---|---|---|
{{Done|1={{diff|Template:Done|73606702|74091492|fixed}}}}
|
|1=wikilink | ||||
|---|---|---|---|---|
{{Done|1=[[Special:Contributions/Example]]}}
|