Editing Template:Infobox emulator
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
− | + | <!-- won't be used until screenshot images are implemented {{#if: {{{imagecaption|}}} | | |
− | + | {{!}} colspan="2" style="text-align:center;" {{!}} {{{imagecaption}}} | |
− | |||
− | |||
− | {{#if: {{{ | ||
− | {{!}} colspan="2" style="text-align:center | ||
{{!}}- 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 23: | Line 19: | ||
|- | |- | ||
! {{#if: {{{last-version|}}} |Last version|Latest version}} | ! {{#if: {{{last-version|}}} |Last version|Latest version}} | ||
− | | {{#if: {{{last-version|}}} |{{{last-version}}}|{{{version|'' | + | | {{#if: {{{last-version|}}} |{{{last-version}}}|{{{version|''Unknown''}}} }} |
|- | |- | ||
{{#if: {{{active|}}} | | {{#if: {{{active|}}} | | ||
Line 52: | Line 48: | ||
| }} | | }} | ||
{{#if: {{{accuracy|}}} | | {{#if: {{{accuracy|}}} | | ||
− | ! [[Emulation | + | ! [[Emulation Accuracy|Accuracy]] |
{{!}} {{{accuracy}}} | {{!}} {{{accuracy}}} | ||
+ | {{!}}- | ||
+ | | }} | ||
+ | {{#if: {{{prog-lang|}}} | | ||
+ | ! Programmed in | ||
+ | {{!}} {{{prog-lang}}} | ||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 69: | Line 70: | ||
! Download(s) | ! Download(s) | ||
{{!}} {{{download}}} | {{!}} {{{download}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 89: | Line 75: | ||
! [[Source code]] | ! [[Source code]] | ||
{{!}} {{{source}}} | {{!}} {{{source}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
Line 106: | Line 82: | ||
|}</onlyinclude><noinclude><br style="clear:both;"/> | |}</onlyinclude><noinclude><br style="clear:both;"/> | ||
<center><big>'''Infobox emulator'''</big></center> | <center><big>'''Infobox emulator'''</big></center> | ||
− | + | Infobox for pages about specific emulators. This role is currently being taken up by [[Template:Infobox]], but this version is improved. It now looks like Wikipedia's primary infobox, and allows for much more parameters, listed below. Many parameters are optional, and have explanations as to ''why'' they are optional. | |
− | + | ||
==Example== | ==Example== | ||
− | + | :''Note: This example is not shown because the markup is on the same page as the template itself and thus would be recursive.'' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre>{{Infobox emulator | <pre>{{Infobox emulator | ||
|title = higan | |title = higan | ||
Line 138: | Line 94: | ||
|version = {{higanVer}} | |version = {{higanVer}} | ||
|active = Yes | |active = Yes | ||
− | |platform = | + | |platform = Windows<br/>macOS<br/>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/>[[ | + | |target = [[Nintendo Entertainment System emulators|NES]]<br/>[[Super Nintendo emulators|SNES]]<br/>[[Game Boy / Game Boy Color emulators|GB]]<br/>[[Genesis emulators|MD]]<br/>''others'' |
− | |compatibility = | + | |compatibility = 100% for commercial titles<br/>Some homebrew may have small defects |
|accuracy = Cycle-accurate | |accuracy = Cycle-accurate | ||
|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 --> | ||
− | |||
− | |||
|source = [https://gitlab.com/higan/higan GitLab] | |source = [https://gitlab.com/higan/higan GitLab] | ||
− | |||
}}</pre> | }}</pre> | ||
− | === | + | ==Parameters== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | The order of parameters here are arranged according to the order they are displayed | + | The order of parameters here are arranged according to the order they are displayed on the page. You can technically place these in any order you want (as opposed to <code>first</code>, <code>second</code>, <code>third</code>, etc.), but it's discouraged because the values will only show up one way. That's how the template is designed. |
;<code>title</code> | ;<code>title</code> | ||
− | :The name of the emulator. If no value is given, it will default to the name of the page instead | + | :The name of the emulator. If no value is given, it will default to the name of the page instead. |
;<code>logo</code> <small>(replaces <code>image</code>)</small> | ;<code>logo</code> <small>(replaces <code>image</code>)</small> | ||
:Used to put logos in. It's optional. | :Used to put logos in. It's optional. | ||
;<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 | + | :Also optional. Set the width of the logo. Might be useful for logos that require detail to be seen that aren't visible at the default size (210 pixels wide). |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
;<code>orig-developer</code> | ;<code>orig-developer</code> | ||
− | :If development was passed onto other people, use this to write the | + | :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, | + | :Who's making the emulator? If the project is inactive, then who ''made'' the emulator? If the project is on GitHub, link the contributors page and say "(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> | + | :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. |
:;<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 200: | Line 126: | ||
::If the project is defunct and no longer in development, what happened to the project? '''Do not use for active projects (obviously).''' | ::If the project is defunct and no longer in development, what happened to the project? '''Do not use for active projects (obviously).''' | ||
;<code>platform</code> <small>(replaces <code>third</code>)</small> | ;<code>platform</code> <small>(replaces <code>third</code>)</small> | ||
− | :What platforms does the emulator run on? Often called the host in virtualization. Required because it's gotta run somewhere. | + | :What platforms does the emulator run on? Often called the host in virtualization. Required because it's gotta run somewhere. List the operating systems and consoles (if it has a standalone package for them), otherwise put libretro if they have libretro cores. |
− | |||
;<code>architecture</code> | ;<code>architecture</code> | ||
:What architecture is the emulator coded for? Not to be confused with the target architecture, which will always be the same so long as you target the same device. | :What architecture is the emulator coded for? Not to be confused with the target architecture, which will always be the same so long as you target the same device. | ||
Line 209: | Line 134: | ||
: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 217: | Line 142: | ||
:The hub of the emulator. Not the location of the downloads, those usually go in the downloads section on the article. Optional because not every project has a website (especially true of older and inactive projects for which we have articles on). | :The hub of the emulator. Not the location of the downloads, those usually go in the downloads section on the article. Optional because not every project has a website (especially true of older and inactive projects for which we have articles on). | ||
;<code>download</code> | ;<code>download</code> | ||
− | :Optional because most articles link to builds in their downloads section | + | :Optional because the most articles link to builds in their downloads section. |
− | |||
− | |||
;<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). | ||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |