Template:MessageBox: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 70: | Line 70: | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
=== Documentation === | === Documentation === | ||
This template is used to add consistent styling to message boxes. | |||
== Usage == | == Usage == | ||
| Line 113: | Line 113: | ||
| text = This page contains minor formatting improvements and spelling corrections. No major content changes were made. | | text = This page contains minor formatting improvements and spelling corrections. No major content changes were made. | ||
}} | }} | ||
{{-}} | |||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{MessageBox | {{MessageBox | ||
| Line 129: | Line 129: | ||
| text = This page has been nominated for deletion due to lack of content. Please review and vote. | | text = This page has been nominated for deletion due to lack of content. Please review and vote. | ||
}} | }} | ||
- | {{-}} | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{MessageBox | {{MessageBox | ||
| Line 144: | Line 145: | ||
| text = Important information: Server maintenance scheduled for tonight from 2 AM to 4 AM UTC. | | text = Important information: Server maintenance scheduled for tonight from 2 AM to 4 AM UTC. | ||
}} | }} | ||
- | {{-}} | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{MessageBox | {{MessageBox | ||
| Line 161: | Line 163: | ||
| text = This article contains significant problems including outdated information, broken links, and inaccurate gameplay mechanics descriptions. | | text = This article contains significant problems including outdated information, broken links, and inaccurate gameplay mechanics descriptions. | ||
}} | }} | ||
{{-}} | |||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{MessageBox | {{MessageBox | ||
| Line 184: | Line 179: | ||
| text = This template is used in several places across the wiki. | | text = This template is used in several places across the wiki. | ||
}} | }} | ||
{{-}} | |||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{MessageBox | {{MessageBox | ||
| Line 206: | Line 201: | ||
| text = Notice: The wiki will be temporarily unavailable during the server migration next weekend. | | text = Notice: The wiki will be temporarily unavailable during the server migration next weekend. | ||
}} | }} | ||
- | {{-}} | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{MessageBox | {{MessageBox | ||
| Line 228: | Line 224: | ||
}} | }} | ||
== | == Source == | ||
This template is a fork of [https://minecraft.wiki/w/Template:message_box Minecraft Wiki's message_box template] and is quite complex in its implementation. | This template is a fork of [https://minecraft.wiki/w/Template:message_box Minecraft Wiki's message_box template] and is quite complex in its implementation. | ||
This template is used for creating local informational messages. In most cases, it is recommended to use standalone templates created based on it rather than using MessageBox directly. Styles are described on the MediaWiki:Common.css page. | This template is used for creating local informational messages. | ||
In most cases, it is recommended to use standalone templates created based on it rather than using MessageBox directly. | |||
Styles are described on the MediaWiki:Common.css page. | |||