Template:ModernFix
Template | Pages using it |
---|---|
2023-08-29 | |
{{Note}} | 5,964 |
{{Warning}} | 2,331 |
{{Bug}} | 1,550 |
{{Tip}} | 1,485 |
{{Todo}} | 1,551 |
{{Inline note}} | 955 |
{{Confirm}} {{ClassicConfirm}} |
691 + 324 |
{{Question}} | 4 |
{{ModernConfirm}} | 97 |
{{Fix}} {{ClassicFix}} |
174 + 33 |
{{ModernFix}} | 489 |
{{Important}} | 240 + 106 |
{{ModernImportant}} | 308 |
{{Clarify}} {{ClassicClarify}} |
154 + 105 |
{{Elaborate}} {{ClassicElaborate}} |
10 |
{{ModernElaborate}} | N/A (not created) |
{{Main}} | 121 |
{{Distinguish}} | 75 |
{{Workaround}} | 96 |
{{Seealso}} | 62 |
{{Why}} {{ClassicWhy}} |
21 |
{{Idea}} {{ClassicIdea}} |
11 |
{{Placement Tip}} {{ClassicPlacementTip}} |
6 + 2 |
{{Codenote}} {{Codenote}} |
10 |
{{Altnames}} | 13 |
{{Deprecated}} {{ClassicDeprecated}} |
34 + 25 |
{{How}} {{ClassicHow}} |
18 + 15 |
{{Notice}} | 15 + 10 |
{{Example}} | 3 |
{{Confusion}} | 3 + 1 |
{{Special thanks}} | 1 |
{{Thanks}} (Modern) | N/A |
This template is for marking a fix for a given issue.
Contents
Usage
Parameters
{{{1}}} - The note content, i.e. the text to show on the right. The characters =
and |
can break this template because they are special characters in template calls. Use {{=}}
and {{!}}
instead; See Category:Templates for within templates.
{{{2}}} - If this is equals code, the left text is replaced from Fix to Code Fix.
{{{suf}}} - Optional. This is a suffix that will be added to all elements of the template to display the content in the desired language (if it is translated into it).
Fix:There should be a colon before the language code, for example ":es".
Deprecated:
suf
-based translations are now deprecated. Instead please add new translations to {{Dictionary/notices}} instead, which now uses Autolang.
Examples
Wikitext | Result | |
---|---|---|
{{ModernFix}}
|
→ | ![]() |
{{ModernFix|This is an example text.}}
|
→ | ![]() |
text{{ModernFix|text}} text |
→ | 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.
![]() 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. |
{{ModernFix||code}}
|
→ | ![]() |
{{ModernFix|This is an example text.|code}}
|
→ | ![]() |
text{{ModernFix|text|code}} text |
→ | 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.
![]() 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 above documentation is transcluded from Template:ModernFix/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.
See also
- Template:Resolved - for technical and other problems within the wiki