Template:Infobox emulator: Difference between revisions
FosterHaven (talk | contribs) No edit summary |
works fine Tag: Undo |
||
| (27 intermediate revisions by 13 users not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude>{| style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:{{{font-size|96.25%}}}; text-align:left; border:1px solid #a2a9b1; background-color:#f8f9fa; margin:0.5em 0 0.5em 1em; padding:0.2em;" cellspacing="0" cellpadding="3" | <onlyinclude>{| style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:{{{font-size|96.25%}}}; text-align:left; border:1px solid #a2a9b1; background-color:#f8f9fa; margin:0.5em 0 0.5em 1em; padding:0.2em;" cellspacing="0" cellpadding="3" class="table-infobox" | ||
|+ style="font-size:125%; font-weight:bold; padding:0.2em;" |{{{title|{{PAGENAME}}}}} | |+ style="font-size:125%; font-weight:bold; padding:0.2em; text-align:center;" |{{{title|{{PAGENAME}}}}} | ||
|- | |- | ||
{{#if: {{{logo|}}} | | {{#if: {{{logo|}}} | | ||
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|{{{logowidth|210}}}px]] | {{!}} colspan="2" style="text-align:center;" {{!}} {{#ifexist: Media:{{{logo}}} | [[File:{{{logo}}}|{{{logowidth|210}}}px]] | {{{logo}}} }} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
{{#if: {{{screenshot|}}} | | |||
{{!}} colspan="2" style="text-align:center;" {{!}} {{{ | {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{screenshot}}}|{{{screenshotwidth|285}}}px]] | ||
{{!}}- | |||
| }} | |||
{{#if: {{{screenshotcaption|}}} | | |||
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} {{{screenshotcaption}}} | |||
{{!}}- style="border-top:1px dashed #ccc;" | {{!}}- style="border-top:1px dashed #ccc;" | ||
| }} | | }} | ||
{{#if: {{{orig-developer|}}} | | {{#if: {{{orig-developer|}}} | | ||
! Original developer(s) | ! Original developer(s) | ||
| Line 48: | Line 52: | ||
| }} | | }} | ||
{{#if: {{{accuracy|}}} | | {{#if: {{{accuracy|}}} | | ||
! [[Emulation | ! [[Emulation accuracy|Accuracy]] | ||
{{!}} {{{accuracy}}} | {{!}} {{{accuracy}}} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
| Line 73: | Line 72: | ||
| }} | | }} | ||
{{#if: {{{support|}}} | | {{#if: {{{support|}}} | | ||
! Support <small>($)</small> | ! [[Support emulation projects|Support]] <small>($)</small> | ||
{{!}} {{{support}}} | {{!}} {{{support}}} | ||
{{!}}- | |||
| }} | |||
{{#if: {{{prog-lang|}}} | | |||
! Programmed in | |||
{{!}} {{{prog-lang}}} | |||
{{!}}- | |||
| }} | |||
{{#if: {{{license|}}} | | |||
! [[Licensing#Types_of_licenses|License]] | |||
{{!}} {{{license}}} | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
| Line 80: | Line 89: | ||
! [[Source code]] | ! [[Source code]] | ||
{{!}} {{{source}}} | {{!}} {{{source}}} | ||
{{!}}- | |||
| }} | |||
{{#if: {{{issuetracker|}}} | | |||
! Issue tracker | |||
{{!}} {{{issuetracker}}} | |||
{{!}}- | |||
| }} | |||
{{#if: {{{bios|}}} | | |||
! [[Emulator_files|BIOS/Keys]] | |||
{{!}} {{{bios}}} | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
| Line 90: | Line 109: | ||
__NOTOC__ | __NOTOC__ | ||
==Example== | ==Example== | ||
=== | ===Empty layout=== | ||
<pre>{{Infobox emulator | |||
|title = | |||
|logo = | |||
|logowidth = | |||
|developer = | |||
|version = | |||
|active = | |||
|platform = | |||
|architecture = | |||
|target = | |||
|compatibility = | |||
|accuracy = | |||
|website = | |||
|prog-lang = | |||
|support = | |||
|license = | |||
|source = | |||
|issuetracker = | |||
|bios = | |||
}}</pre> | |||
===Filled layout=== | |||
<pre>{{Infobox emulator | <pre>{{Infobox emulator | ||
|title = higan | |title = higan | ||
| Line 98: | Line 139: | ||
|version = {{higanVer}} | |version = {{higanVer}} | ||
|active = Yes | |active = Yes | ||
|platform = Windows<br/>macOS<br/>Linux<br/>libretro | |platform = [[Emulators on Windows|Windows]]<br/>[[Emulators on macOS|macOS]]<br/>[[Emulators on Linux|Linux]]<br/>[[libretro]] | ||
|architecture = x86_64 | |architecture = x86_64 | ||
|target = [[Nintendo Entertainment System emulators|NES]]<br/>[[Super Nintendo emulators|SNES]]<br/>[[Game Boy/Game Boy Color emulators|GB]]<br/>[[Sega Genesis emulators|MD]]<br/>''others'' | |target = [[Nintendo Entertainment System emulators|NES]]<br/>[[Super Nintendo emulators|SNES]]<br/>[[Game Boy/Game Boy Color emulators|GB]]<br/>[[Sega Genesis emulators|MD]]<br/>''others'' | ||
| Line 105: | Line 146: | ||
|website = [http://byuu.org/emulation/higan/ byuu.org] | |website = [http://byuu.org/emulation/higan/ byuu.org] | ||
|prog-lang = C <!-- this may not actually be true, it could also be C++, but this is just an example --> | |prog-lang = C <!-- this may not actually be true, it could also be C++, but this is just an example --> | ||
|support = [https://www.patreon.com/byuu Patreon] | |||
|license = GNU GPL v3 | |||
|source = [https://gitlab.com/higan/higan GitLab] | |source = [https://gitlab.com/higan/higan GitLab] | ||
|issuetracker = [https://gitlab.com/higan/higan GitLab] | |||
|bios = [[Emulator_files#SNES_.2F_Super_Famicom|Required for some games]] | |||
}}</pre> | }}</pre> | ||
| Line 116: | Line 161: | ||
|version = {{higanVer}} | |version = {{higanVer}} | ||
|active = Yes | |active = Yes | ||
|platform = Windows<br/>macOS<br/>Linux<br/>libretro | |platform = [[Emulators on Windows|Windows]]<br/>[[Emulators on macOS|macOS]]<br/>[[Emulators on Linux|Linux]]<br/>[[libretro]] | ||
|architecture = x86_64 | |architecture = x86_64 | ||
|target = [[Nintendo Entertainment System emulators|NES]]<br/>[[Super Nintendo emulators|SNES]]<br/>[[Game Boy/Game Boy Color emulators|GB]]<br/>[[Sega Genesis emulators|MD]]<br/>''others'' | |target = [[Nintendo Entertainment System emulators|NES]]<br/>[[Super Nintendo emulators|SNES]]<br/>[[Game Boy/Game Boy Color emulators|GB]]<br/>[[Sega Genesis emulators|MD]]<br/>''others'' | ||
| Line 123: | Line 168: | ||
|website = [http://byuu.org/emulation/higan/ byuu.org] | |website = [http://byuu.org/emulation/higan/ byuu.org] | ||
|prog-lang = C | |prog-lang = C | ||
|support = [https://www.patreon.com/byuu Patreon] | |||
|license = GNU GPL v3 | |||
|source = [https://gitlab.com/higan/higan GitLab] | |source = [https://gitlab.com/higan/higan GitLab] | ||
|issuetracker = [https://gitlab.com/higan/higan GitLab] | |||
|bios = [[Emulator_files#SNES_.2F_Super_Famicom|Required for some games]] | |||
}} | }} | ||
| Line 135: | Line 184: | ||
;<code>logowidth</code> <small>(replaces <code>imagewidth</code>)</small> | ;<code>logowidth</code> <small>(replaces <code>imagewidth</code>)</small> | ||
:Also optional. Set the width of the logo. Might be useful for logos that either exceed the size of the infobox, or have a more vertical (and thus uncomfortable) aspect ratio. | :Also optional. Set the width of the logo. Might be useful for logos that either exceed the size of the infobox, or have a more vertical (and thus uncomfortable) aspect ratio. | ||
;<code>screenshot</code> | |||
:Used to put screenshots of the program in. This is optional for a few reasons, the most compelling being that some emulators run from the terminal and don't have a recognizable user interface. | |||
;<code>screenshotwidth</code> | |||
:Also optional. Set the width of the screenshot. This may be necessary for programs that only output in much more square aspect ratios like 4:3 and thus extend the infobox a fair bit. | |||
;<code>screenshotcaption</code> | |||
:What is the screenshot showing? Optional because in many cases the image is self-explanatory, though details may be added if desired. | |||
;<code>orig-developer</code> | ;<code>orig-developer</code> | ||
:If development was passed onto other people, use this to write the original developer (and use <code>developer</code> for the current). This will change the text accordingly, and is optional. | :If development was passed onto other people, use this to write the ''original'' developer (and use <code>developer</code> for the current). This will change the text accordingly, and is optional. | ||
;<code>developer</code> <small>(replaces <code>fourth</code>)</small> | ;<code>developer</code> <small>(replaces <code>fourth</code>)</small> | ||
:Who's making the emulator? If the project is inactive, then who ''made'' the emulator? If the project is on GitHub, you can link it to the contributors page as "(project) Team". Leave it unanswered and it will say "''Anonymous/Unidentified''". | :Who's making the emulator? If the project is inactive, then who ''made'' the emulator? If the project is on GitHub, you can link it to the contributors page as "(project) Team". Leave it unanswered and it will say "''Anonymous/Unidentified''". | ||
;<code>version</code> <small>(replaces <code>first</code>)</small> | ;<code>version</code> <small>(replaces <code>first</code>)</small> | ||
:What's the current version? For new pages, you will want to templatize this, especially when updates happen often. Emugen naming conventions are usually Template:(Project)Ver and you transclude it into the infobox by doing <code><nowiki>{{ (Project)Ver }}</nowiki></code>. See the pages of other emulators if you're confused. For the targeted platform's own table, apply the same template there. For open-source projects that don't have a version system in place, you can use Git (as is often done on the comparison table). Leave it unanswered and it will say "N/A". | :What's the current version? For new pages, you will want to templatize this, especially when updates happen often. Emugen naming conventions are usually Template:(Project)Ver and you transclude it into the infobox by doing <code><nowiki>{{ (Project)Ver }}</nowiki></code> (or <code><nowiki>{{ Version|(Project) }}</nowiki></code>, see [[Template:Version]] to know which to use). See the pages of other emulators if you're confused. For the targeted platform's own table, apply the same template there. For open-source projects that don't have a version system in place, you can use Git (as is often done on the comparison table). Leave it unanswered and it will say "N/A". | ||
:;<code>last-version</code> | :;<code>last-version</code> | ||
::Replaces <code>version</code> (don't use both at the same time). If the project is actually defunct and no longer in development, this parameter should be used to show the last version published. | ::Replaces <code>version</code> (don't use both at the same time). If the project is actually defunct and no longer in development, this parameter should be used to show the last version published. | ||
| Line 157: | Line 212: | ||
:This one's optional, since there's no universally accepted metric for what counts as compatible, but essentially... does it run every game? What ''can'' it run? | :This one's optional, since there's no universally accepted metric for what counts as compatible, but essentially... does it run every game? What ''can'' it run? | ||
;<code>accuracy</code> | ;<code>accuracy</code> | ||
:How [[Emulation | :How [[Emulation accuracy|accurate]] the emulator is. Optional. | ||
;<code>prog-lang</code> | ;<code>prog-lang</code> | ||
:Optional, especially given that it's difficult to determine what programming languages closed-source projects use. | :Optional, especially given that it's difficult to determine what programming languages closed-source projects use. | ||
| Line 168: | Line 223: | ||
;<code>support</code> | ;<code>support</code> | ||
:The crowdfunding service the emulator uses (with a link to the account). [[Emulators on Patreon|Many projects run on contributions from their users]] so to help fit that into the article better, this parameter allows you to link to such service whether it be Patreon or any other; the parameter is generalized because there are other services, otherwise it'd be <code>patreon</code>. Optional because not every project has one set up, and it probably doesn't exist at all for inactive and outdated projects. | :The crowdfunding service the emulator uses (with a link to the account). [[Emulators on Patreon|Many projects run on contributions from their users]] so to help fit that into the article better, this parameter allows you to link to such service whether it be Patreon or any other; the parameter is generalized because there are other services, otherwise it'd be <code>patreon</code>. Optional because not every project has one set up, and it probably doesn't exist at all for inactive and outdated projects. | ||
;<code>license</code> | |||
:Indicates what license the software is under, while not a requirement editors should pair it with the {{T|License}} template when possible. | |||
;<code>source</code> <small>(replaces <code>sixth</code>)</small> | ;<code>source</code> <small>(replaces <code>sixth</code>)</small> | ||
:Where can the source code be found? Optional as closed-source emulators don't provide this (obviously). | :Where can the source code be found? Optional as closed-source emulators don't provide this (obviously). | ||
;<code>issuetracker</code> | |||
: Indicates where issues are tracked. May be several (for example, if software is hosted on 2 platforms, e.g. SourceForge + GitLab or GitHub and its own website, each platform with separate tracker). | |||
;<code>bios</code> | |||
:Does the emulator require any additional files/BIOS/keys to run? Link to the appropriate section in [[Emulator files]] if applicable. | |||
</center><noinclude>[[Category:Infobox templates]]</noinclude> | |||
[[Category:Infobox templates]] | |||
</noinclude> | </noinclude> | ||