- 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"
Jump to navigation
Jump to search
IbarakiIbuki (talk | contribs) |
IbarakiIbuki (talk | contribs) (overhaul to make this more like the other mbox templates) |
||
Line 1: | Line 1: | ||
− | < | + | <table style="{{{style|}}}" class="plainlinks ambox ambox-type-{{{type|}}}"> |
− | < | + | <tr> |
+ | <td> | ||
+ | {{#if: {{{image|}}} | {{{image}}} | | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
|construction = [[File:AMBox_construction.png|40px|link=]] | |construction = [[File:AMBox_construction.png|40px|link=]] | ||
Line 12: | Line 14: | ||
|#default = [[File:Wiki.png|40px|link=]] | |#default = [[File:Wiki.png|40px|link=]] | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | </td> | |
− | + | <td class="mbox-text" style="{{{textstyle|}}}">{{{text}}}<br>[[:Template:Ambox|Learn more about Amboxes]]</td> | |
− | + | {{#if:{{{imageright|}}} | |
− | + | | <td class="mbox-imageright"> {{{imageright}}} </td> | |
− | + | }} | |
− | + | </tr> | |
− | + | </table> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
<noinclude> | <noinclude> |
Revision as of 14:43, 21 March 2017
|
{{{text}}} Learn more about Amboxes |
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
|
{{{text}}} Learn more about Amboxes |
translation
|
{{{text}}} Learn more about Amboxes |
delete
|
{{{text}}} Learn more about Amboxes |
cleanup
|
{{{text}}} Learn more about Amboxes |
notice
|
{{{text}}} Learn more about Amboxes |
move
|
{{{text}}} Learn more about Amboxes |
protection
|
{{{text}}} Learn more about Amboxes |
renovate
|
{{{text}}} Learn more about Amboxes |