|
|
Line 1: |
Line 1: |
| <includeonly>{{BubbleBox|tags=tagInfobox|open|border={{{color|}}}|background=rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}, 0.15) | | <div>{{Infobox|open|color=141, 7, 156|image={{{image}}}|title=''{{{title|}}}''}} |
| |style=width: 350px; padding: 8px; float: right; {{{style|}}}}}
| | {| style="border-spacing: 4px;" |
| <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|Generic}}}}, 0.5); background-color: rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}, 0.2); outline-color: rgba({{#if:{{{color|}}}|{{{color}}}|{{SiteColor|Generic}}}}, 0.3); ">{{{gobbler title|{{{title|{{PAGENAME}}}}}}}}​</span>
| | {{Infobox/Property|color=141, 7, 156|Full name|{{{fullname|}}}}} |
| {{InfoboxTitle|color={{{color|}}}|{{{title|{{PAGENAME}}}}}}} | | {{Infobox/Property|color=141, 7, 156|Native name|{{{nativename|}}}}} |
| <div style="text-align: center; margin: 8px;">{{#if:{{{logo|}}}|[[File:{{{logo|}}}|frameless|{{#if:{{{size|}}}|{{{size}}}|334x250}}px]]<br />}}{{#if:{{{image|}}}|[[File:{{{image|Example.png}}}|frameless|{{#if:{{{size|}}}|{{{size}}}|334x250}}px]]}}{{#if:{{{caption|}}}|<br />''{{{caption}}}''}}</div><!--
| | {{Infobox/Property|color=141, 7, 156|Pseudonym|{{{pseudonym|}}}}} |
| -->{{#ifeq:{{{1|}}}|open||{{{1|}}}</div>}}<!--
| | {{Infobox/Property|color=141, 7, 156|Born|{{{born|}}}}} |
| --></includeonly><noinclude>__NOTOC__
| | {{Infobox/Property|color=141, 7, 156|Died|{{{died|}}}}} |
| Produces a basic infobox for a game.
| | {{Infobox/Property|color=141, 7, 156|Occupation|{{{occupation|}}}}} |
| | | {{Infobox/Property|color=141, 7, 156|Role(s)|{{{role|}}}}} |
| === Parameters ===
| | {{Infobox/Property|color=141, 7, 156|Instrument(s)|{{{instrument|}}}}} |
| {|
| | {{Infobox/Property|color=141, 7, 156|First game|{{{firstgame|}}}}} |
| |- style="vertical-align: top;"
| | {{Infobox/Property|color=141, 7, 156|Latest game|{{{latestgame|}}}}} |
| |<code>open</code>||Optional.||Like with {{t|BubbleBox}}, the "open" parameter leaves the table open (unclosed div) for further customization. | | {{Infobox/Property|color=141, 7, 156|''Splatoon'' games worked on|{{{games|}}}}} |
| |- 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>gobbler title</code>||Optional.||The title text used for the [[Template:InfoboxGobbler]] tab. If absent, <code>title</code> is used.
| |
| |- style="vertical-align: top;"
| |
| |<code>logo</code>||Optional.||The filename of the logo to display.
| |
| |- 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;"
| |
| |} | | |} |
| | | </div><noinclude> |
| | {{clr}} |
| === Test === | | === Test === |
| {{User:wmyttmlimvty/Sandbox/Testpage | | {{User:wmyttmlimvty/Sandbox/Testpage |
| |color = {{SiteColor|Splatoon}} | | |color = {{SiteColor|Splatoon}} |
| |size = 50 | | |title = Splatooon |
| |title = Splatooon
| | |image = [[File:Splatoon NA Box Art.jpg]] |
| |image = Splatoon NA Box Art.jpg | | |image size = 50px |
| |caption = North American box art | | |caption = North American box art |
| }} | | }} |
| </noinclude> | | </noinclude> |