Difference between revisions of "Template:Simple Banner"
From EncyclopAtys
m (Dorothée moved page Template:Banner 2 to Template:Simple Banner: name improvement) |
|||
Line 3: | Line 3: | ||
| style="width: 60%; color: #000; font-size: 1em; font-weight:bold; text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em; text-shadow: #{{ColorAtys|type=bg|group={{{palette}}}}} -.05em -.05em .05em, #{{ColorAtys|type=fg|group={{{palette}}}}} .15em .15em .3em, #{{ColorAtys|type=bg|group={{{palette}}}}} -.04em -.04em .04em; text-align: center;" |{{{text| Texte à afficher}}} | | style="width: 60%; color: #000; font-size: 1em; font-weight:bold; text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em; text-shadow: #{{ColorAtys|type=bg|group={{{palette}}}}} -.05em -.05em .05em, #{{ColorAtys|type=fg|group={{{palette}}}}} .15em .15em .3em, #{{ColorAtys|type=bg|group={{{palette}}}}} -.04em -.04em .04em; text-align: center;" |{{{text| Texte à afficher}}} | ||
|}</includeonly><noinclude>{{Trad | |}</includeonly><noinclude>{{Trad | ||
− | |DE = Template:Banner | + | |DE = Template:Simple Banner |DEs= 4 |
− | |EN = Template:Banner | + | |EN = Template:Simple Banner |ENs= 4 |
− | |ES = Template:Banner | + | |ES = Template:Simple Banner |ESs= 4 |
− | |FR = Template:Banner | + | |FR = Template:Simple Banner |FRs= 0 |
− | |RU = Template:Banner | + | |RU = Template:Simple Banner |RUs= 4 |
|H = 1 | |H = 1 | ||
|palette= | |palette= | ||
Line 16: | Line 16: | ||
<br /><br /> | <br /><br /> | ||
==Usage== | ==Usage== | ||
− | <nowiki>{{Banner | + | <nowiki>{{Simple Banner <!-- |
-->| text= your_text <!-- | -->| text= your_text <!-- | ||
-->| palette= general colour according to </nowiki>[[:template:ColorAtys|ColorAtys template]] conventions.<nowiki>}}</nowiki> | -->| palette= general colour according to </nowiki>[[:template:ColorAtys|ColorAtys template]] conventions.<nowiki>}}</nowiki> | ||
== Exemple == | == Exemple == | ||
− | <nowiki>{{Banner | + | <nowiki>{{Simple Banner <!-- |
-->| text= [[Directory of Atys scientists]] <!-- | -->| text= [[Directory of Atys scientists]] <!-- | ||
-->| palette= Alert}}</nowiki> | -->| palette= Alert}}</nowiki> | ||
<br /> | <br /> | ||
− | {{Banner | + | {{Simple Banner <!-- |
-->|text= [[Directory of Atys scientists]]<!-- | -->|text= [[Directory of Atys scientists]]<!-- | ||
-->|palette= Alert}} | -->|palette= Alert}} | ||
− | <nowiki>{{Banner | + | <nowiki>{{Simple Banner <!-- |
-->| text= default background <!-- | -->| text= default background <!-- | ||
-->| palette= }}</nowiki> | -->| palette= }}</nowiki> | ||
<br /> | <br /> | ||
− | {{Banner | + | {{Simple Banner <!-- |
-->|text= default background <!-- | -->|text= default background <!-- | ||
-->|palette= }} | -->|palette= }} | ||
[[category:Notice templates]] </noinclude> | [[category:Notice templates]] </noinclude> |
Latest revision as of 08:44, 29 November 2020
This template places a simple banner to display a text in order to highlight it.
Usage
{{Simple Banner <!-- -->| text= your_text <!-- -->| palette= general colour according to ColorAtys template conventions.}}
Exemple
{{Simple Banner <!-- -->| text= [[Directory of Atys scientists]] <!-- -->| palette= Alert}}
Directory of Atys scientists |
{{Simple Banner <!-- -->| text= default background <!-- -->| palette= }}
default background |