Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox game mod: Difference between revisions

Template page
(Created page with "{{Infobox | name = Infobox game mod | title = {{{title|{{SUBPAGENAME}}}}} | image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }} | caption = {{{caption|}}} | autoheaders = y | bodyclass = plainlinks | label1 = Game | data1 = {{{game|[[{{NAMESPACE}}:{{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]}}} | label2 = Developer(s) | data2 = {{{developers|}}} | label3 = Version | data3 = {{{version|}}} {{#if: {{{releasedate|}}} | ({{{releasedate}}}) }...")
 
m (mistakenly removed universaldb)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
| image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }}
| image = {{#if: {{{image|}}} | [[File:{{{image}}}|{{{imagesize|}}}|alt={{{imagealt|}}}]] | }}
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| image2 = {{#if: {{{screenshot|}}} | [[File:{{{screenshot}}}|{{{screenshotsize|}}}|alt={{{screenshotalt|}}}]] | }}
| caption2 = {{{screenshotcaption|}}}
| autoheaders = y
| autoheaders = y
| bodyclass = plainlinks
| bodyclass = plainlinks
Line 12: Line 14:
| data2 = {{{developers|}}}
| data2 = {{{developers|}}}
| label3 = Version
| label3 = Version
| data3  = {{{version|}}} {{#if: {{{releasedate|}}} | ({{{releasedate}}}) }}
| data3  = {{{version|}}} {{#if: {{{releasedate|}}} | ({{Start date and age|{{#time:Y|{{{releasedate}}}}}|{{#time:m|{{{releasedate}}}}}|{{#time:d|{{{releasedate}}}}}}}) }}


| header10 = Links
| header10 = Links
| label11  = GitHub
| label11 = Website
| data11   = {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}] | }}
| data11  = {{#if: {{{website|}}} | [{{{website}}}] | }}
| label12 = GitLab
| label12 = GitHub
| data12   = {{#if: {{{gitlab|}}} | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | }}
| data12   = {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}] | }}
| label13 = Source code
| label13 = GitLab
| data13   = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }}
| data13   = {{#if: {{{gitlab|}}} | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | }}
}}<noinclude>{{Documentation}}</noinclude>
| label14 = Source code
| data14   = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }}
 
| header20 = Download
| data21  = {{#if: <!-- this is because plainlist always emits html elements, i need to check if any of the params are being checked first -->{{{releaseurl|}}}{{{universaldb|}}}{{{githubtag|}}}{{{gitlabtag|}}} | {{plainlist|<ul>{{#if: {{{releaseurl|}}} | <li>[{{{releaseurl}}} External site]</li> | }}{{#if: {{{releaseurl1|}}} | <li>[{{{releaseurl1}}} {{{releasename1}}}]</li> | }}{{#if: {{{releaseurl2|}}} | <li>[{{{releaseurl2}}} {{{releasename2}}}]</li> | }}{{#if: {{{releaseurl3|}}} | <li>[{{{releaseurl3}}} {{{releasename3}}}]</li> | }}{{#if: {{{universaldb|}}} | <li>[[universaldb:{{{universaldb}}}|Universal-DB]]</li> | }}{{#if: {{{githubtag|}}} | {{#if: {{{github|}}} | <li>[https://github.com/{{{github}}}/releases/{{{githubtag}}} GitHub release]</li> | }} | }}{{#if: {{{gitlabtag|}}} | {{#if: {{{gitlab|}}} | <li>[https://gitlab.com/{{{gitlab}}}/-/releases/{{{gitlabtag}}} GitLab release]</li> | }} | }}</ul> }} | }}
 
}}<includeonly>{{#if: {{{nocat|}}} | <!-- categorization suppressed --> | {{#if: {{{version|}}} | <!-- has a release date --> | [[Category:Software without a version set]] }} {{#if: {{{releasedate|}}} | <!-- has a release date --> | [[Category:Software without a release date set]] }} }}</includeonly>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:44, 27 July 2023