Template:Infobox emulator: Difference between revisions
Added empty layout for easy copying |
works fine Tag: Undo |
||
| (20 intermediate revisions by 11 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}}} }} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
| Line 11: | Line 11: | ||
| }} | | }} | ||
{{#if: {{{screenshotcaption|}}} | | {{#if: {{{screenshotcaption|}}} | | ||
{{!}} colspan="2" style="text-align:center;" {{!}} {{{screenshotcaption}}} | {{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} {{{screenshotcaption}}} | ||
{{!}}- style="border-top:1px dashed #ccc;" | {{!}}- style="border-top:1px dashed #ccc;" | ||
| }} | | }} | ||
| Line 52: | Line 52: | ||
| }} | | }} | ||
{{#if: {{{accuracy|}}} | | {{#if: {{{accuracy|}}} | | ||
! [[Emulation | ! [[Emulation accuracy|Accuracy]] | ||
{{!}} {{{accuracy}}} | {{!}} {{{accuracy}}} | ||
{{!}}- | {{!}}- | ||
| Line 82: | Line 82: | ||
| }} | | }} | ||
{{#if: {{{license|}}} | | {{#if: {{{license|}}} | | ||
! [[ | ! [[Licensing#Types_of_licenses|License]] | ||
{{!}} {{{license}}} | {{!}} {{{license}}} | ||
{{!}}- | {{!}}- | ||
| Line 89: | Line 89: | ||
! [[Source code]] | ! [[Source code]] | ||
{{!}} {{{source}}} | {{!}} {{{source}}} | ||
{{!}}- | |||
| }} | |||
{{#if: {{{issuetracker|}}} | | |||
! Issue tracker | |||
{{!}} {{{issuetracker}}} | |||
{{!}}- | |||
| }} | |||
{{#if: {{{bios|}}} | | |||
! [[Emulator_files|BIOS/Keys]] | |||
{{!}} {{{bios}}} | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
| Line 99: | Line 109: | ||
__NOTOC__ | __NOTOC__ | ||
==Example== | ==Example== | ||
===Empty | ===Empty layout=== | ||
<pre>{{Infobox emulator | <pre>{{Infobox emulator | ||
|title = | |title = | ||
| Line 117: | Line 127: | ||
|license = | |license = | ||
|source = | |source = | ||
|issuetracker = | |||
|bios = | |||
}}</pre> | }}</pre> | ||
===Filled | ===Filled layout=== | ||
<pre>{{Infobox emulator | <pre>{{Infobox emulator | ||
|title = higan | |title = higan | ||
| Line 127: | 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 137: | Line 149: | ||
|license = GNU GPL v3 | |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 147: | 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 157: | Line 171: | ||
|license = GNU GPL v3 | |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 179: | Line 195: | ||
: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 196: | 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 207: | 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> | ||