Vorlage:Tmbox

Aus Kitakien

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
(změna po předłoze:Tmbox/hrajkanišćo, dokelž to ma wjace parametrow)
Zeile 1: Zeile 1:
-
<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #f8eaba; border: 1px solid #c0c090;
+
{{#ifeq:{{{small|}}}|yes
-
{{#switch:{{{type|}}}
+
| {{tmbox/core
-
| speedy    = border: 3px solid #b22222; background: #fee;
+
  | small = yes
-
| delete    = border: 2px solid #b22222;
+
  | type  = {{{type|}}}
-
| content    = border: 2px solid #f28500;
+
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
-
| style      = border: 2px solid #f4c430;
+
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
-
| move      = border: 2px solid #9932cc;
+
  | style = {{{style|}}}
-
| protection = border: 2px solid #bbbbaa;
+
  | textstyle = {{{textstyle|}}}
-
| notice         
+
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
-
| #default  = border: 1px solid #1e90ff;
+
  }}
-
}} {{{style|}}}">
+
| {{tmbox/core
-
<tr>
+
  | type  = {{{type|}}}
-
{{#ifeq:{{{image|}}}|none
+
   | image = {{{image|}}}
-
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
+
  | imageright = {{{imageright|}}}  
-
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
+
  | style = {{{style|}}}
-
  {{#if:{{{image|}}}
+
  | textstyle = {{{textstyle|}}}
-
  | {{{image}}}
+
  | text  = {{{text}}}
-
  | {{#switch:{{{type|}}}
+
  }}
-
    | speedy    = [[Image:Imbox speedy deletion.png|40x40px]]
+
}}<noinclude>
-
    | 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]]
+
-
    | notice          <!-- notice = default -->
+
-
    | #default  = [[Image:Imbox notice.png|40x40px]]
+
-
    }}
+
-
   }}</td>
+
-
}}
+
-
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
+
-
{{#if:{{{imageright|}}}
+
-
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
+
-
}}
+
-
</tr>
+
-
</table><noinclude>
+
<!-- {{pp-template|small=yes}} -->
<!-- {{pp-template|small=yes}} -->

Version vom 13:28, 28. Dez. 2008

Vorlage:Doc


Persönliche Werkzeuge