Template:Ambox
Z PMD 85 Infoserver
(Rozdiel medzi revíziami)
D (1 revízií) |
D (nahradene obrazky) |
||
Riadok 12: | Riadok 12: | ||
| <!-- no image cell; empty cell necessary for text cell to have 100% width --> | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> | ||
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | ||
- | | serious = [[Image:Stop hand nuvola. | + | | serious = [[Image:Stop hand nuvola.png|40px]] |
- | | content = [[Image:Emblem-important. | + | | content = [[Image:Emblem-important.png|40px]] |
- | | style = [[Image:Broom icon. | + | | style = [[Image:Broom icon.png|40px]] |
- | | merge = [[Image:Merge-split-transwiki default. | + | | merge = [[Image:Merge-split-transwiki default.png]] |
| notice = [[Image:Info non-talk.png|40px]] | | notice = [[Image:Info non-talk.png|40px]] | ||
- | | blank = [[Image:No image. | + | | blank = [[Image:No image.png]] |
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}} | | #default = {{{image|[[Image:Info non-talk.png|40px]]}}} | ||
}}</div> | }}</div> | ||
Riadok 34: | Riadok 34: | ||
<pre>{{ambox | <pre>{{ambox | ||
| type = serious / content / style / merge / growth / notice | | type = serious / content / style / merge / growth / notice | ||
- | | image = none / blank / [[Obrázok:Nejaky_obrazok. | + | | image = none / blank / [[Obrázok:Nejaky_obrazok.png|40px]] |
- | | imageright = [[Image:Some image. | + | | imageright = [[Image:Some image.png|40px]] |
| style = hodnota CSS | | style = hodnota CSS | ||
| text = Telo textu správy. | | text = Telo textu správy. | ||
Riadok 65: | Riadok 65: | ||
{{Ambox | {{Ambox | ||
|type = content | |type = content | ||
- | |image = [[Image:Unbalanced scales. | + | |image = [[Image:Unbalanced scales.png|40px]] |
- | |text = <div>type = content<br/>image = <nowiki>[[Image:Unbalanced scales. | + | |text = <div>type = content<br/>image = <nowiki>[[Image:Unbalanced scales.png|40px]]</nowiki></div> |
}} | }} | ||
{{Ambox | {{Ambox | ||
|type = style | |type = style | ||
- | |image = [[Image:Wikitext. | + | |image = [[Image:Wikitext.png|50px]] |
- | |text = <div>type = style<br><nowiki>image = [[Image:Wikitext. | + | |text = <div>type = style<br><nowiki>image = [[Image:Wikitext.png|50px]]</nowiki></div> |
}} | }} | ||
{{Ambox | {{Ambox | ||
|type = merge | |type = merge | ||
- | |image = [[Image:Merge-arrows. | + | |image = [[Image:Merge-arrows.png|50px]] |
- | |text = <div>type = merge<br/><nowiki>image = [[Image:Merge-arrows. | + | |text = <div>type = merge<br/><nowiki>image = [[Image:Merge-arrows.png|50px]]</nowiki></div> |
}} | }} | ||
Riadok 92: | Riadok 92: | ||
}} | }} | ||
{{Ambox | {{Ambox | ||
- | |image = [[Image:Gnome globe current event. | + | |image = [[Image:Gnome globe current event.png|42px]] |
- | |imageright = [[Image:Nuvola apps bookcase. | + | |imageright = [[Image:Nuvola apps bookcase.png|40px]] |
- | |text = image = <nowiki>[[Image:Gnome globe current event. | + | |text = image = <nowiki>[[Image:Gnome globe current event.png|42px]]</nowiki><br/><nowiki>imageright = [[Image:Nuvola apps bookcase.png|40px]]</nowiki> |
}} | }} | ||
</div> | </div> |
Verzia zo dňa a času 21:02, 1. marec 2008
{{{text}}} |
Dokumentácia
Obsah |
Typy amboxov
Všetky štýly
{{ambox | type = serious / content / style / merge / growth / notice | image = none / blank / [[Obrázok:Nejaky_obrazok.png|40px]] | imageright = [[Image:Some image.png|40px]] | style = hodnota CSS | text = Telo textu správy. }}
Prednastavené obrázky
type=serious (dôležité), použitie pri mazaniach |
type=content (spokojnosť), použitie pri vyjadreniach ne/spokojnosti |
type=style (štýl), použitie pri otázkach ohľadom štýlu a štylistiky |
type=merge (spojenie), použitie pri zlúčeniach alebo rozdeleniach článkov |
type=notice (poznámka), použitie pri upozorneniach v článkoch |
Iné obrázky
type = content image = [[Image:Unbalanced scales.png|40px]] |
type = style image = [[Image:Wikitext.png|50px]] |
type = merge image = [[Image:Merge-arrows.png|50px]] |
Špeciálne prípady
Nie je zadaný ani typ, ani obrázok (prednastavené) |
Nezadaný typ, parameter obrázok image=blank spôsobí, že v mieste obrázku bude prázdne miesto |
Nezadaný typ, parameter obrázok image=none spôsobí, že ambox bude bez vynechaného miesta pre obrázok |
image = [[Image:Gnome globe current event.png|42px]] imageright = [[Image:Nuvola apps bookcase.png|40px]] |