Differenze tra le versioni di "Template:Ambox"
m (1 revisioni importate) |
(Oops, how embarrassing, I had left a line break in the category name. Fixed.) |
||
Riga 2: | Riga 2: | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| speedy = ambox-speedy | | speedy = ambox-speedy | ||
− | | | + | | serious <!-- This value is **deprecated**, please don't use it! --> |
− | | | + | | delete = ambox-delete |
| content = ambox-content | | content = ambox-content | ||
| style = ambox-style | | style = ambox-style | ||
− | | | + | | merge <!-- This value is **deprecated**, please don't use it! --> |
− | | | + | | move = ambox-move |
| protection = ambox-protection | | protection = ambox-protection | ||
− | | notice | + | | notice <!-- notice = default --> |
| #default = ambox-notice | | #default = ambox-notice | ||
}}" style="{{{style|}}}"> | }}" style="{{{style|}}}"> | ||
Riga 22: | Riga 22: | ||
| {{#switch:{{{type|}}} | | {{#switch:{{{type|}}} | ||
| speedy = [[Image:Ambox speedy deletion.png|40x40px]] | | speedy = [[Image:Ambox speedy deletion.png|40x40px]] | ||
− | | | + | | serious <!-- This value is **deprecated**, please don't use it! --> |
− | | | + | | delete = [[Image:Ambox deletion.png|40x40px]] |
| content = [[Image:Ambox content.png|40x40px]] | | content = [[Image:Ambox content.png|40x40px]] | ||
| style = [[Image:Ambox style.png|40x40px]] | | style = [[Image:Ambox style.png|40x40px]] | ||
− | | | + | | merge <!-- This value is **deprecated**, please don't use it! --> |
− | | | + | | move = [[Image:Ambox move.png|40x40px]] |
| protection = [[Image:Ambox protection.png|40x40px]] | | protection = [[Image:Ambox protection.png|40x40px]] | ||
− | | notice | + | | notice <!-- notice = default --> |
| #default = [[Image:Ambox notice.png|40x40px]] | | #default = [[Image:Ambox notice.png|40x40px]] | ||
}} | }} | ||
Riga 40: | Riga 40: | ||
}} | }} | ||
</tr> | </tr> | ||
− | </table><noinclude> | + | </table><!-- Detect and report usage with faulty "type" parameter: |
+ | -->{{#switch:{{{type|}}} | ||
+ | | <!-- No type fed, is also valid input --> | ||
+ | | speedy | ||
+ | | delete | ||
+ | | content | ||
+ | | style | ||
+ | | move | ||
+ | | protection | ||
+ | | notice = <!-- Do nothing, valid "type" --> | ||
+ | | #default = [[Category:Ambox templates using deprecated types|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | ||
+ | }}<noinclude> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} |
Revisione 08:34, 21 Ago 2008
| | {{{text}}} | {{{imageright}}} |
| | speedy | delete | content | style | move | protection | notice = | #default = }}