Difference between revisions of "Template:InfoboxSoftware"
From DoomWiki.org
m (changed TimeAgo to use templates in template namespace) |
m (fix dangling empty parentheses above source repo URL. Thanks to Corbin for accidentally testing it out :>) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Infobox | + | <includeonly>{{Infobox |
− | |||
| title = {{{title|{{{name|{{PAGENAME}}}}}}}} | | title = {{{title|{{{name|{{PAGENAME}}}}}}}} | ||
| titleclass = summary | | titleclass = summary | ||
Line 21: | Line 20: | ||
<!--| label5 = Initial release | <!--| label5 = Initial release | ||
− | | data5 = {{{ | + | | data5 = {{#ifexist: {{FULLPAGENAME}}/InitialVersion | {{:{{FULLPAGENAME}}/InitialVersion}} {{#ifexist: {{FULLPAGENAME}}/InitialDate | ({{:{{FULLPAGENAME}}/InitialDate}}, {{TimeAgo|{{:{{FULLPAGENAME}}/InitialDate}}}}) |}} | {{#ifexist: {{FULLPAGENAME}}/InitialDate | {{:{{FULLPAGENAME}}/InitialDate}} ({{TimeAgo|{{:{{FULLPAGENAME}}/InitialDate}}}}) |}}}}--> |
| label5 = Initial release | | label5 = Initial release | ||
− | | data5 = {{#ifexist: {{ | + | | data5 = {{#if: {{{initialversion|}}} | {{{initialversion}}} {{#if: {{{initialdate|}}} | ({{{initialdate}}}, {{TimeAgo|{{{initialdate}}}}}) | }} | {{#if: {{{initialdate|}}} | {{{initialdate}}} ({{TimeAgo|{{{initialdate}}}}}) | }}}} |
+ | |||
+ | <!--| label6 = Latest release | ||
+ | | data6 = {{#ifexist: {{FULLPAGENAME}}/Version | {{:{{FULLPAGENAME}}/Version}} {{#ifexist: {{FULLPAGENAME}}/Date | ({{:{{FULLPAGENAME}}/Date}}, {{TimeAgo|{{:{{FULLPAGENAME}}/Date}}}}) |}} | {{#ifexist: {{FULLPAGENAME}}/Date | {{:{{FULLPAGENAME}}/Date}} ({{TimeAgo|{{:{{FULLPAGENAME}}/Date}}}}) |}}}}0--> | ||
| label6 = Latest release | | label6 = Latest release | ||
− | | data6 = {{#ifexist: {{ | + | | data6 = {{#ifexist: {{FULLPAGENAME}}/Version | {{:{{FULLPAGENAME}}/Version}} {{#ifexist: {{FULLPAGENAME}}/Date | ({{:{{FULLPAGENAME}}/Date}}, {{TimeAgo|{{:{{FULLPAGENAME}}/Date}}}}) |}} | {{#ifexist: {{FULLPAGENAME}}/Date | {{:{{FULLPAGENAME}}/Date}} ({{TimeAgo|{{:{{FULLPAGENAME}}/Date}}}}) |}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| label8 = Development status | | label8 = Development status | ||
Line 73: | Line 52: | ||
| label15 = Source Repository | | label15 = Source Repository | ||
− | ({{{repotype | + | {{#if:{{{repotype|}}} | ({{{repotype}}}) | }} |
| data15 = {{{repourl|}}} | | data15 = {{{repourl|}}} | ||
| label16 = IRC Channel | | label16 = IRC Channel | ||
| data16 = {{{ircchannel|}}} | | data16 = {{{ircchannel|}}} | ||
− | }}<noinclude> | + | }}</includeonly><noinclude>Infobox for a [[source port]]'s main article. |
− | + | ||
− | + | Parameters (all optional): | |
− | + | ||
− | * | + | * '''title''' = Application name. |
− | * | + | * '''status''' = Project status. Active or Discontinued is usual in the community. |
− | * | + | * '''license''' = Distribution license (e.g. GPL, BSD, Proprietary). |
− | * | + | * '''platform''' = Target operating environment(s). Official binaries need not be provided. |
− | * | + | * '''standard''' = Baseline compatibility level (e.g. Vanilla, Boom, ZDoom). This should be an overall categorization based on featureset, not demo compatibility alone. |
+ | * '''language''' = Interface language (English is assumed, rightly or wrongly). | ||
+ | * '''initialversion''' = Version number of initial public release, including betas. | ||
+ | * '''initialdate''' = Date of initial public release. | ||
+ | * '''programming_language''' = Language of source code. | ||
+ | * '''baseparent''' = The parent codebase of the source port, if applicable. For example, ReMooD was based on Doom Legacy 1.42. | ||
+ | * '''repourl''' = URL of source code repository (enclose in square brackets to activate link). | ||
+ | * '''repotype''' = Type of repository (e.g. Fossil, Mercurial, Git). | ||
+ | * '''developer''' = Current development team. Former members can be mentioned in a History section of the port article. | ||
+ | * '''nondeveloper''' = People on the team who do not develop (e.g. webmaster, alpha tester, wealthy hosting patron). This should be confined to major contributions: the 1000 public testers do not go here, but someone who bought hardware specifically for a new beta release might. Also includes anyone with repository commit access if not an active developer. | ||
+ | * '''logo''' = Project logo (internal link to file upload). | ||
+ | * '''screenshot''' = An image of the port in action (internal link to file upload). | ||
+ | * '''caption''' = Screenshot caption. | ||
+ | * '''website''' = Project home page, if different from the repository. | ||
+ | * '''ircchannel''' = IRC channel dedicated to the port. | ||
− | + | The ''current'' version and release date are automatically read from subpages of the port page, /Version and /Date respectively, for ease of updating by non-regulars. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | This template has known issues with the port genealogy tables: please do not embed either template inside the other. | |
− | |||
− | + | == Source == | |
− | |||
− | |||
− | |||
− | + | * This template is a heavily modified version of {{wp|Template:Infobox Software}} on [[Wikipedia]]. | |
− | This template is | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 17:30, 25 September 2018
Infobox for a source port's main article.
Parameters (all optional):
- title = Application name.
- status = Project status. Active or Discontinued is usual in the community.
- license = Distribution license (e.g. GPL, BSD, Proprietary).
- platform = Target operating environment(s). Official binaries need not be provided.
- standard = Baseline compatibility level (e.g. Vanilla, Boom, ZDoom). This should be an overall categorization based on featureset, not demo compatibility alone.
- language = Interface language (English is assumed, rightly or wrongly).
- initialversion = Version number of initial public release, including betas.
- initialdate = Date of initial public release.
- programming_language = Language of source code.
- baseparent = The parent codebase of the source port, if applicable. For example, ReMooD was based on Doom Legacy 1.42.
- repourl = URL of source code repository (enclose in square brackets to activate link).
- repotype = Type of repository (e.g. Fossil, Mercurial, Git).
- developer = Current development team. Former members can be mentioned in a History section of the port article.
- nondeveloper = People on the team who do not develop (e.g. webmaster, alpha tester, wealthy hosting patron). This should be confined to major contributions: the 1000 public testers do not go here, but someone who bought hardware specifically for a new beta release might. Also includes anyone with repository commit access if not an active developer.
- logo = Project logo (internal link to file upload).
- screenshot = An image of the port in action (internal link to file upload).
- caption = Screenshot caption.
- website = Project home page, if different from the repository.
- ircchannel = IRC channel dedicated to the port.
The current version and release date are automatically read from subpages of the port page, /Version and /Date respectively, for ease of updating by non-regulars.
This template has known issues with the port genealogy tables: please do not embed either template inside the other.
Source
- This template is a heavily modified version of Template:Infobox Software on Wikipedia.