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
m (mistakenly removed universaldb)
(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}}}) }...")
(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 14: Line 12:
| data2 = {{{developers|}}}
| data2 = {{{developers|}}}
| label3 = Version
| label3 = Version
| data3  = {{{version|}}} {{#if: {{{releasedate|}}} | ({{Start date and age|{{#time:Y|{{{releasedate}}}}}|{{#time:m|{{{releasedate}}}}}|{{#time:d|{{{releasedate}}}}}}}) }}
| data3  = {{{version|}}} {{#if: {{{releasedate|}}} | ({{{releasedate}}}) }}


| header10 = Links
| header10 = Links
| label11  = Website
| label11  = GitHub
| data11   = {{#if: {{{website|}}} | [{{{website}}}] | }}
| data11  = {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}] | }}
| label12  = GitHub
| label12 = GitLab
| data12   = {{#if: {{{github|}}} | [https://github.com/{{{github}}} {{{github}}}] | }}
| data12   = {{#if: {{{gitlab|}}} | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | }}
| label13 = GitLab
| label13 = Source code
| data13   = {{#if: {{{gitlab|}}} | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | }}
| data13   = {{#if: {{{sourceurl|}}} | [{{{sourceurl}}} {{{sourceurl}}}] | }}
| label14 = Source code
}}<noinclude>{{Documentation}}</noinclude>
| 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>

Revision as of 09:17, 11 July 2022