Template:Done/doc: Difference between revisions
imported>Deadfire m Updating |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 14: | Line 14: | ||
| 1st parameter (unnamed or named <code>1</code>) for a custom message|| {{tlx|done|Implemented}} || {{done|Implemented}} | | 1st parameter (unnamed or named <code>1</code>) for a custom message|| {{tlx|done|Implemented}} || {{done|Implemented}} | ||
|- | |- | ||
| 1st parameter (unnamed or named <code>1</code>) for a linked custom message|| {{tlx|done|1{{=}}<nowiki>[[ | | 1st parameter (unnamed or named <code>1</code>) for a linked custom message|| {{tlx|done|1{{=}}<nowiki>[[BattleIntelligence:Templates for discussion|Implemented]]</nowiki>}} || {{done|1=[[BattleIntelligence:Templates for discussion|Implemented]]}} | ||
|- | |- | ||
| if only 2nd parameter is needed (to give a reason), it has to be named <code>2</code> or <code>reason</code> or <code>note</code> || {{tlx|done|reason{{=}}after consensus.}} || {{done|reason=after consensus.}} | | if only 2nd parameter is needed (to give a reason), it has to be named <code>2</code> or <code>reason</code> or <code>note</code> || {{tlx|done|reason{{=}}after consensus.}} || {{done|reason=after consensus.}} | ||
Latest revision as of 00:08, 1 May 2025
| This is a documentation subpage for Template:Done. It may contain usage information, categories and other content that is not part of the original template page. |
This template is often used on Talk pages to show clearly that a section of discussion has been resolved, so that each editor does not have to re-read the section.
Usage
You may either use {{done}} by itself for the default message or you may customize with optional parameters.
| Parameters | Code example | Result |
|---|---|---|
| none | {{done}} |
|
1st parameter (unnamed or named 1) for a custom message |
{{done|Implemented}} |
|
1st parameter (unnamed or named 1) for a linked custom message |
{{done|1=[[BattleIntelligence:Templates for discussion|Implemented]]}} |
|
if only 2nd parameter is needed (to give a reason), it has to be named 2 or reason or note |
{{done|reason=after consensus.}} |
|
| if 1st and 2nd parameter are combined, both can be unnamed | {{done|Implemented|after consensus.}} |
Example
|
I think the article is biased in favour of the school. --John
|
TemplateData
{ "description": "This template adds a green tick mark with text and is often used on talk pages to show clearly that a section of discussion has been resolved, so that each editor does not have to re-read the section.", "params": { "1": { "label": "Custom message", "type": "content", "default": "Done", "description": "Enter an individual message to replace the default 'Done' text." },
"2": {
"label": "Reason",
"aliases": [ "reason", "note" ],
"type": "content",
"description": "Text to follow the text 'Done'"
}
} }