Template:Custominfobox/doc: Difference between revisions

From GlyGen Wiki
Jump to navigation Jump to search
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 7: Line 7:
| stylebox    = border: 2px solid #B66D31; border-radius: 15px; background-color: #f28500;
| stylebox    = border: 2px solid #B66D31; border-radius: 15px; background-color: #f28500;
| borderwidth  = 1px;  
| borderwidth  = 1px;  
| borderstyle  = solid/dashed/any border-style value;  
| borderstyle  = solid/dashed/any border-style values;  
| borderradius = 15px/10px/5px;
| borderradius = 15px/10px/5px;/any border-radius values;
| bordercolor  = #B66D31;/orange;  
| bordercolor  = #B66D31;/orange;/any border-color values;
| boxcolor    = #f28500/orange;
| boxcolor    = #f28500/orange;/any background values;
| image        = none/blank/[[Image:Some image.svg|40px]]
| image        = none/blank/[[Image:Some image.svg|40px]]
| imageright  = [[Image:Some image.svg|40px]]
| imageright  = [[Image:Some image.svg|40px]]
| text        = The message body text
| header      = Template headline
| message      = warning/expand/attention
| text        = This is your custom tesxt
| detail      = with: my details
| textstyle    = Any CSS3 properties
| signature    = Your Name
| textcolor    = #2E78B7/blue/any color values
| date        = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| detail      = with: my details/any text
| message      = warning/expand/attention/several message templates are available
| signature    = Your Signature
| date        = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}/Nov 22, 2019
}}
}}
</pre>
</pre>
Line 27: Line 30:


=== ''type'' ===
=== ''type'' ===
The <code><nowiki>| type =</nowiki></code> parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
The <code><nowiki>| type =</nowiki></code> parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes.  
Multiple typestyles are available
<pre>
  | type = serious
  | type = content
  | type = style
  | type = merge
  | type = move
  | type = warning
  | type = delete
  | type = speedy
  | type = protection
  | type = notice/#default
</pre>
Multiple typestyles are available and their default images are shown below.
{{Custominfobox
{{Custominfobox
|nocat=true
|nocat=true
Line 42: Line 59:
| type  = warning
| type  = warning
| text  = type=<u>warning</u> – Warn about some issues on the page
| text  = type=<u>warning</u> – Warn about some issues on the page
}}
{{Custominfobox
|nocat=true
| type  = serious
| text  = type=<u>serious</u> – Stop hand. Preventing from doing a specific action.
}}
}}
{{Custominfobox
{{Custominfobox
Line 87: Line 99:


=== ''style'' ===
=== ''style'' ===
You can customize a infobox style by adding CSS3 to parameters below.
You can customize a infobox style by adding CSS3 to the stylebox parameter below.
Using <code><nowiki>|stylebox = </nowiki></code> parameter you can add any CSS style to this <code><nowiki>{{Custominfobox}}</nowiki></code>. For an example, <code><nowiki>|stylebox = border: 2px solid #B66D31; border-radius: 15px; background-color: #f28500;</nowiki></code>
<pre>
{{Custominfobox
| stylebox = border: 2px solid #B8E0FF; border-radius: 10px; background-color: #E7F5FF;
| text    = You can add any CSS3 style to the stylebox parameter.
}}
</pre>
:results in
{{Custominfobox
| stylebox = border: 2px solid #B8E0FF; border-radius: 10px; background-color: #E7F5FF;
| text    = You can add any CSS3 style to the stylebox parameter
}}
Also you can change <code><nowiki>{{Custominfobox}}</nowiki></code> style by using parametrs below.
Also you can change <code><nowiki>{{Custominfobox}}</nowiki></code> style by using parametrs below.
<pre>
<pre>
Line 97: Line 119:
| bordercolor  = #B8E0FF;  
| bordercolor  = #B8E0FF;  
| boxcolor    = #E7F5FF;
| boxcolor    = #E7F5FF;
| text        = This is a custom info box style
| text        = This is a custom info box style.
}}
}}
</pre>
</pre>
Line 115: Line 137:
;Images available on Custominfobox
;Images available on Custominfobox
<pre>
<pre>
| serious = [[Image:Stop hand nuvola.svg|40px]]
| serious   = [[Image:Stop hand nuvola.svg|40px]]
| content = [[Image:Emblem-important.svg|40px]]
| content   = [[Image:Emblem-important.svg|40px]]
| style   = [[Image:Broom icon.svg|40px]]
| style     = [[Image:Broom icon.svg|40px]]
| merge   = [[Image:Merge-split-transwiki default.svg]]
| merge     = [[Image:Merge-split-transwiki default.svg]]
| move     = [[Image:Ambox_move.png|40px]]
| move       = [[Image:Ambox_move.png|40px]]
| blank   = [[Image:Spacer.gif]]
| blank     = [[Image:Spacer.gif]]
| warning = [[File:Ambox warning orange.svg|40px]]
| warning   = [[File:Ambox warning orange.svg|40px]]
| delete   = [[File:Ambox warning red.svg|40px]]
| delete     = [[File:Ambox warning red.svg|40px]]
| speedy   = [[File:Ambox warning red.svg|40px]]
| speedy     = [[File:Ambox warning red.svg|40px]]
| protection = [[Image:Ambox_protection.png|40px]]
| protection = [[Image:Ambox_protection.png|40px]]
| notice   = [[Image:Info non-talk.png|40px]]
| notice     = [[Image:Info non-talk.png|40px]]
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
| #default   = {{{image|[[Image:Info non-talk.png|40px]]}}}
</pre>
</pre>


