No edit summary
No edit summary
Line 43: Line 43:
  </div>
  </div>
  <div style="width: 100%;">{{
  <div style="width: 100%;">{{
  #if: {{{title|}}}
  #if: {{{title|}}}
  | <div style="font-weight: bold; display: inline">{{{title}}}</div>
  | <div style="font-weight: bold; display: inline">{{{title}}}</div>&nbsp;{{
}}
    #if: {{{discuss|}}}{{{discussPage|}}}{{{discussAnchor|}}}
    | <sup>[<nowiki/>{{DirectLink|{{
      #if: {{{discussPage|}}}
      | {{{discussPage}}}
      | {{TALKPAGENAME}}
    }}{{
      #if: {{{discussAnchor|}}}
      | &#35;{{{discussAnchor}}}
    }}|discuss}}</sup>
  }}
}}{{
  #if: {{{linkshere|}}}
  | <sup>{{#if:{{{discuss|}}}|, <nowiki/>|[<nowiki/>}}[[Special:WhatLinksHere/{{FULLPAGENAME}}|links]]{{#ifeq:{{NAMESPACENUMBER}}|6|, [[Special:GlobalUsage/{{PAGENAME}}|global usage]]}}<nowiki/>]</sup>
  | {{
    #if:{{{discuss|}}}
    |<sup>]</sup>
  }}
}}
  {{
  {{
   #if: {{{text|}}}
   #if: {{{text|}}}
Line 54: Line 71:
=== Documentation ===
=== Documentation ===


Examples:
==== Parameters ====
* '''discuss''' - Adds a [discuss] button that links to the talk page
* '''discussPage''' - Custom talk page link for the discuss button
* '''discussAnchor''' - Specific section anchor for the discuss link
* '''linkshere''' - Adds a [links] button to Special:WhatLinksHere
 
==== Examples ====
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{MessageBox
{{MessageBox
| type = minor
| type = minor
| title = Minor Edit Notice
| title = Minor edit notice
| 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.
}}
}}
Line 64: Line 87:
{{MessageBox
{{MessageBox
| type = minor
| type = minor
| title = Minor Edit Notice
| title = Minor edit notice
| 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.
}}
}}
Line 101: Line 124:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{MessageBox
{{MessageBox
|| type = major
| type = major
|| subtle = 1
| subtle = 1
|| title = Major Content Issue
| discuss = 1
|| text = This article contains significant problems including outdated information, broken links, and inaccurate gameplay mechanics descriptions.
| title = Major content issue
| text = This article contains significant problems including outdated information, broken links, and inaccurate gameplay mechanics descriptions.
 
}}
}}
</syntaxhighlight>
</syntaxhighlight>
{{MessageBox
{{MessageBox
|| type = major
| type = major
|| subtle = 1
| subtle = 1
|| title = Major Content Issue
| discuss = 1
|| text = This article contains significant problems including outdated information, broken links, and inaccurate gameplay mechanics descriptions.
| title = Major content issue
| text = This article contains significant problems including outdated information, broken links, and inaccurate gameplay mechanics descriptions.
}}
}}


Line 124: Line 150:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{MessageBox
{{MessageBox
| type = notice
|| type = notice
| mini = 1
|| mini = 1
| icon = 8
|| icon = 8
| bgcol = rgba(255, 235, 59, 0.1)
|| discuss = 1
| linecol = rgba(255, 235, 59, 0.3)
|| bgcol = rgba(255, 235, 59, 0.1)
| css = border-radius: 8px; font-style: italic;
|| linecol = rgba(255, 235, 59, 0.3)
| text = Notice: The wiki will be temporarily unavailable during the server migration next weekend.
|| css = border-radius: 8px; font-style: italic;
|| text = Notice: The wiki will be temporarily unavailable during the server migration next weekend.
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 137: Line 164:
| mini = 1
| mini = 1
| icon = 8
| icon = 8
| discuss = 1
| bgcol = rgba(255, 235, 59, 0.1)
| bgcol = rgba(255, 235, 59, 0.1)
| linecol = rgba(255, 235, 59, 0.3)
| linecol = rgba(255, 235, 59, 0.3)
Line 162: Line 190:
| css = box-shadow: 0 2px 8px rgba(255, 87, 34, 0.2);
| css = box-shadow: 0 2px 8px rgba(255, 87, 34, 0.2);
| text = Content issue detected: This article may contain outdated information. Please verify with latest game version.
| text = Content issue detected: This article may contain outdated information. Please verify with latest game version.
}}
---
<syntaxhighlight lang="wikitext">
{{MessageBox
| type = notice
| title = Template Usage
| linkshere = 1
| text = This template is used in several places across the wiki.
}}
</syntaxhighlight>
{{MessageBox
| type = notice
| title = Template Usage
| linkshere = 1
| text = This template is used in several places across the wiki.
}}
}}