Difference between revisions of "Template:PortFeatures"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Add default values for all options)
(Add empty default value in the documentation)
Line 46: Line 46:
=Usage=
=Usage=
To write the port features, copy this to your port's page:
To write the port features, copy this to your port's page:
  <nowiki>&lt;includeonly&gt;{{PortFeatures|switch={{{switch}}}|default={{{default}}}</nowiki>
  <nowiki>&lt;includeonly&gt;{{PortFeatures|switch={{{switch}}}|default={{{default|}}}</nowiki>
  ADD OPTIONS HERE
  ADD OPTIONS HERE
  <nowiki>}}&lt;/includeonly&gt;&lt;noinclude&gt;</nowiki>
  <nowiki>}}&lt;/includeonly&gt;&lt;noinclude&gt;</nowiki>

Revision as of 22:11, 5 March 2009

Use this template to define a port's features, which can later be included in several pages.

Usage

To write the port features, copy this to your port's page:

<includeonly>{{PortFeatures|switch={{{switch}}}|default={{{default|}}}
ADD OPTIONS HERE
}}</includeonly><noinclude>
WRITE THE REST OF THE PAGE HERE
</noinclude>

The available options are:

  • Basic information:
    • name: the port name
    • maintainer: the port maintainer
    • forum: the ScummVM forum number
    • backend: type of backend used (SDL, Custom, ...)
    • web: additional webpages
    • firstversion: first official version
    • version: last released version (usually {{StableVersion}} if the port is up to date with ScummVM)
    • status: maintained, etc...
  • Common features:
    • mp3: yes/no
    • ogg: yes/no
    • flac: yes/no
    • zlib: yes/no
    • plugins: yes/no
  • Engines supported:
    • agi, agos, etc...: yes/no