Line 132: Line 154:
{{Custominfobox
{{Custominfobox
| image = [[Image:Broom icon.svg|40px]]
| image = [[Image:Broom icon.svg|40px]]
| text = This is <code><nowiki>| image = [[Image:Broom icon.svg|40px]]</nowiki></code>
| text = This is <code><nowiki>| image = [[Image:Broom icon.svg|40px]]</nowiki></code>
}}
}}
{{Custominfobox
{{Custominfobox
| image = style
| image = style
| text = This is <code><nowiki>| image = style</nowiki></code>
| text = This is <code><nowiki>| image = style</nowiki></code>
}}
}}


Line 158: Line 180:
{{Custominfobox
{{Custominfobox
| image = none
| image = none
| text = This is <code><nowiki>image = none</nowiki></code>
| text = This is <code><nowiki>image = none</nowiki></code>
}}
}}


Line 165: Line 187:
{{Custominfobox
{{Custominfobox
| image =  
| image =  
| text = This is a infobox with out image. <code><nowiki>image = </nowiki></code>
| text = This is a infobox with out image. <code><nowiki>image = </nowiki></code>
}}
}}


Line 173: Line 195:
{{Customeinfobox
{{Customeinfobox
| imageright = [[Image:Emblem-important.svg|40px]]
| imageright = [[Image:Emblem-important.svg|40px]]
| text = This is | imageright = [[Image:Emblem-important.svg|40px]]
| text       = This is | imageright = [[Image:Emblem-important.svg|40px]]
}}
}}
</pre>
</pre>
Line 180: Line 202:
{{Custominfobox
{{Custominfobox
| imageright = [[Image:Emblem-important.svg|40px]]
| imageright = [[Image:Emblem-important.svg|40px]]
| text = This is <code><nowiki>| imageright = [[Image:Emblem-important.svg|40px]]</nowiki></code>
| text       = This is <code><nowiki>| imageright = [[Image:Emblem-important.svg|40px]]</nowiki></code>
}}
}}


=== ''message'' ===
=== ''body text'' ===
;text
This template will add a period at the end of your last sentence.
<pre>
{{Custominfobox
| borderradius = 5px;
| borderwidth  = 1px;
| bordercolor  = cornflowerblue
| image        = blank
| header      = Template header <br>
| text         = This is a body text style example
| textstyle    = font-size: 18px; text-align: center; text-transform: capitalize;
| textcolor    = cornflowerblue
}}
</pre>
;results in
{{Custominfobox
| borderradius = 5px;
| borderwidth  = 1px;
| bordercolor  = cornflowerblue
| image        = blank
| header      = Template header <br>
| text        = This is a body text style example
| textstyle    = font-size: 18px; text-align: center; text-transform: capitalize;
| textcolor    = cornflowerblue
}}


