|
|
(No se muestran 15 ediciones intermedias de 7 usuarios) |
Línea 1: |
Línea 1: |
| <includeonly>{{BubbleBox|open|border={{{color|}}}|background=rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}, 0.15)|style=width: 350px; padding: 8px; float: right; {{{style|}}}}}
| | {{BubbleBox|tags=tagInfobox|open|border={{{color|}}}|background=rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generico}}}}, 0.15) |
| {{InfoboxTitle|color={{{color|}}}|{{{title|{{PAGENAME}}}}}}} | | |style=width: 350px; padding: 8px; float: right; {{{estilo|}}}}} |
| <div style="text-align: center; margin: 8px; max-width: 334px;">[[File:{{{image|Example.png}}}|frameless|334x250px]]{{#if:{{{caption|}}}|<br />''{{{caption}}}''}}</div>
| | <span class="tagTab" style="display: none; padding: 2px; margin-right: 2px; cursor: default; border-width: 1px 3px 1px 3px; border-style: solid; border-radius: 4px; font-size: 12px; border-color: rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generico}}}}, 0.5); background-color: rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generico}}}}, 0.2); outline-color: rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generico}}}}, 0.3); ">{{{titulo|{{PAGENAME}}}}}​</span> |
| {{#ifeq:{{{1|}}}|open||{{{1|}}}</div>}} | | {{InfoboxTitle|color={{{color|}}}|{{{titulo|{{PAGENAME}}}}}}} |
| </includeonly><noinclude>__NOTOC__
| | <div style="text-align: center; margin: 8px;">{{#if:{{{logo|}}}|[[File:{{{logo|}}}|frameless|334x250px]]<br />}}[[File:{{{imagen|Example.png}}}|frameless|334x250px]]{{#if:{{{leyenda|}}}|<br />''{{{leyenda}}}''}}</div><!-- |
| Produces a basic infobox for a game.
| | -->{{#ifeq:{{{1|}}}|open||{{{1|}}}</div>}}<!-- |
| | | --> |
| === Parameters ===
| |
| {||- style="vertical-align: top;"
| |
| |<code>open</code>||Optional.||Like with {{t|BubbleBox}}, the "open" parameter leaves the table open (unclosed div) for further customization.
| |
| |- style="vertical-align: top;"
| |
| |- style="vertical-align: top;"
| |
| |<code>color</code>||Optional.||An RGB triplet to use as the base color for formatting. The default color is {{t|SiteColor|Generic}}.
| |
| |- style="vertical-align: top;"
| |
| |<code>style</code>||Optional.||A CSS property list to apply to the top-level container.
| |
| |- style="vertical-align: top;" | |
| |<code>title</code>||Optional.||The title. If absent, the page name is used. | |
| |- style="vertical-align: top;"
| |
| |<code>image</code>||Optional||The filename of the image to display.
| |
| |- style="vertical-align: top;"
| |
| |<code>caption</code>||Optional.||Text displayed below the image.
| |
| |- style="vertical-align: top;"
| |
| |}
| |
| | |
| === Example ===
| |
| ==== Markup ====
| |
| <nowiki>{{Infobox
| |
| |color = {{SiteColor|Splatoon}}
| |
| |title = Splatoon | |
| |image = Boxart.jpg | |
| |caption = North American box art
| |
| }}</nowiki> | |
| | |
| ==== Output ====
| |
| {{Infobox | |
| |color = {{SiteColor|Splatoon}}
| |
| |title = Splatoon | |
| |image = Boxart.jpg | |
| |caption = North American box art
| |
| }}
| |
| {{clr}} | |
| | |
| <nowiki>{{Infobox
| |
| |color = {{SiteColor|Splatoon 2}}
| |
| |title = Splatoon 2 | |
| |caption = Example
| |
| }}</nowiki>
| |
| | |
| ==== Output ====
| |
| {{Infobox | |
| |color = {{SiteColor|Splatoon 2}}
| |
| |title = Splatoon 2
| |
| |caption = Example
| |
| }} | |
| {{clr}}
| |
| | |
| <nowiki>{{Infobox
| |
| |color = {{SiteColor|Generic}}
| |
| |title = Moray Towers | |
| |image = Splatoon Stage Moray Towers.png | |
| |caption = Horizontal image | |
| }}</nowiki>
| |
| | |
| ==== Output ====
| |
| {{Infobox | |
| |color = {{SiteColor|Generic}}
| |
| |title = Moray Towers
| |
| |image = Splatoon Stage Moray Towers.png
| |
| |caption = Horizontal image
| |
| }} | |
| {{clr}}
| |
| </noinclude>
| |