Difference between revisions of "Template:Sofwtare"
Jump to navigation
Jump to search
(Created page with "<noinclude> This is the "Sofwtare" template. It should be called in the following format: <pre> {{Sofwtare |Logo= |released= |teste= }} </pre> Edit the page to see the templat...") |
|||
Line 1: | Line 1: | ||
< | <includeonly>{{Infobox sofwtare | ||
| bodyclass = vevent | |||
| bodystyle = {{{bodystyle|}}} | |||
| title = {{#if:{{{title|{{{name|}}}}}}|{{{title|{{{name|}}}}}}|{{PAGENAMEBASE}}}} | |||
{{ | | titleclass = summary | ||
| | | labelstyle = white-space: nowrap; | ||
| | | image = {{#if:{{{screenshot|}}} | ||
| | | {{#invoke:InfoboxImage | InfoboxImage | image={{{logo|}}} | title={{{logo caption|}}} | size={{{logo size|{{{logo_size|}}}}}} | sizedefault=300x64px | maxsize=300x64px | alt={{{logo alt|{{{logo_alt|}}}}}} }} | ||
| {{#invoke:InfoboxImage | InfoboxImage | image={{{logo|}}} | title={{{logo caption|}}} | size={{{logo size|{{{logo_size|}}}}}} | alt={{{logo alt|{{{logo_alt|}}}}}} }} | |||
}} | }} | ||
| caption = {{{logo caption|}}} | |||
| image2 = {{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden begin|toggle=left|title=Screenshot|titlestyle=text-align:left|contentstyle=text-align:center}}}}}}{{#invoke:InfoboxImage | InfoboxImage | image={{{screenshot|}}} | size={{{screenshot size|{{{screenshot_size|}}}}}} | sizedefault=300x0px | maxsize=300x0px | alt={{{screenshot alt|{{{screenshot_alt|}}}}}} | title={{{caption|}}} }} | |||
| caption2 = {{{caption|}}}{{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden end}}}}}} | |||
| label1 = Other names | |||
| | | data1 = {{{other_names|}}} | ||
| | | label2 = [[Software developer|Original author(s)]] | ||
| data2 = {{{author|}}} | |||
| {{{ | | label3 = [[Software developer|Developer(s)]] | ||
| | | data3 = {{{developer|}}} | ||
| label4 = Initial release | |||
| {{{ | | data4 = {{{released|}}} | ||
| | | rowstyle5 = display: none;<!-- | ||
=============================================================================== | |||
| {{{ | The data5 field displays a sub-infobox. The HTML cleanup module in charge of | ||
|} | rendering Wikipedia pages converts this sub-infobox into a new set of rows that | ||
< | lay below the data4 row. Hence, the data4 row becomes an empty redundant row | ||
that the reader would rather not see. | |||
{{Sofwtare | I resisted implementing this at first because hacks are generally fragile. But | ||
|name= | I am giving up the resistance as the proper venue has failed to address this. | ||
| | |||
|released= | —User:Codename Lisa | ||
| | =============================================================================== | ||
--> | |||
| data5 = {{#ifeq:{{lc:{{{ver layout|simple}}}}}|stacked | |||
|{{Infobox software/stacked | |||
|{{{name|{{PAGENAME}}}}} | |||
|{{{discontinued|no}}} | |||
|{{{latest release version|{{{latest_release_version|}}}}}} | |||
|{{{latest release date | {{{latest_release_date|}}}}}} | |||
|{{{latest preview version|{{{latest_preview_version|}}}}}} | |||
|{{{latest preview date | {{{latest_preview_date|}}}}}} | |||
}} | |||
|{{Infobox software/simple | |||
|{{{name|{{PAGENAME}}}}} | |||
|{{{discontinued|no}}} | |||
|{{{latest release version|{{{latest_release_version|}}}}}} | |||
|{{{latest release date | {{{latest_release_date|}}}}}} | |||
|{{{latest preview version|{{{latest_preview_version|}}}}}} | |||
|{{{latest preview date | {{{latest_preview_date|}}}}}} | |||
}} | |||
}} | |||
| label6 = [[Repository (version control)|Repository]] | |||
| data6 = {{#if:{{{repo|}}} | |||
|{{{repo|}}} | |||
|{{#if: {{#property:P1324}} | |||
|{{#ifeq: {{wikidata|property|P1324|best|format=%p}} | none | |||
|{{wikidata|property|P1324|best|format=%p}}{{EditAtWikidata|pid=P1324}} | |||
|{{Plainlist|<ul><li>{{URL|{{wikidata|property|P1324|best|format=%p}}}}</li></ul>}}{{EditAtWikidata|pid=P1324}} | |||
}} | |||
}} | |||
}} | |||
| label7 = Written in | |||
| data7 = {{{programming language|{{{programming_language|}}}}}} | |||
| label8 = Middleware | |||
| data8 = {{{middleware|}}} | |||
| label9 = [[Game development tool|Tools]] | |||
| data9 = {{{tools|}}} | |||
| label10 = [[Software engine|Engine]]{{#if: {{{engines|}}} |s}} | |||
| data10 = {{#if: {{{engines|}}} | |||
|{{{engines}}} | |||
|{{#if:{{{engine|}}} | |||
|{{{engine|}}} | |||
|{{#if: {{#property:P408}} | |||
|{{Plainlist|<ul>{{wikidata|properties|P408|best|format=<li>%p</li>}}</ul>}}{{EditAtWikidata|pid=P408}} | |||
}} | |||
}} | |||
}} | |||
| label11 = [[Operating system]] | |||
| data11 = {{{operating system|{{{operating_system|}}}}}} | |||
| label12 = [[Computing platform|Platform]] | |||
| data12 = {{{platform|}}} | |||
| label13 = Included with | |||
| data13 = {{{included with|}}} | |||
| label14 = Predecessor | |||
| data14 = {{{replaces|}}} | |||
| label15 = Successor | |||
| data15 = {{{replaced_by|}}} | |||
| label16 = Service name | |||
| data16 = {{{service_name|}}} | |||
| label17 = [[File size|Size]] | |||
| data17 = {{{size|}}} | |||
| label18 = [[Technical standard|Standard]](s) | |||
| data18 = {{{standard|}}} | |||
| label19 = Available in | |||
| 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}}}}}} | |||
| label21 = [[Software categories#Categorization approaches|Type]] | |||
| data21 = {{{genre|}}} | |||
| label22 = [[Software license|License]] | |||
| data22 = {{{license|}}} | |||
| label23 = [[Software license|Licence]] <!-- Spelled differently; see [[MOS:ENGVAR]] --> | |||
| data23 = {{{licence|}}} | |||
| label24 = [[Alexa Internet|Alexa]] rank | |||
| data24 = {{#if:{{{alexa|}}}|{{nowrap|{{{alexa|}}}}}}} | |||
| label25 = Website | |||
| data25 = {{#if:{{{website|}}} | |||
| {{#ifeq:{{{website|}}} | hide | | {{{website|}}} }} | |||
| {{#if:{{wikidata|property|raw|P856}} | |||
| {{#invoke:WikidataIB |url2 |url={{if empty | |||
|{{#invoke:WikidataIB|getValueByLang|P856|fwd=ALL|osd=no|maxvals=1}} | |||
|{{Wdib|P856|fwd=ALL|osd=no|maxvals=1}} | |||
}} }} | |||
}} | |||
}} | |||
| label26 = As of | |||
| data26 = {{{AsOf|}}} | |||
| header27 = {{#if: {{{first title|}}}{{{first title date|}}}{{{latest title|}}}{{{latest title date|}}}{{{major|}}}{{{notable|}}}{{{vg_genre|}}} | Usage}} | |||
| label28 = Earliest game | |||
| data28 = {{#if: {{{first title|}}} | {{{first title}}}{{#if: {{{first title date|}}} | <br />{{{first title date}}} }} }} | |||
| label29 = Latest game | |||
| data29 = {{#if: {{{latest title|}}} | {{{latest title}}}{{#if: {{{latest title date|}}} | <br />{{{latest title date}}} }} }} | |||
| label30 = Major game(s) | |||
| data30 = {{{major|{{{notable|}}}}}} | |||
| label32 = [[Video game genre|Main genre(s)]] | |||
| data32 = {{{vg_genre|}}} | |||
| below = {{#if: {{{games list|}}} | {{icon|List}} [[{{{games list|}}}|List of games]] }} | |||
}}{{#invoke:Check for unknown parameters | check | showblankpositional=1 | |||
| unknown = {{main other|[[Category:Pages using Infobox software with unknown parameters|_VALUE_{{PAGENAME}}]]}} | |||
| preview = Page using [[Template:Infobox software]] with unknown parameter "_VALUE_" | |||
| alexa | AsOf | author | bodystyle | caption | collapsible | developer | discontinued | engine | engines | genre | included with | first title | first title date | games list | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest title | latest title date | 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 | major | 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 | tools | ver layout | vg_genre | website | |||
}}</includeonly><noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
{{Infobox Sofwtare | |||
| name = test | |||
| logo = <!-- Image name is enough. --> | |||
| logo alt = | |||
| logo caption = | |||
| screenshot = <!-- Image name is enough. --> | |||
| screenshot size = | |||
| screenshot alt = | |||
| caption = | |||
| collapsible = <!-- Any text here will collapse the screenshot. --> | |||
| author = | |||
| developer = | |||
| released = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | |||
| discontinued = <!-- Set to yes if software is discontinued, otherwise omit. --> | |||
| ver layout = <!-- simple (default) or stacked --> | |||
| latest release version = | |||
| latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | |||
| latest preview version = | |||
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> | |||
| repo = <!-- {{URL|example.org}} --> | |||
| programming language = | |||
| engine = <!-- or engines --> | |||
| operating system = | |||
| platform = | |||
| included with = | |||
| size = | |||
| language = | |||
| language count = <!-- Number only --> | |||
| language footnote = | |||
| genre = | |||
| license = | |||
| alexa = | |||
| website = <!-- {{URL|example.org}} --> | |||
| standard = | |||
| AsOf = | |||
}} | }} |