• 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
m (Ambox Type)
m
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<table style="{{{style|}}}" class="plainlinks ambox ambox-type-{{{type|notice}}}">
 +
<tr>
 +
<td>{{{image|}}}
 +
</td>
 +
<td class="mbox-text" style="{{{textstyle|}}}">{{{text}}}</td>
 +
</tr>
 +
</table>
 +
 
<noinclude>
 
<noinclude>
==Documentation==
+
{{documentation}}
To be used on articles when the content has issues.
+
[[Category:Templates]]
 
 
===Code===
 
<pre>
 
{{Ambox
 
|type =
 
|message =
 
|users =
 
}}
 
</pre>
 
 
 
===Types===
 
* construction
 
* translation
 
* delete
 
* cleanup
 
* notice
 
* move
 
* protection
 
* renovate
 
 
 
 
 
==Implementation==
 
 
</noinclude>
 
</noinclude>
<div style="{{{style|}}}" class="plainlinks ambox ambox-type-{{{type|}}}">
 
<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>
 

Latest revision as of 15:05, 21 March 2017


Template-info.png Template documentation [view] [edit] [history] [purge]

See Also

Documentation

To be used on articles when the content has issues.

Sample Code

{{Ambox
|type = protection
|title = This page is locked because of an edit war.
|message = If you want to discuss the issue, please check this thread.
|user_act = Edit war between:
|users = [[Special:Contributions/190.27.112.124|190.27.112.124]] and [[Special:Contributions/69.120.133.5|69.120.133.5]]
}}

Parameters

  • type (required) List of types can be seen below
  • title (optional) The bold text in the description
  • message (optional) The normal text that comes after title
  • user_act (optional) Phase before the users e.g. "Proposed by: "
  • users (required) List of involved users and links to their profiles


Types

construction


translation


delete


cleanup


notice


move


protection


renovate