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_construction.png|40px|link=]]
| |
− | |translation = [[File:AMBox_translation.png|40px|link=]]
| |
− | |delete = [[File:AMBox_warning.png|40px|link=]]
| |
− | |cleanup = [[File:AMBox_cleanup.png|40px|link=]]
| |
− | |notice = [[File:AMBox_information.png|40px|link=]]
| |
− | |move = [[File:AMBox_move.png|40px|link=]]
| |
− | |protection = [[File:AMBox_protection.png|40px|link=]]
| |
− | |renovate = [[File:AMBox_construction.png|40px|link=]]
| |
− | |#default = [[File:Wiki.png|40px|link=]]
| |
− | }}
| |
− | </div>
| |
− | <div class="ambox-content">
| |
− | <span 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
| |
− | }}
| |
− | </span>
| |
− | <span class="ambox-description">{{{message|}}}</span>
| |
− | <div class="ambox-promoter">
| |
− | {{#if: {{{user_act|}}}|{{{user_act|}}}|
| |
− | {{#switch:{{{type|}}}
| |
− | |construction = Adopted by:
| |
− | |translation = Requested by:
| |
− | |delete = Marked by:
| |
− | |cleanup = Requested by:
| |
− | |notice = Posted by:
| |
− | |move = Marked by:
| |
− | |protection = Posted by:
| |
− | |renovate = Adopted by:
| |
− | |#default = By:
| |
− | }}
| |
− | }} {{{users|}}}</div>
| |
− | <div class="ambox-learn">[[Template:Ambox|Learn more about Amboxes]]</div>
| |
− | </div>
| |
− | <div class="ambox-clear"></div>
| |
− | </div>
| |