Difference between revisions of "Template:Infobox"

From Emulation General Wiki
Jump to navigation Jump to search
m (1 revision)
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<onlyinclude>{| class="wikia-infobox"
+
<includeonly>{| class="wikitable" style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:90%; text-align:left;" cellspacing="0" cellpadding="3"
 
 
 
|-
 
|-
 
{{#if: {{{image|}}} |
 
{{#if: {{{image|}}} |
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
+
{{!}} class="wikia-infobox-image" colspan="2" style="text-align:center" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
 
| }}
 
| }}
 
 
|-
 
|-
 
{{#if: {{{imagecaption|}}} |
 
{{#if: {{{imagecaption|}}} |
{{!}} class="wikia-infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
+
{{!}} style="text-align:center" colspan="2" {{!}} {{{imagecaption}}}
 
| }}
 
| }}
 
|-
 
! colspan="2" | <div class="wikia-infobox-section-header"></div>
 
 
 
|-
 
|-
 
! Current version:
 
! Current version:
 
| {{{first|''Unknown''}}}
 
| {{{first|''Unknown''}}}
 
 
|-
 
|-
 
! Active:
 
! Active:
 
| {{{second|''Unknown''}}}
 
| {{{second|''Unknown''}}}
 
 
|-
 
|-
 
! OS:
 
! OS:
 
| {{{third|''Unknown''}}}
 
| {{{third|''Unknown''}}}
 
 
|-
 
|-
 
! Authors:
 
! Authors:
 
| {{{fourth|''Unknown''}}}
 
| {{{fourth|''Unknown''}}}
 
 
|-
 
|-
 
! Official website:
 
! Official website:
 
| {{{fifth|''Unknown''}}}
 
| {{{fifth|''Unknown''}}}
 
 
|-
 
|-
{{#if:{{{sixth<includeonly>|</includeonly>}}} |
+
! Source code:
{{!}}'''Source code:'''
+
| {{{sixth|''Unknown''}}}
{{!}}{{{sixth}}}
 
{{!}}-
 
}}
 
 
 
 
|- style="font-size:0; line-height:0;"
 
|- style="font-size:0; line-height:0;"
 
! style="width:50%; padding:0" |
 
! style="width:50%; padding:0" |
 
! style="width:50%; padding:0" |
 
! style="width:50%; padding:0" |
 
+
|}</includeonly><noinclude><br style="clear:both;"/>
|}</onlyinclude><noinclude><br style="clear:both;"/>
 
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 17:45, 16 September 2016


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox/doc to edit this documentation. (How does this work?)

Description

This template is an infobox for an emulator.

Syntax

{{infobox
 | image = [Icon of the emulator, e.g. "Example.png"]
 | imagecaption = [This text is displayed below the icon (Optional)]
 | imagewidth = [Width of the icon in pixels, e.g. "150"] [default: 210 pixels]
 | first = [Current version]
 | second = [Active]
 | third = [OS]
 | fourth = [Authors]
 | fifth = [Official website]
 | sixth = [Source code]
}}

Samples

{{infobox
 | image = Icon.png
 | imagecaption = The name higan stands for 'Hero of Fire'
 | imagewidth = 160
 | first = 0.95
 | second = Yes
 | third = Windows, Linux, macOS
 | fourth = byuu
 | fifth = [http://byuu.org/emulation/higan/ byuu.org]
 | sixth = [https://code.google.com/p/higan/ Google Code]
}}

Results in...

The name higan stands for 'Hero of Fire'
The name higan stands for 'Hero of Fire'
Current version: 0.95
Active: Yes
OS: Windows, Linux, macOS
Authors: byuu
Official website: byuu.org
Source code: Google Code