Difference between revisions of "Template:InfoboxSoftware"

From DoomWiki.org

(After some serious Wiki thinking I figured it out, if the release version page stuff does not exist, don't show it now)
m (fix dangling empty parentheses above source repo URL. Thanks to Corbin for accidentally testing it out :>)
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox  
+
<includeonly>{{Infobox  
| bodyclass  = vevent
 
 
| title      = {{{title|{{{name|{{PAGENAME}}}}}}}}
 
| title      = {{{title|{{{name|{{PAGENAME}}}}}}}}
 
| titleclass = summary
 
| titleclass = summary
Line 19: Line 18:
 
| label4    = Non-Developer(s)
 
| label4    = Non-Developer(s)
 
| data4      = {{{nondeveloper|}}}
 
| data4      = {{{nondeveloper|}}}
 +
 +
<!--| label5    = Initial release
 +
| 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      = {{{released|}}}
+
| 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      = {{#ifeq: {{:{{PAGENAME}}/Version}} | {{PAGENAME}}/Version | {{:{{PAGENAME}}/Version}} ({{:{{PAGENAME}}/Date}}) | }}
+
| data6      = {{#ifexist: {{FULLPAGENAME}}/Version | {{:{{FULLPAGENAME}}/Version}} {{#ifexist: {{FULLPAGENAME}}/Date | ({{:{{FULLPAGENAME}}/Date}}, {{TimeAgo|{{:{{FULLPAGENAME}}/Date}}}}) |}} | {{#ifexist: {{FULLPAGENAME}}/Date | {{:{{FULLPAGENAME}}/Date}} ({{TimeAgo|{{:{{FULLPAGENAME}}/Date}}}}) |}}}}
 
 
<!--| label6    = {{#if:{{{discontinued|}}}|Discontinued|Stable release}}
 
| data6      = {{#if:{{{latest release version|{{{latest_release_version|}}}}}}
 
|{{{latest release version|{{{latest_release_version}}}}}} {{#if:{{{latest release date|{{{latest_release_date|}}}}}}
 
  | / {{{latest release date|{{{latest_release_date}}}}}}
 
  }}
 
|{{#if:{{{frequently updated|{{{frequently_updated|}}}}}}
 
  |{{#ifexist:Template:Latest stable software release/{{{name|{{PAGENAME}}}}}
 
  |{{Latest stable software release/{{{name|{{PAGENAME}}}}}}} <sub class="plainlinks">[[{{fullurl:Template:Latest stable software release/{{{name|{{PAGENAME}}}}}|action=edit&preload=Template:LSR/syntax}} +/−]]</sub>
 
  }}
 
}}
 
}}
 
| label7    = Preview release
 
| data7      = {{#if:{{{latest preview version|{{{latest_preview_version|}}}}}}
 
|{{{latest preview version|{{{latest_preview_version}}}}}} {{#if:{{{latest preview date|{{{latest_preview_date|}}}}}}
 
  | / {{{latest preview date|{{{latest_preview_date}}}}}}
 
  }}
 
|{{#if:{{{frequently updated|{{{frequently_updated|}}}}}}
 
  |{{#ifexist:Template:Latest preview software release/{{{name|{{PAGENAME}}}}}
 
  |{{Latest preview software release/{{{name|{{PAGENAME}}}}}}} <sub class="plainlinks">[[{{fullurl:Template:Latest_preview_software_release/{{{name|{{PAGENAME}}}}}|action=edit&preload=Template:LSR/syntax}} +/−]]</sub>
 
  }}
 
}}
 
}}-->
 
  
 
| label8    = Development status
 
| label8    = Development status
Line 70: 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.
THIS TEMPLATE IS FROM WIKIPEDIA:
+
 
  http://en.wikipedia.org/w/index.php?title=Template:Infobox_software&action=edit
+
Parameters (all optional):
IT IS MODIFIED TO FIT SOURCE PORTS MORE
+
 
* Removed the wikilinks on all the labels
+
* '''title''' = Application name.
* Doomized some things
+
* '''status''' = Project status. Active or Discontinued is usual in the community.
* Moved standard from the bottom to the top (very important to us Doomers)
+
* '''license''' = Distribution license (e.g. GPL, BSD, Proprietary).
* Removed File Size (pointless)
+
* '''platform''' = Target operating environment(s). Official binaries need not be provided.
* Merged Operating System and Platform into Target Platform which is (Linux, DOS, Windows, etc.)
+
* '''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.
  
My own stuff:
+
This template has known issues with the port genealogy tables: please do not embed either template inside the other.
* port = The name of the port, for Port/ Subpages
 
* standard = The standard of the source port "Vanilla Compatible, Boom Compatible, ZDoom Compatible, etc." The baseline compatibility level for the source port. This should be based on levels and features (so if it can't play back Boom demos it shouldn't be excluded from Boom compatibility).
 
* baseparent = The base codebase version of the source port. For example, ReMooD is based on Doom Legacy 1.42 so it will say that.
 
* repotype = Type of source code repository you use (if any)
 
* repourl = URL to repository
 
* ircchannel = IRC Channel where your stuff presides
 
* nondeveloper = People on the team but they don't develop. This should be people who actually do a major part in the source port but don't do anything code wise. So your ports 1000 public testers does not go here but the solo guy who spends his free time and his own money on your source port paying for a website or something should be here. Or you can put people of power here, who have control over the entirety of the source port and can usurp developer admins.  
 
  
NOTES:
+
== Source ==
* It seems the template is screwing around with Quasar's gene stuff, seems it doesn't like shoving a new table in the table or something. So it will be kept in the normal page.
 
  
=== Source ===
+
* This template is a heavily modified version of {{wp|Template:Infobox Software}} on [[Wikipedia]].
This template is mostly from {{wp|Template:Age|Wikipedia}}.
 
  
 
[[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