;detail
==== ''header'' ====
To add your specific detail message, you have to call parameter  
This is a custome heading
<pre>
{{Custominfobox
| header = Template headline <br>
| text  = This is your custom text. This template will add a period at the end of your last sentence.
}}
</pre>
{{Custominfobox
| header = Template headline <br>
| text  = This is a body text. This template will add a period at the end of your last sentence
}}
 
==== ''text'' ====
Default body text of this template <code><nowiki>{{Custominfobox}}</nowiki></code>
{{Custominfobox}}
<pre>
{{Custominfobox
| text = This is your custom text. This template will add a period at the end of your last sentence.
}}
</pre>
;results in
{{Custominfobox
| text = This is your custom text. This template will add a period at the end of your last sentence
}}
 
==== ''detail'' ====
You can add your specific detail message to parameter  
{{para|detail=|<nowiki>detail</nowiki>}}
{{para|detail=|<nowiki>detail</nowiki>}}
<pre>
{{Custominfobox
| detail = the information related to this page
}}
</pre>


Type <code><nowiki>{{Custominfobox|detail=the information on this page is inaccurate}}</nowiki></code>
:results in
{{Custominfobox
| detail = the information related to this page
}}


This code will add period at the end of your message. <code><nowiki>{{#ifeq:{{{punctuation|{{{period|}}}}}}|no||.}}</nowiki></code>  
==== ''message''====
:results in
The <code><nowiki>| message = </nowiki></code> parameter has a few predifined messages.
{{Custominfobox|detail=the information on this page is inaccurate|date=May 2019}}
<pre>
| warning  = '''Warning:''' There is a problem with this page
| expand  = This section '''needs expansion'''
| attention = '''Attention:''' This page requires attention
| #default = ''This section needs an article''
</pre>
<pre>
{{Custominfobox
| message = warning
| message = expand
| message = attention
| message = #default
}}
</pre>
;results in
{{Custominfobox
| message = warning
| detail    = <code><nowiki>| message = warning</nowiki></code>
}}
{{Custominfobox
| message = expand
| detail    = <code><nowiki>| message = expand</nowiki></code>
}}
{{Custominfobox
| message = attention
| detail    = <code><nowiki>| message = attention</nowiki></code>
}}
{{Custominfobox
| message = #default
| detail   = <code><nowiki>| message = #default</nowiki></code>
}}


=== ''signature'' ===
=== ''signature'' ===
To add your name you have to use <code><nowiki>signature=</nowiki></code>parameter.
To add a signature to parameter <code><nowiki>signature = </nowiki></code>.
Type <code><nowiki>{{Custominfobox|signature=Tatiana}}</nowiki></code>
<pre>
{{Custominfobox
| text      = This is your custom text
| signature = Tatiana
}}
</pre>
:results in
:results in
{{Custominfobox|detail=my details|signature=Tatiana}}
{{Custominfobox
| text      = This is your custom text
| signature = Tatiana
}}


=== ''date'' ===
=== ''date'' ===
Either one of these <code><nowiki>| date =</nowiki></code> parameters will display date.
Either one of these <code><nowiki>| date =</nowiki></code> parameters which will display date.
<pre>
<pre>
{{Custominfobox
{{Custominfobox
| date = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| date = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| date = Nov 22, 2019
| date = Nov 22, 2019
}}
}}
</pre>
</pre>
Line 213: Line 330:
{{Custominfobox
{{Custominfobox
| date = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| date = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| text = This is <code><nowiki>| date = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}</nowiki></code>
}}
{{Custominfobox
| date = Nov 22, 2019
| text = This is <code><nowiki>| date  = Nov 22, 2019</nowiki></code>
}}
}}


==Default values==
== Template Examples ==
 
Multiple examples provided below on how you can customize a <code><nowiki>{{Custominfobox}}</nowiki></code> template.
If you transclude a template that expects parameters but do not provide their arguments, in this way:
=== ''question mark'' ===
<code><nowiki>{{{Custominfobox}}}</nowiki></code>
<pre>
in the numbered parameters example above you would get the following:
{{Custominfobox
 
| stylebox  = width:50%;
:'''Warning:''' There is a problem with this page. 
| image    = [[File:Ambox blue question.svg|40px]]
 
| text      = This is a body text
In the parameters example above you would get the following:
| signature = Tatiana
 
| date      = Dec 04, 2019
:'''Warning:''' There is a problem with this page with {{{detail}}}. {{{date}}}.
}}
 
</pre>
Since no arguments were passed in, the template presents the parameters themselves, instead of their respective values. In these cases, it may be useful to define default values for the parameters, i.e. values that will be used if no value is passed in. For example, if the template contents are changed to:
:results in
 
{{Custominfobox
<code><nowiki>'''Warning:''' There is a problem with this page with: {{{detail}}}. {{{date|{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}}.</nowiki></code>
| stylebox  = width:50%;
 
| image = [[File:Ambox blue question.svg|40px]]
then <code><nowiki>{{{date|{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}}.</nowiki></code> defines that if no argument is provided for parameter {{{date}}}, then the value CURRENTDATE which is <code><nowiki><small>''May 2019.''</small></nowiki></code> will be used.  
| text      = This is a list of a differen [https://commons.wikimedia.org/wiki/File:Emblem-question-yellow.svg question mark icons]
 
| signature = Tatiana
Similarly, {{{detail}}}, doesn't provide defaults parameter, that means no value will be added.
| date      = Dec 04, 2019
 
}}
Now, transcluding the template again without passing any argument results in the following:  
<pre>
 
{{Custominfobox
:'''Warning:''' There is a problem with this page. <small>''May 2019.''</small>
| stylebox  = width:40%;
 
| type      = delete
==Memo==
| image    = [[File:Question-mark-red-orange-animated.gif|40px]]
;Assign a parameter
| text      = '''Attention please''' This is a body text
<code><nowiki>{{#if:{{{with|{{{for|{{{signature|}}}}}}}}}|{{{with|{{{for|{{{signature}}}}}}}}}}}</nowiki></code>
| signature = Tatiana
 
| date      = Dec 04, 2019
;Assign a parameter with default value
}}
<code><nowiki>{{#if:|{{{date|}}}|<small>''({{{date|{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}})''</small>}}</nowiki></code> code style
</pre>
 
:results in
<code><nowiki></nowiki></code>
{{Custominfobox
 
| stylebox  = width:60%;
== Custominfobox template code==
| type      = delete
| image    = [[File:Question-mark-red-orange-animated.gif|40px]]
| text      = '''Attention please''' This is a list of a differen [https://commons.wikimedia.org/wiki/File:Emblem-question-yellow.svg question mark icons]
| signature = Tatiana
| date      = Dec 04, 2019
}}
<pre>
<pre>
<!--{{Custominfobox}} begin-->
{{Custominfobox
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
| stylebox = width:60%;
  | serious = ambox-delete
| image    = [[File:Emblem-question-yellow.svg|40px]]
  | content  = ambox-content
| header   = Attention please <br>
  | style    = ambox-style
| text     = This is a body text
  | merge    = ambox-merge
| signature = Tatiana
  | move    = ambox-move
| date      = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
  | warning  = ambox-content
  | delete  = ambox-delete
  | speedy  = ambox-speedy
  | protection = ambox-protection
  | notice  = ambox-notice
  | #default = ambox-notice
}}">
<tr>
<td class="mbox-image" {{#ifeq:{{{image|}}}|none|style="padding:0 !important"}}>
{{#ifeq:{{{image}}}|none
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
  | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
     | serious  = [[Image:Stop hand nuvola.svg|40px]]
    | content  = [[Image:Emblem-important.svg|40px]]
    | style    = [[Image:Broom icon.svg|40px]]
    | merge    = [[Image:Merge-split-transwiki default.svg]]
    | move    = [[Image:Ambox_move.png|40px]]
    | blank   = [[Image:Spacer.gif]]
    | warning  = [[File:Ambox warning orange.svg|40px]]
    | delete  = [[File:Ambox warning red.svg|40px]]
    | speedy  = [[File:Ambox warning red.svg|40px]]
    | protection = [[Image:Ambox_protection.png|40px]]
    | notice  = [[Image:Info non-talk.png|40px]]
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
  }}</div>
}}</td>
<td class="mbox-text">{{#if:|{{{text|}}}|{{{text|
{{#switch:{{{message|{{{message|}}}}}}
    | warning  = '''Warning:''' There is a problem with this page
    | expand  = This section '''needs expansion'''
    | attention = '''Attention:''' This page requires attention
    | #default = ''This is a difault message''
}}}}}}}{{#if:{{{with|{{{for|{{{detail|}}}}}}}}}
| &#32;with: {{{with|{{{for|{{{detail}}}}}}}}}}}{{#ifeq:{{{punctuation|{{{period|}}}}}}|no||.}} {{#if:{{{with|{{{for|{{{signature|}}}}}}}}}|''{{{with|{{{for|{{{signature}}}}}}}}}''}} {{#if:{{{with|{{{for|{{{date|}}}}}}}}}|''<small>({{{with|{{{for|{{{date}}}}}}}}})</small>''}}</td>
{{#if:{{{imageright|}}}|
  <td class="mbox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
}}
</tr>
</table><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude><noinclude>
</pre>
</pre>
:results in
{{Custominfobox
| stylebox  = width:40%;
| type      = style
| image    = [[File:Emblem-question-yellow.svg|40px]]
| header    = Attention please <br>
| text      = This is a list of a differen [https://commons.wikimedia.org/wiki/File:Emblem-question-yellow.svg question mark icons]
| signature = Tatiana
| date      = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
}}
[[Category:Glygen templates]]

Latest revision as of 21:45, 4 December 2019

Common parameters

The box below shows the most common parameters that are accepted by {{Custominfobox}} template. The purpose of each is described below.

{{Custominfobox
| type         = serious/content/style/merge/move/blank/warning/delete/speedy/protection/notice by default
| stylebox     = border: 2px solid #B66D31; border-radius: 15px; background-color: #f28500;
| borderwidth  = 1px; 
| borderstyle  = solid/dashed/any border-style values; 
| borderradius = 15px/10px/5px;/any border-radius values;
| bordercolor  = #B66D31;/orange;/any border-color values;
| boxcolor     = #f28500/orange;/any background values;
| image        = none/blank/[[Image:Some image.svg|40px]]
| imageright   = [[Image:Some image.svg|40px]]
| header       = Template headline
| text         = This is your custom tesxt
| textstyle    = Any CSS3 properties
| textcolor    = #2E78B7/blue/any color values
| detail       = with: my details/any text
| message      = warning/expand/attention/several message templates are available
| signature    = Your Signature
| date         = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}/Nov 22, 2019
}}

default template

Default Mirage template {{Customeinfobox}}

results in

type

The | type = parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. Multiple typestyles are available

  | type = serious
  | type = content
  | type = style
  | type = merge
  | type = move
  | type = warning
  | type = delete
  | type = speedy
  | type = protection
  | type = notice/#default

Multiple typestyles are available and their default images are shown below.

If no type parameter is given the template defaults to |type=notice.

style

You can customize a infobox style by adding CSS3 to the stylebox parameter below.

{{Custominfobox
| stylebox = border: 2px solid #B8E0FF; border-radius: 10px; background-color: #E7F5FF;
| text     = You can add any CSS3 style to the stylebox parameter.
}}
results in

Also you can change {{Custominfobox}} style by using parametrs below.

{{Custominfobox
| borderwidth  = 2px; 
| borderstyle  = solid; 
| borderradius = 10px;
| bordercolor  = #B8E0FF; 
| boxcolor     = #E7F5FF;
| text         = This is a custom info box style.
}}
results in

image

You can choose a specific image to use for the template by using the image parameter. | image = none/blank/[[Image:Some image.svg|40px]]

Images available on Custominfobox
| serious    = [[Image:Stop hand nuvola.svg|40px]]
| content    = [[Image:Emblem-important.svg|40px]]
| style      = [[Image:Broom icon.svg|40px]]
| merge      = [[Image:Merge-split-transwiki default.svg]]
| move       = [[Image:Ambox_move.png|40px]]
| blank      = [[Image:Spacer.gif]]
| warning    = [[File:Ambox warning orange.svg|40px]]
| delete     = [[File:Ambox warning red.svg|40px]]
| speedy     = [[File:Ambox warning red.svg|40px]]
| protection = [[Image:Ambox_protection.png|40px]]
| notice     = [[Image:Info non-talk.png|40px]]
| #default   = {{{image|[[Image:Info non-talk.png|40px]]}}}
results in
  • No parameter = means that no image parameter is given and template uses a default image. In this case |type = notice.
{{Custominfobox
| text = Template uses a default image. 
}}
results in
  • An image = usual width of an image is 40px - 50px.
  • none = means that no image is used. image = none
results in
  • blank = means that no image is used but an empty area the same size as a default image is used, which means that text in the message box gets aligned well with other article message boxes. image =
results in

imageright

To display image at the right parameter imageright can be used imageright = [[Image:Some image.svg|40px]]

{{Customeinfobox
| imageright = [[Image:Emblem-important.svg|40px]]
| text       = This is | imageright = [[Image:Emblem-important.svg|40px]]
}}
results in

body text

This template will add a period at the end of your last sentence.

{{Custominfobox
| borderradius = 5px;
| borderwidth  = 1px;
| bordercolor  = cornflowerblue
| image        = blank
| header       = Template header <br>
| text         = This is a body text style example
| textstyle    = font-size: 18px; text-align: center; text-transform: capitalize;
| textcolor    = cornflowerblue
}}
results in

header

This is a custome heading

{{Custominfobox
| header = Template headline <br>
| text   = This is your custom text. This template will add a period at the end of your last sentence. 
}}

text

Default body text of this template {{Custominfobox}}

{{Custominfobox
| text = This is your custom text. This template will add a period at the end of your last sentence. 
}}
results in

detail

You can add your specific detail message to parameter |detail=

{{Custominfobox
| detail = the information related to this page
}}
results in

message

The | message = parameter has a few predifined messages.

| warning  = '''Warning:''' There is a problem with this page
| expand   = This section '''needs expansion''' 
| attention = '''Attention:''' This page requires attention
| #default = ''This section needs an article''
{{Custominfobox
| message = warning 
| message = expand
| message = attention 
| message = #default
}}
results in

signature

To add a signature to parameter signature = .

{{Custominfobox
| text      = This is your custom text
| signature = Tatiana
}}
results in

date

Either one of these | date = parameters which will display date.

{{Custominfobox
| date = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
| date = Nov 22, 2019
}}
results in

Template Examples

Multiple examples provided below on how you can customize a {{Custominfobox}} template.

question mark

{{Custominfobox
| stylebox  = width:50%;
| image     = [[File:Ambox blue question.svg|40px]]
| text      = This is a body text
| signature = Tatiana
| date      = Dec 04, 2019
}}
results in
{{Custominfobox
| stylebox  = width:40%;
| type      = delete
| image     = [[File:Question-mark-red-orange-animated.gif|40px]]
| text      = '''Attention please''' This is a body text
| signature = Tatiana
| date      = Dec 04, 2019
}}
results in
{{Custominfobox
| stylebox  = width:60%;
| image     = [[File:Emblem-question-yellow.svg|40px]]
| header    = Attention please <br>
| text      = This is a body text
| signature = Tatiana
| date      = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
}}
results in