• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Ambox"

From Kancolle Wiki
Jump to navigation Jump to search
(import)
 
(Custom Ambox)
Line 1: Line 1:
<onlyinclude><table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}}
+
<noinclude>
  | red        = ambox-red
+
==Documentation==
  | orange      = ambox-orange
+
To be used on articles when the content has issues.
  | yellow      = ambox-yellow
+
 
  | purple      = ambox-purple
+
===Code===
  | blue        = ambox-blue
+
<pre>
  | green      = ambox-green
+
{{Ambox
  | gray        = ambox-gray
+
|type =
  | #default   = ambox-green
+
|message =
}}">
+
|users =
<tr>
+
}}
<td class="ambox-image">{{{image|[[Image:Wiki.png|50px]]}}}</td>
+
</pre>
<td style="padding: 0.25em 0.5em;">{{{type|}}}
+
 
<div class="ambox-smalltext">
+
===Types===
{{{info|}}}
+
* construction
</div></td></tr></table></onlyinclude>
+
* translation
{{documentation}}
+
* delete
 +
* cleanup
 +
* notice
 +
* move
 +
* protection
 +
* renovate
 +
 
 +
 
 +
==Implementation==
 +
</noinclude>
 +
<div style="{{{style|}}}" class="plainlinks ambox">
 +
<div class="ambox-image">
 +
{{#switch:{{{type|}}}
 +
|construction = [[File:AMBox_Cnstruction.png|50px]]
 +
|translation = [[File:AMBox_Translation.png|50px]]
 +
|delete = [[File:AMBox_Deletion.png|50px]]
 +
|cleanup = [[File:AMBox_Cleanup.png|50px]]
 +
|notice = [[File:AMBox_Notice.png|50px]]
 +
|move = [[File:AMBox_Move.png|50px]]
 +
|protection = [[File:AMBox_Protection.png|50px]]
 +
|renovate = [[File:AMBox_Renovate.png|50px]]
 +
|#default = [[File:Wiki.png|50px]]
 +
}}
 +
</div>
 +
<div class="ambox-content">
 +
<div class="ambox-title">
 +
{{#switch:{{{type|}}}
 +
|construction = This article is under construction
 +
|translation = This article needs translation
 +
|delete = This article is currently marked for deletion
 +
|cleanup = This article needs cleanup
 +
|notice = Notice
 +
|move = This article is suggested to be moved or merged
 +
|protection = This article's protection level should be discussed
 +
|renovate = This article is being renovated in a sandbox page
 +
|#default = Notice
 +
}}
 +
</div>
 +
<div class="ambox-description">{{{message|}}}</div>
 +
<div class="ambox-promoter">{{{users|}}}</div>
 +
<div class="ambox-learn">[[Template:Ambox|Learn more about Ambox (Article Message Box)]]/div>
 +
</div>
 +
</div>

Revision as of 15:48, 16 March 2015

Documentation

To be used on articles when the content has issues.

Code

{{Ambox
|type = 
|message = 
|users = 
}}

Types

  • construction
  • translation
  • delete
  • cleanup
  • notice
  • move
  • protection
  • renovate


Implementation