« Modèle:Umbox » : différence entre les versions
De La documentation de La Raffinerie
m (Changed protection level for "Template:Umbox": Allowing template editors on some templates with full protection dating back to pre-TPROT times which aren't too often or too sensitively used. ([Edit=Require template editor access] (inde...) |
m (1 version importée) |
(Aucune différence)
|
Dernière version du 16 juillet 2022 à 14:50
{{safesubst:#if:|[[File:{{{image}}}|left|40px|link=]]}}
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
{{#ifeq:umbox |doc
|
{{#ifeq:show |show
| <templatestyles src="Module:Message box/ombox.css"></templatestyles>Modèle:Strong for Modèle:Terminate sentence 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:Umbox | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This is a meta-template for use with the likes of {{Talkback}} and {{You've got mail}}.
Usage
<templatestyles src="Module:Message box/ombox.css"></templatestyles>If you want to add a message box to the top of your user page, please use {{Ombox}}. |
{{Umbox | image = image.svg | imagelink = [[WP:SANDBOX|page that the image should link to]] | text = This is a message. | style = <!-- This is optional; can be used to add or modify parameters -->. }}
See also
- {{Mbox}}
{{#if:{{#ifeq:Umbox|sandbox|1}}{{#ifeq:Umbox|doc|1}}|| }}