Modèle:Ambox/core : Différence entre versions
m (1 révision importée) |
|
(Aucune différence)
| |
Version actuelle datée du 21 octobre 2017 à 20:51
| |#default = | {{#if:
|{{{image}}}
|[[File:{{#switch:
|speedy = Ambox speedy deletion.png
|delete = Ambox deletion.png
|content = Ambox content.png
|style = Edit-clear.svg
|move = Ambox move.png
|protection = Ambox protection.png
|notice|#default = Ambox notice.png
}}|40x40px|link=|alt=]]
}} |
}}{{#if:
| ({{{date}}})
}} | {{#switch:
|none =
|=
|#default = {{{imageright}}} |
}}
{{#ifeq:core |doc
|
{{#ifeq:show |show
|| This is a documentation subpage for Modèle:Ambox. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: |
| {{#ifexist:Modèle:Ambox
| [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
This is the {{Ambox/core}} sub-template.
Do not use this template directly; use {{Ambox}} instead.
This template is called by {{Ambox}}. It holds almost all of the code for {{{{#if:Ambox|Ambox| tlf|...}}{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}, while {{{{#if:Ambox|Ambox| tlf|...}}{{#ifeq:x|| |{{{2}}} | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}} itself performs parameter preprocessing.
For more documentation, see {{Ambox}}.
{{#ifeq:core|sandbox | | }}
| The above documentation is transcluded from Modèle:Ambox/core/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |