Difference between revisions of "Template:Franchise"

From Gamehiker Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><div>
+
<includeonly>
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:25em;"
+
{| class="infobox" style="width: 25em; text-align: left; font-size: 90%" cellspacing="2"
 +
! style="font-size: 110%; background: {{{bgcolour|transparent}}}; text-align: center;" colspan="2" align="right" |
 
|-
 
|-
|colspan=2 style="text-align:center;" |
+
{{#if: {{{image|<noinclude>-</noinclude>}}} |  
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{image}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{caption|<noinclude>-</noinclude>}}} |
 +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{caption}}}
 +
{{!}}-
 +
}}
 +
! colspan="2" style="background-color: {{{bgcolor}}}; text-align: center; color:{{{fgcolor}}}; font-size: 110%;" | {{{name}}}
 
|-
 
|-
|colspan=2 style="text-align:center;" | {{{image}}}
+
{{#if: {{{franchise|<noinclude>-</noinclude>}}} |
|-
+
! '''Franchise'''
!colspan=2 style="text-align:center; font-size: larger; background-color:{{{bgcolor}}}; color:{{{fgcolor}}};" | {{{name}}}
+
{{!}} {{{franchise}}}
|-
+
{{!}}-
|'''Franchise Title''' || {{{franchise title}}}
+
}}
|-
+
{{#if: {{{developer|<noinclude>-</noinclude>}}} |
|'''Abbreviation''' || {{{abbreviation}}}
+
! '''Developer'''
|-
+
{{!}} {{{developer}}}
|'''Developer''' || {{{developer}}}
+
{{!}}-
|-
+
}}
|'''Games''' || {{{games}}}
+
{{#if: {{{games|<noinclude>-</noinclude>}}} |
|-
+
! '''Games'''
|'''Debut''' || {{{debut}}}
+
{{!}} {{{games}}}
|}
+
{{!}}-
</div>
+
}}
</includeonly>
+
{{#if: {{{debut|<noinclude>-</noinclude>}}} |
 
+
! '''Debut'''
<noinclude>
+
{{!}} {{{debut}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{gallery|<noinclude>-</noinclude>}}} |
 +
! '''Gallery'''
 +
{{!}} {{{gallery}}}
 +
{{!}}-
 +
}}
 +
|}</includeonly><noinclude>
 
==Code==
 
==Code==
 
Code to be used in article:  
 
Code to be used in article:  
Line 31: Line 48:
 
|name=
 
|name=
 
|series title=
 
|series title=
|abbreviation=
+
|gallery=
 
|developer=
 
|developer=
 
|games=
 
|games=

Latest revision as of 15:42, 27 January 2021

Code[edit]

Code to be used in article:

{{series
|image=
|bgcolor=
|fgcolor=
|name=
|series title=
|gallery=
|developer=
|games=
|debut=
|}}