Differenze tra le versioni di "Template:Ambox"
m (1 revisioni importate) |
(remove category sortkey which is now the default after bugzilla:16552) |
||
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> |
Revisione 10:47, 5 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 = }} }}