Template:Ambox: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
en>NatAll75
m (Protected "Template:Ambox" [edit=sysop:move=sysop] [cascading])
 
Template>BaRaN6161TURK
m (Adding ja, tr, zh.)
Line 1: Line 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
{{Mbox/wikitext
  | serious  = ambox-serious
| namespace = main
  | content  = ambox-content
| type = {{{type|}}}
  | style   = ambox-style
| small = {{{small|}}}
  | merge    = ambox-merge
| id = {{{id|}}}
  | notice  = ambox-notice
| class = {{{class|}}}
  | #default = ambox-notice
| style = {{{style|}}}
}}">
| textstyle = {{{textstyle|}}}
<tr>
| plainlinks = {{{plainlinks|}}}
<td class="ambox-image">
| text = {{{text|}}}
{{#ifeq:{{{image}}}|none
| issue = {{{issue|}}}
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| fix  = {{{fix|}}}
  | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
| date = {{{date|}}}
    | serious = [[Image:Stop hand nuvola.svg|40px]]
| info = {{{info|}}}
    | content = [[Image:Emblem-important.svg|40px]]
| image = {{{image|}}}
    | style    = [[Image:Broom icon.svg|40px]]
| imageright = {{{imageright|}}}
    | merge    = [[Image:Merge-split-transwiki default.svg]]
| doc = {{{doc|}}}
    | notice  = [[Image:Info non-talk.png|40px]]
| cat = {{{cat|}}}
    | blank    = [[Image:No image.svg]]
}}<noinclude>
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
{{Documentation|Template:Mbox/wikitext/doc|ja=テンプレート:Ambox|tr=Şablon:Mikutu|zh=Template:Ambox}}
  }}</div>
}}</td>
<td class="ambox-text">{{{text}}}</td>
{{#if:{{{imageright|}}}|
  <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
</tr>
</table><noinclude>
 
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 07:24, 8 February 2022

Template:Mbox/wikitext

[create] Template documentation