Difference between revisions of "Template:Infobox add-on"

From OrbiterWiki
Jump to navigation Jump to search
(Added an Infobox for add-ons)
 
(Attempting to supplant it with Template:Addon, which is more widespread.)
Tag: New redirect
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
+
#REDIRECT [[Template:Addon]]
| bodyclass  = vevent
 
| bodystyle  = {{{bodystyle|}}}
 
| title      = {{#if:{{{title|{{{name|}}}}}}|{{{title|{{{name|}}}}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
| 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    = Original author(s)
 
| data2      = {{{author|}}}
 
| label3    = 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 OrbiterWiki 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.
 
===============================================================================
 
-->
 
| data5      = {{#ifeq:{{lc:{{{ver layout|simple}}}}}|stacked
 
|{{Infobox add-on/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 add-on/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
 
| 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    = Included with
 
| data7      = {{{included with|}}}
 
| label8    = Replaces
 
| data8      = {{{replaces|}}}
 
| label9    = Replaced by
 
| data9      = {{{replaced_by|}}}
 
| label10    = Size
 
| data10    = {{{size|}}}
 
| label11    = Website
 
| data11    = {{#if:{{{website|}}}
 
                  |{{#ifeq:{{{website|}}}|hide||{{{website|}}} }}
 
                  |{{#if:{{#property:P856}}
 
                      |{{URL|{{#property:P856}}}}|
 
                  }}
 
              }}
 
| label12    = As of
 
| data12    = {{{AsOf|}}}
 
}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 07:47, 9 May 2021

Redirect to: