Difference between revisions of "Template:Infobox software"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Added description to parameters)
 
(4 intermediate revisions by one other user not shown)
Line 15: Line 15:
 
| label1    = Other names
 
| label1    = Other names
 
| data1      = {{{other_names|}}}
 
| data1      = {{{other_names|}}}
| label2    = [[Software developer|Original author(s)]]
+
| label2    = Original Author(s)
 
| data2      = {{{author|}}}
 
| data2      = {{{author|}}}
| label3    = [[Software developer|Developer(s)]]
+
| label3    = Developer(s)
 
| data3      = {{{developer|}}}
 
| data3      = {{{developer|}}}
 
| label4    = Initial release
 
| label4    = Initial release
Line 52: Line 52:
 
   }}
 
   }}
 
  }}
 
  }}
| label6    = [[Repository (version control)|Repository]]
+
| label6    = Repository
| data6      = {{#if:{{{repo|}}}{{#ifeq:{{{qid|}}}|none|-}}
+
| data6      = {{{repository|}}}
                  |{{{repo|}}}
 
                  |{{#if: {{#property:P1324|from={{{qid|}}}}}
 
                      |{{#ifeq: {{wikidata|property|{{{qid|}}}|P1324|best|format=%p}} | none
 
                          |{{wikidata|property|{{{qid|}}}|P1324|best|format=%p}}{{EditAtWikidata|pid=P1324}}
 
                          |{{Plainlist|<ul><li>{{URL|{{wikidata|property|{{{qid|}}}|P1324|best|format=%p}}}}</li></ul>}}{{EditAtWikidata|pid=P1324|qid={{{qid|}}}}}
 
                      }}
 
                  }}
 
              }}
 
 
| label7    = Written in
 
| label7    = Written in
 
| data7      = {{{programming language|{{{programming_language|}}}}}}
 
| data7      = {{{programming language|{{{programming_language|}}}}}}
 
| label8    = Middleware
 
| label8    = Middleware
 
| data8      = {{{middleware|}}}
 
| data8      = {{{middleware|}}}
| label10    = [[Software engine|Engine]]{{#if: {{{engines|}}} |s}}
+
| label10    = Engine{{#if: {{{engines|}}} |s}}
| data10    = {{#if: {{{engines|}}}
+
| data10    = {{{engine|}}}
                  |{{{engines}}}
+
| label11    = Operating system
                  |{{#if:{{{engine|}}}{{#ifeq:{{{qid|}}}|none|-}}
+
| data11    = {{{operating_system|}}}
                    |{{{engine|}}}
+
| label12    = Platform
                    |{{#if: {{#property:P408|from={{{qid|}}}}}
 
                        |{{Plainlist|<ul>{{wikidata|properties|{{{qid|}}}|P408|best|format=<li>%p</li>}}</ul>}}{{EditAtWikidata|pid=P408}}
 
                      }}
 
                  }}
 
              }}
 
| label11    = [[Operating system]]
 
| data11    = {{{operating system|{{{operating_system|}}}}}}
 
| label12    = [[Computing platform|Platform]]
 
 
| data12    = {{{platform|}}}
 
| data12    = {{{platform|}}}
 
| label13    = Included with
 
| label13    = Included with
Line 88: Line 72:
 
| label16    = Service name
 
| label16    = Service name
 
| data16    = {{{service_name|}}}
 
| data16    = {{{service_name|}}}
| label17    = [[File size|Size]]
+
| label17    = Size
 
| data17    = {{{size|}}}
 
| data17    = {{{size|}}}
| label18    = [[Technical standard|Standard]](s)
+
| label18    = Technical standard
 
| data18    = {{{standard|}}}
 
| data18    = {{{standard|}}}
 
| label19    = Available in
 
| label19    = Available in
 
| data19    = {{#if:{{{language count|}}}|{{{language count}}} languages|{{{language|}}}}}{{{language footnote|}}}
 
| data19    = {{#if:{{{language count|}}}|{{{language count}}} languages|{{{language|}}}}}{{{language footnote|}}}
 
| data20    = {{#if:{{{language count|}}}|{{#if:{{{language|}}}|{{hidden begin|toggle=left|title=List of languages|titlestyle=background-color: transparent;}}{{{language|}}}{{hidden end}}}}}}
 
| data20    = {{#if:{{{language count|}}}|{{#if:{{{language|}}}|{{hidden begin|toggle=left|title=List of languages|titlestyle=background-color: transparent;}}{{{language|}}}{{hidden end}}}}}}
| label21    = [[Software categories#Categorization approaches|Type]]
+
| label21    = Type
 
| data21    = {{{genre|}}}
 
| data21    = {{{genre|}}}
| label22    = [[Software license|License]]
+
| label22    = License
 
| data22    = {{{license|}}}
 
| data22    = {{{license|}}}
| label23    = [[Software license|Licence]] <!-- Spelled differently; see [[MOS:ENGVAR]] -->
+
| label23    = License
 
| data23    = {{{licence|}}}
 
| data23    = {{{licence|}}}
 
| label25    = Website
 
| label25    = Website
| data25    = {{#if:{{{website|}}}{{#ifeq:{{{qid|}}}|none|-}}
+
| data25    = {{{website|}}}
            | {{#ifeq:{{{website|}}} | hide | | {{{website|}}} }}
 
            | {{#if:{{wikidata|property|raw|{{{qid|}}}|P856}}
 
              | {{#invoke:WikidataIB |url2 |url={{if empty
 
                |{{#invoke:WikidataIB|getValueByLang|P856|qid={{{qid|}}}|fwd=ALL|osd=no|maxvals=1}}
 
                |{{Wdib|P856|qid={{{qid|}}}|fwd=ALL|osd=no|maxvals=1}}
 
                }} }}
 
              }}
 
            }}
 
 
| label26    = As of
 
| label26    = As of
 
| data26    = {{{AsOf|}}}
 
| data26    = {{{AsOf|}}}
  
| below      = {{#if: {{{games list|}}} | {{icon|List}} [[{{{games list|}}}|List of games]] }}
+
| below      = {{#if: {{{games list|}}} | {{icon|}} {{{games list|}}} }}
  
 
}}{{#invoke:Check for unknown parameters | check | showblankpositional=1
 
}}{{#invoke:Check for unknown parameters | check | showblankpositional=1
 
| unknown = {{main other|[[Category:Pages using Infobox software with unknown parameters|_VALUE_{{PAGENAME}}]]}}
 
| unknown = {{main other|[[Category:Pages using Infobox software with unknown parameters|_VALUE_{{PAGENAME}}]]}}
 
| preview = Page using [[Template:Infobox software]] with unknown parameter "_VALUE_"|ignoreblank=y
 
| preview = Page using [[Template:Infobox software]] with unknown parameter "_VALUE_"|ignoreblank=y
| AsOf | author | bodystyle | caption | collapsible | developer | discontinued | engine | engines | genre | included with | games list | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo size | logo_alt | logo_size | middleware | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot size | screenshot_alt | screenshot_size | service_name | size | standard | title | ver layout | website | qid
+
| AsOf | author | bodystyle | caption | collapsible | description | developer | discontinued | engine | engines | genre | included with | games list | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo size | logo_alt | logo_size | middleware | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot size | screenshot_alt | screenshot_size | service_name | size | standard | title | ver layout | website | qid
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:58, 7 May 2021