Template:Done/testcases

From blackwiki
Jump to navigation Jump to search
Plain test
{{Done}}
{{Done}}
 Done
{{Done/sandbox}}
 Done

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}}
{{Done}}
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
{{Done/sandbox}}
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}}
{{Done}}
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
{{Done/sandbox}}
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}}
{{Done}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim  Done
{{Done/sandbox}}
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)
{{Done}}
 Done. --User:Example (User talk:Example) 23:59, 31 April 2020 (UTC)
{{Done/sandbox}}
 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)
{{Done}}
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)
{{Done/sandbox}}
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)
{{Done}}
{{Done/sandbox}}
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)
{{Done}}
{{Done/sandbox}}

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.}}
{{Done}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ...  Done: This is a reason. It should be allowed to wrap.
{{Done/sandbox}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ...  Done: 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.}}
{{Done}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ...  Nailed it, baby!: This is a reason. It should be allowed to wrap.
{{Done/sandbox}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ...  Nailed it, baby!: 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)}}
{{Done}}

change ((Python)) to ((Python (mythology)|Python))

 Done. Example (talk) 11:22, 23 November 2019 (UTC)
{{Done/sandbox}}

change ((Python)) to ((Python (mythology)|Python))

 Done. 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)}}
{{Done}}
 Done, blacklisted. Example (talk) 11:22, 23 November 2019 (UTC)
{{Done/sandbox}}
 Done, blacklisted. 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)}}
{{Done}}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ... to prevent confusing readers.

--Example (talk) 12:23, 12 November 2012 (UTC)

{{Done/sandbox}}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ... to prevent confusing readers.

--Example (talk) 12:23, 12 November 2012 (UTC)

inside {{resbox}}
{{resbox|{{Done}}}}
{{Done}}
Template:Resbox
{{Done/sandbox}}
Template:Resbox
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}}
{{Done}}
Media / International relations  Done
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
  • ""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do" change to "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do"
 Done Example (talk) 11:55, 23 November 2019 (UTC)
{{Done/sandbox}}
Media / International relations  Done
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
  • ""Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do" change to "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do"
 Done Example (talk) 11:55, 23 November 2019 (UTC)
at the end of {{hide}}
{{hide|bg1=powderblue|contentcss=border:1px powderblue solid;padding:10px;|header=Resolved comments|content=
*{{Gray|"{{Lorem|1}}"}} {{Done}}}}
{{Done}}
Resolved comments
  • "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 ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."  Done
{{Done/sandbox}}
Resolved comments
  • "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 ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."  Done
inside {{like}}
*{{like|{{Done|1={{tl|sofixit}}}}}}
{{Done}}
{{Done/sandbox}}
  • 👍  {{sofixit}}
  • inside {{archive top}}
    {{archive top|{{Done}} {{gray|a sentence has been changed}}}}
    {{gray|{{Lorem}}}}
    {{archive bottom}}
    {{Done}}
    Template:Quote box
    The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

    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 ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


    The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
    {{Done/sandbox}}
    Template:Quote box
    The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

    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 ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


    The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
    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}}
    }}
    |}
    {{Done}}
    Rate Attribute Review Comment
    1. {{Wikipedia:Good article criteria/GAC|1}}:
    1a}}.  Done - all of the following have been resolved:
    • Prose, grammar and spelling.
    • Further explain sentences or portions of sentences where the meaning may be unknown to the reader.
    • A few tense issues
    {{Done/sandbox}}
    Rate Attribute Review Comment
    1. {{Wikipedia:Good article criteria/GAC|1}}:
    1a}}.  Done - all of the following have been resolved:
    • Prose, grammar and spelling.
    • Further explain sentences or portions of sentences where the meaning may be unknown to the reader.
    • 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>
    {{Done}}
    The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.

    Template:Outcome

    The above discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.
    {{Done/sandbox}}
    The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.

    Template:Outcome

    The above discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.

    With signatures

    |1= with &nbsp; in the signature
    {{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
    {{Done|updated}} &mdash;&nbsp;{{Gray|[[User:Example|Example]] ([[User talk:Example|talk]]) 11:22, 23 November 2019 (UTC)}}
    {{Done}}

    Example (talk) 11:22, 23 November 2019 (UTC)

     updated — Example (talk) 11:22, 23 November 2019 (UTC)
    {{Done/sandbox}}

    Example (talk) 11:22, 23 November 2019 (UTC)

     updated — 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)}}
    {{Done}}
     Done Example (talk) 11:22, 23 November 2019 (UTC)
    Sorry, you forgot foobar. Example (talk) 11:33, 23 November 2019 (UTC)
     Done Example (talk) 11:44, 23 November 2019 (UTC)
    {{Done/sandbox}}
     Done Example (talk) 11:22, 23 November 2019 (UTC)
    Sorry, you forgot foobar. Example (talk) 11:33, 23 November 2019 (UTC)
     Done 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)}}
    {{Done}}
    Template:Od Done Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Example (talk) 11:33, 24 November 2019 (UTC)
    {{Done/sandbox}}
    Template:Od Done Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 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)}}
    {{Done}}
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Example (talk) 11:22, 23 November 2019 (UTC)
     Move done Example (talk) 11:33, 24 November 2019 (UTC)
    {{Done/sandbox}}
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Example (talk) 11:22, 23 November 2019 (UTC)
     Move done 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.}}
    {{Done}}
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.  All completed Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    {{Done/sandbox}}
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.  All completed 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]}}
    {{Done}}
     Done
    {{Done/sandbox}}
     Done
    |1={{diff|...}}
    {{Done|1={{diff|Template:Done|73606702|74091492|fixed}}}}
    {{Done}}
     fixed
    {{Done/sandbox}}
     fixed
    |1=wikilink
    {{Done|1=[[Special:Contributions/Example]]}}
    {{Done}}
     Special:Contributions/Example
    {{Done/sandbox}}
     Special:Contributions/Example