Differenze tra le versioni di "Template:Ambox"
(sync tracking cat with other mbox templates) |
m (1 revisioni importate) |
||
(2 versioni intermedie di 2 utenti non mostrate) | |||
Riga 1: | Riga 1: | ||
− | + | {{#switch:{{{small|}}} | |
− | {{#switch:{{{ | + | | left = |
− | | | + | {{ambox/core |
− | + | | small = left | |
− | | | + | | type = {{{type|}}} |
− | + | | image = {{#if:{{{smallimage|}}} | |
− | | | + | | {{{smallimage}}} |
− | + | | {{{image|}}} | |
− | + | }} | |
− | + | | imageright = {{#if:{{{smallimageright|}}} | |
− | + | | {{{smallimageright}}} | |
− | + | | {{{imageright|}}} | |
− | {{# | + | }} |
− | | | + | | style = {{{style|}}} |
− | | | + | | textstyle = {{{textstyle|}}} |
− | + | | text = {{#if:{{{smalltext|}}} | |
− | + | | {{{smalltext}}} | |
− | | {{#if:{{{ | + | | {{{text}}} |
− | + | }} | |
− | + | }} | |
− | + | | #default = | |
− | + | {{ambox/core | |
− | + | | type = {{{type|}}} | |
− | + | | image = {{{image|}}} | |
− | + | | imageright = {{{imageright|}}} | |
− | + | | style = {{{style|}}} | |
− | + | | textstyle = {{{textstyle|}}} | |
− | + | | text = {{{text}}} | |
− | + | }} | |
− | + | }}<!-- | |
− | |||
− | }} | ||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{pp-template | + | --><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:Article message boxes]]}}}}</includeonly><!-- |
− | {{ | + | |
+ | --><noinclude> | ||
+ | |||
+ | {{pp-template}} | ||
+ | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Versione attuale delle 06:30, 8 Lug 2009
{{#switch: | left =
{{
#switch:left | left =| #default = }} {{#if:{{#if: | {{{smallimage}}} | }} | {{#if: | {{{smallimage}}} | }} | [[Image:{{#switch: | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Ambox style.png | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Ambox notice.png }} | {{#switch:left | left = 20x20px | #default = 40x40px }} ]] }}{{#switch:left | left =| #default = |
}}
{{#if:
| {{{smalltext}}} | {{{text}}}}} |
{{#if:{{#if:
| {{{smallimageright}}}
|
}}
| {{#ifeq:{{#if:
| {{{smallimageright}}}
|
}}|none
|
| {{#switch:left
| left = {{#if: | {{{smallimageright}}} | }}| #default = {{#if:
}}| {{{smallimageright}}} |}} |
}}
}}
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
}}{{#switch:{{#if:
| {{{smallimage}}} | }}
| blank = }} | #default =
{{
#switch: | left =| #default = }} {{#if: | | [[Image:{{#switch: | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Ambox style.png | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Ambox notice.png }} | {{#switch: | left = 20x20px | #default = 40x40px }} ]] }}{{#switch: | left =| #default = |
}}
{{{text}}} | {{#switch:
| left =| #default = |
}}
}}
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
}}{{#switch: | blank = }} }}