Template:Imbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Happy-melon
m (Reverted edits by Happy-melon (talk) to last version by Davidgothberg)
m (56 revisions imported)
 
(20 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<table class="plainlinks imbox
{{#invoke:Message box|imbox}}<noinclude>
{{#switch:{{{type|}}}
{{documentation}}
| speedy    = imbox-speedy
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| delete    = imbox-delete
| content    = imbox-content
| style      = imbox-style
| move      = imbox-move
| protection = imbox-protection
| license    = imbox-license
| featured  = imbox-featured
| notice          <!-- notice = default -->
| #default  = imbox-notice
}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| <td class="imbox-image">
  {{#if:{{{image|}}}
  | {{{image}}}
  | {{#switch:{{{type|}}}
    | speedy    = [[Image:Imbox speedy deletion.png|40x40px]]
    | delete    = [[Image:Imbox deletion.png|40x40px]]
    | content    = [[Image:Imbox content.png|40x40px]]
    | style      = [[Image:Imbox style.png|40x40px]]
    | move      = [[Image:Imbox move.png|40x40px]]
    | protection = [[Image:Imbox protection.png|40x40px]]
    | license    = [[Image:Imbox license.png|40x40px]]
    | featured  = [[Image:Imbox featured.png|40x40px]]
    | notice          <!-- notice = default -->
    | #default  = [[Image:Imbox notice.png|40x40px]]
    }}
  }}</td>
}}
<td class="imbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="imbox-imageright"> {{{imageright}}} </td>
}}
</tr>
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="imbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><noinclude>
 
{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 13:21, 3 September 2020