Template:Ambox
Z PMD 85 Infoserver
(Rozdiel medzi revíziami)
(dobre a dost, nebudu to delat) |
(vyhodenie nekompatibilnych vlastnosti zo sablony, ktore nefunguju na nasom mediawiki) |
||
Riadok 1: | Riadok 1: | ||
- | <table class="metadata plainlinks ambox | + | <table class="metadata plainlinks ambox ambox-notice"> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<tr> | <tr> | ||
<td class="ambox-image"> | <td class="ambox-image"> | ||
Riadok 21: | Riadok 14: | ||
}}</div> | }}</div> | ||
}}</td> | }}</td> | ||
- | <td class="ambox-text | + | <td class="ambox-text"> {{{text}}} </td> |
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td> | | <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td> | ||
Riadok 29: | Riadok 22: | ||
<div class="template-documentation"> | <div class="template-documentation"> | ||
== Dokumentácia == | == Dokumentácia == | ||
- | + | __NOTOC__ | |
== Typy amboxov == | == Typy amboxov == | ||
=== Všetky štýly === | === Všetky štýly === | ||
Riadok 36: | Riadok 29: | ||
| image = none / blank / [[Obrázok:Nejaky_obrazok.png|40px]] | | image = none / blank / [[Obrázok:Nejaky_obrazok.png|40px]] | ||
| imageright = [[Image:Some image.png|40px]] | | imageright = [[Image:Some image.png|40px]] | ||
- | | style = hodnota CSS | ||
- | | textstyle = hodnota CSS | ||
| text = Telo textu správy. | | text = Telo textu správy. | ||
}}</pre> | }}</pre> | ||
Riadok 65: | Riadok 56: | ||
=== Iné obrázky === | === Iné obrázky === | ||
{{Ambox | {{Ambox | ||
- | |type = content | ||
|image = [[Image:Unbalanced scales.png|40px]] | |image = [[Image:Unbalanced scales.png|40px]] | ||
|text = <div>type = content<br/>image = <nowiki>[[Image:Unbalanced scales.png|40px]]</nowiki></div> | |text = <div>type = content<br/>image = <nowiki>[[Image:Unbalanced scales.png|40px]]</nowiki></div> | ||
}} | }} | ||
{{Ambox | {{Ambox | ||
- | |type = style | ||
|image = [[Image:Wikitext.png|50px]] | |image = [[Image:Wikitext.png|50px]] | ||
|text = <div>type = style<br><nowiki>image = [[Image:Wikitext.png|50px]]</nowiki></div> | |text = <div>type = style<br><nowiki>image = [[Image:Wikitext.png|50px]]</nowiki></div> | ||
}} | }} | ||
{{Ambox | {{Ambox | ||
- | |type = merge | ||
|image = [[Image:Merge-arrows.png|50px]] | |image = [[Image:Merge-arrows.png|50px]] | ||
|text = <div>type = merge<br/><nowiki>image = [[Image:Merge-arrows.png|50px]]</nowiki></div> | |text = <div>type = merge<br/><nowiki>image = [[Image:Merge-arrows.png|50px]]</nowiki></div> |
Aktuálna verzia
{{{text}}} |
Dokumentácia
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]] | 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]] |