Difference between revisions of "Template:GameInfobox"

From Lair Of The Fooker Wiki
Jump to: navigation, search
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox bordered" width="300px" style="float: {{{align|right}}}; -moz-border-radius:2.5px; border-radius:2.5px; font-size: 90%; text-align: left; border:1px solid #18e6f1; clear:both; font-family:arial;" cellpadding="3"
+
<includeonly>{{InfoboxStyle
! colspan="2" style="background-color:rgb(23, 205, 250); font-size:115%; font-family:verdana;" align="center"|{{#if:{{{StatusIcon|}}}|{{{StatusIcon}}}}}{{{Name|{{PAGENAME}}}}}
+
|width=300px
|-
+
|Color={{{Color|basic}}}
{{#if:{{{Image Information|}}}|{{!}} colspan="2" style="text-align:center; background-color:clear;"{{!}}{{{Image Information{{!}}}}}{{#if:{{{Caption|}}}|<br/>{{{Caption{{!}}}}}}}<!-- this is a load of bullshit. - Rose -->
+
|StatusIcon={{{StatusIcon|}}}
{{!}}-}}
+
|Name={{{Name|{{PAGENAME}}}}}
{{#if:{{{Created by|}}}|
+
|Image Information={{{Image Information|}}}
{{!}} style="background-color:rgb(23, 180, 230); text-align:right;" {{!}}'''Created by''':
+
|Caption={{{Caption|}}}
{{!}}{{{Created by}}}
+
|data=
{{!}}-}}
+
{{InfoboxRowOptional|type=Created by|value={{{Created by|}}}|Color={{{Color|basic}}}}}
{{#if:{{{Showcased in|}}}|
+
{{InfoboxRowOptional|type=Showcased in|value={{{Showcased in|}}}|Color={{{Color|basic}}}}}
{{!}} style="background-color:rgb(23, 180, 230); text-align:right;" {{!}}'''Showcased in''':
+
{{InfoboxRowOptional|type=Engine|value={{{Engine|}}}|Color={{{Color|basic}}}}}
{{!}}{{{Showcased in}}}
+
{{InfoboxRowOptional|type=First Seen in|value={{{First Seen|}}}|Color={{{Color|basic}}}}}
{{!}}-}}
+
{{InfoboxRowOptionalCol2|type=External Link(s)|value={{{External Link(s)|}}}|align=left|Color={{{Color|basic}}}|fontsize=80%}}
{{#if:{{{Engine|}}}|
+
{{InfoboxRowOptionalCol2|type=Award(s)|value={{{Award(s)|}}}|align=center|Color={{{Color|basic}}}}}
{{!}} style="background-color:rgb(23, 180, 230); text-align:right;" {{!}}'''Engine''':
+
}}[[Category:Hack/Game|{{PAGENAME}}]]</includeonly><noinclude>
{{!}}{{{Engine}}}
+
 
{{!}}-}}
+
==Usage==
{{#if:{{{Playthrough|}}}|
+
<nowiki>
{{!}} style="background-color:rgb(23, 180, 230); text-align:right;" {{!}}'''Playthrough''':
+
{{GameInfobox
{{!}}{{{Playthrough}}}
+
|Color            = (basic or ragefest i~v; defaults to basic)
{{!}}-}}
+
|StatusIcon        =
{{#if:{{{External Link(s)|}}}|
+
|Image Information =
{{!}} colspan="2" style="background-color:rgb(23, 205, 250); text-align:center;" {{!}}'''External Link(s)'''
+
|Caption          =
{{!}}-
+
|Created by        =
{{!}} colspan="2" style="text-align:left; font-size: 80%;" {{!}}{{{External Link(s)}}}
+
|Showcased in      =
{{!}}-}}
+
|Engine            =
{{#if:{{{Award(s)|}}}|
+
|First Seen        =
{{!}} colspan="2" style="background-color:rgb(23, 180, 230); text-align:center;" {{!}}'''Award(s)'''
+
|External Link(s)  =
{{!}}-
+
|Award(s)         =
{{!}} colspan="2" style="text-align:center;" {{!}}{{{Award(s)}}}}}
+
}}</nowiki>[[Category:Templates|{{PAGENAME}}]]</noinclude>
|}<includeonly>[[Category:Submission|{{PAGENAME}}]]</includeonly>
 

Latest revision as of 15:01, 24 April 2018


Usage

{{GameInfobox
|Color             = (basic or ragefest i~v; defaults to basic)
|StatusIcon        =
|Image Information =
|Caption           =
|Created by        =
|Showcased in      =
|Engine            =
|First Seen        =
|External Link(s)  =
|Award(s)          =
}}