Template:Imbox: Difference between revisions

From NDWiki
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:
<pre>
 
{{imbox | text = Some text.}}
{{tl| imbox | text &#61; Some text.}}
</pre>
 
Result:
Result:
{{imbox | text = Some text.}}
{{imbox | text = Some text.}}


[[Category:templates]]
[[Category:templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 23:35, 15 November 2008

Usage

Simple usage example:

{{ imbox | text = Some text.}}

Result: