Template:Game infobox: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/*
<templatestyles src="Template:Game infobox/styles.css" />
Madness combat game infobox styles
{| class="tpl:infobox" style="background-color:rgba(217, 217, 217, 0.2);border: solid;border-color:#3a40450f; width: 22em; float: right; clear: left;"
*/
!colspan="2" style="background:#FF4753; color:#000000" | {{#if: {{{Alias|}}}|{{{Alias}}}|{{PAGENAME}}}}
|-
| colspan="2" align="center" style = "font-size: 90%" |{{#if: {{{image|}}} |{{{image}}}}} <br>{{#if:{{{caption|}}}|{{{caption}}}}}
|- style="vertical-align: top;"
|{{#if: {{{Artist|}}}|{{!}}'''Artist(s):'''{{!!}}{{{Artist}}}}}
|- style="vertical-align: top;"
|{{#if: {{{Programming|}}}|{{!}}'''Programming:'''{{!!}}{{{Programming}}}}}
|- style="vertical-align: top;"
{{#if: {{{Music|}}}|{{!}}'''Music:'''{{!!}}{{{Music}}}}}
|- style="vertical-align: top;"
{{#if: {{{Version|}}}|{{!}}'''Current version:'''{{!!}}{{{Version}}}}}
|- style="vertical-align: top;"
{{#if: {{{Date|}}}|{{!}}'''Release date(s):'''{{!!}}{{{Date}}}}}
|- style="vertical-align: top;"
{{#if: {{{Genre|}}}|{{!}}'''Genre(s):'''{{!!}}{{{Genre}}}}}
|- style="vertical-align: top;"
{{#if: {{{Links|}}}|{{!}}colspan="2" align="center" style="background:#FF4753; color:#000000" {{!}} '''External links'''
{{!}}-
{{!}} colspan="2"{{!}}
{{{Links}}}
}}
|}<noinclude><br clear="{{{1|all}}}">


.tpl\:infobox{
==Usage==
border-radius: 8px;
Copy and paste the following code:
margin: 0 0 0 20px !important;
<pre>
}
{{Game infobox
| Title =
| Alias =
| image =
| caption =
| Artist =
| Programming =
| Music =
| Version =
| Date =
| Genre =
| Links =
}}
</pre>


.tpl\:infobox > tbody > tr{
<br clear="{{{1|all}}}">
overflow: hidden;
 
}
'''Note: Leave blank if information is missing or not applicable.'''
.tpl\:infobox > tbody > tr:first-child > *{
 
border-radius: 4px 4px 0 0;
[[Category:Templates|{{PAGENAME}}]]</noinclude>
}
.tpl\:infobox > tbody > tr:last-child > *{
border-radius: 0 0 4px 4px;
}

Latest revision as of 20:34, 15 June 2023

Game infobox


Usage

Copy and paste the following code:

{{Game infobox
| Title = 
| Alias = 
| image = 
| caption = 
| Artist = 
| Programming = 
| Music = 
| Version = 
| Date = 
| Genre = 
| Links = 
}}


Note: Leave blank if information is missing or not applicable.