Template:ModernExample
View | Edit | Page history | … |
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 |
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.
{{{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).
Note:There should be a colon before the language code, for example ":es".
Warning:It is not recommended for use, as it will be removed in the future. Language detection will be automatic from now on. Use "
{{autolang}}
" instead.
Examples
{{ModernExample}} | → | ![]()
|
{{ModernExample|This is an example text.}} | → | ![]() |
{{ModernExample| Enumeration # Enum # Eration }} |
→ | ![]() Enumeration
|
text {{ModernExample|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. |
The above documentation is transcluded from Template:ModernNote/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.