Template:Colored box

Revision as of 01:36, 16 September 2020 by Mediawiki>Elias Ziade (Undid revision 978619914 by Elie plus (talk) Reverting test edit (removed a test 1px margin))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{#if:|[[File:{{{icon}}}|20px|link=|alt=]] }}{{{title}}}{{#if:|
[[{{{link}}}|view]]
}}

{{{content}}}


{{#ifeq: Shaun Keaveny's Community Garden Radio|Templates Wiki||

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.

}}

Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

{{#if: ||

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
{{#if:
  | Edit this template for the documentation| {{#ifexist: Template:Colored box/doc
    | View, edit, or check the history of this documentation.
    |Create documentation for this template.
    }}
   }} (How does this work?)
Editors can experiment with this template's sandbox and testcases.

{{#if:

 | {{{content}}}



 | {{#ifexist: Template:Colored box/doc
   | {{#if: 
     |{{{{{1}}}}}
|
This is a {{#switch: Template | Template = template | Module = module | user = user page | #default = page }} documentation subpage for Template:Colored box.
It contains usage information, categories, interlanguage links and other content that is not part of the original {{#if: | {{{text2}}} | {{ #if: | {{{text1}}} | {{ #ifeq: Template | User | template template page | {{ #if: Template | template page|article}}}}}}}}.[[Category:{{#switch: Template | Template = Template | Module = Module | User = User | #default = Page }} documentation]]

This template was imported from fr:Modèle:Boîte colorée

Basic usage

{{Colored box
| icon =
| link =
| content =
}}

Full parameter

{{Colored box
| background-content-color =
| background-title-color =
| icon =
| title =
| title-color = 
| link =
| link-color =
| view-text =
| content =
}}
}}



   | Documentation does not exist. Create it at [{{fullurl:
             {{#if:|{{{1}}}|Template:Colored box/doc}}
             |action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3AColored+box%5D%5D {{#if:|{{{1}}}|Template:Colored box/doc}}].
 }}

}} }}


}}

Installation Instructions
 {{#ifeq:{{{SPW}}}|is not relevant
   |
   | :Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Colored box]] to properly attribute this template's editors.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
{{#switch:
   | starter = This template is created by default after March 11, 2020. It should be in your wiki.

| is not relevant

| is not relevant to =
File:Warning.svg
This template should not be copied, because it is probably not relevant to wikis other than Templates Wiki. You probably don't want to copy this template to your wiki. {{#if:|For a similar template intended to be copied, see [[Template:{{{SPW-link}}}]].}}{{#ifeq: Shaun Keaveny's Community Garden Radio
       | Templates Wiki
       |
     }}
  }}

{{#if:

   |[[fr:{{{fr}}}]]
   |
  }}{{#if:
   |[[ja:{{{ja}}}]]
   |
  }}{{#if:
   |[[tr:{{{tr}}}]]
   |
  }}{{#if:
   |[[zh:{{{zh}}}]]
   |
   }}

{{#ifeq: {{{SPW}}}|is not relevant | |{{#if:

 | The above message will be enough for most cases; if there are additional instructions, you can see them below.
Template:Colored box/install | :There is no additional installation instructions for this template. If there is any, you may create it at Template:Colored box/install.

}} }}