Template:Imbox: Difference between revisions
Jump to navigation
Jump to search
(Modified version from Wikipedia) |
(Added "delete" type, using "Template link") |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table class="plainlinks imbox | <includeonly><table class="plainlinks imbox | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| delete = imbox-delete | |||
| content = imbox-content | | content = imbox-content | ||
| style = imbox-style | | style = imbox-style | ||
Line 16: | Line 17: | ||
| {{{image}}} | | {{{image}}} | ||
| {{#switch:{{{type|}}} | | {{#switch:{{{type|}}} | ||
| delete = [[Image:Imbox deletion.png|40x40px]] | |||
| content = [[Image:Imbox content.png|40x40px]] | | content = [[Image:Imbox content.png|40x40px]] | ||
| style = [[Image:Imbox style.png|40x40px]] | | style = [[Image:Imbox style.png|40x40px]] | ||
Line 38: | Line 40: | ||
Simple usage example: | Simple usage example: | ||
{{imbox | text | {{tl| imbox | text = Some text.}} | ||
Result: | Result: | ||
{{imbox | text = Some text.}} | {{imbox | text = Some text.}} | ||
[[Category:templates]] | [[Category:templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |