• 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)
 
m
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{border|}}}
+
<table style="{{{style|}}}" class="plainlinks ambox ambox-type-{{{type|notice}}}">
  | red        = ambox-red
 
  | orange      = ambox-orange
 
  | yellow      = ambox-yellow
 
  | purple      = ambox-purple
 
  | blue        = ambox-blue
 
  | green      = ambox-green
 
  | gray        = ambox-gray
 
  | #default    = ambox-green
 
}}">
 
 
<tr>
 
<tr>
<td class="ambox-image">{{{image|[[Image:Wiki.png|50px]]}}}</td>
+
<td>{{{image|}}}
<td style="padding: 0.25em 0.5em;">{{{type|}}}
+
</td>
<div class="ambox-smalltext">
+
<td class="mbox-text" style="{{{textstyle|}}}">{{{text}}}</td>
{{{info|}}}
+
</tr>
</div></td></tr></table></onlyinclude>
+
</table>
 +
 
 +
<noinclude>
 
{{documentation}}
 
{{documentation}}
 +
[[Category:Templates]]
 +
</noinclude>

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