Difference between revisions of "Template:Infobox software"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m (1 revision imported)
(Try modifying software template to remove red links)
Line 15: Line 15:
 
| label1    = Other names
 
| label1    = Other names
 
| data1      = {{{other_names|}}}
 
| data1      = {{{other_names|}}}
| label2    = [[Software developer|Original author(s)]]
+
| label2    = Software developer|Original author(s)
 
| data2      = {{{author|}}}
 
| data2      = {{{author|}}}
| label3    = [[Software developer|Developer(s)]]
+
| label3    = Software developer|Developer(s)
 
| data3      = {{{developer|}}}
 
| data3      = {{{developer|}}}
 
| label4    = Initial release
 
| label4    = Initial release
Line 52: Line 52:
 
   }}
 
   }}
 
  }}
 
  }}
| label6    = [[Repository (version control)|Repository]]
+
| label6    = Repository (version control)|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    = Software engine|Engine{{#if: {{{engines|}}} |s}}
| data10    = {{#if: {{{engines|}}}
+
| data10    = {{engine|}}
                  |{{{engines}}}
+
| label11    = Operating system
                  |{{#if:{{{engine|}}}{{#ifeq:{{{qid|}}}|none|-}}
 
                    |{{{engine|}}}
 
                    |{{#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|}}}}}}
 
| data11    = {{{operating system|{{{operating_system|}}}}}}
| label12    = [[Computing platform|Platform]]
+
| 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    = File size|Size
 
| data17    = {{{size|}}}
 
| data17    = {{{size|}}}
| label18    = [[Technical standard|Standard]](s)
+
| label18    = Technical standard|Standard(s)
 
| 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    = Software categories#Categorization approaches|Type
 
| data21    = {{{genre|}}}
 
| data21    = {{{genre|}}}
| label22    = [[Software license|License]]
+
| label22    = Software license|License
 
| data22    = {{{license|}}}
 
| data22    = {{{license|}}}
| label23    = [[Software license|Licence]] <!-- Spelled differently; see [[MOS:ENGVAR]] -->
+
| label23    = Software license|Licence
 
| 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|}}}

Revision as of 18:00, 6 May 2021