Difference between revisions of "Template:Software"

From Nottinghack Wiki
Jump to navigation Jump to search
m (cap)
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
else -->|[[File:LogoOrig-upscale.svg|100px]]<!--  
 
else -->|[[File:LogoOrig-upscale.svg|100px]]<!--  
 
-->}}
 
-->}}
   |- {{#if:{{{Developer|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
+
   |- {{#if:{{{developer|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
   ! Developer  
 
   ! Developer  
   | {{{Developer}}}
+
   | {{{developer}}}
   |- {{#if:{{{Uses|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
+
   |- {{#if:{{{uses|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
   ! Uses
 
   ! Uses
   | {{{Uses}}}
+
   | {{{uses}}}
   |- {{#if:{{{Operatingsystem|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
+
   |- {{#if:{{{operatingsystem|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
   ! Operating System  
 
   ! Operating System  
   | {{{Operatingsystem}}}
+
   | {{{operatingsystem}}}
 
   |- {{#if:{{{native|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
   |- {{#if:{{{native|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
   ! Native format/s
 
   ! Native format/s
Line 22: Line 22:
 
   ! Other format/s
 
   ! Other format/s
 
   | {{{other}}}
 
   | {{{other}}}
  |- {{#if:{{{official|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
  | colspan="2" style="text-align: center| '''{{{official}}}'''
 
 
   |- {{#if:{{{license|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
   |- {{#if:{{{license|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 
   ! License
 
   ! License
 
   | {{{license}}}
 
   | {{{license}}}
 +
  |- {{#if:{{{official|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }}
 +
  | colspan="2" style="text-align: center| '''{{{official}}}'''
 
   |-
 
   |-
   | colspan="2" style="text-align: center; border: 1px solid #244724; "|<small> '''Tools:''' &nbsp; [[:Category:Software|all software pages]]  &nbsp; &nbsp; [[Template:Software|{{}}]]</small>
+
   | colspan="2" style="text-align: center; border: 1px solid #244724; "|<small> '''Software:''' &nbsp; [[:Category:Software|all pages]]  &nbsp; &nbsp; &nbsp; &nbsp; [[Template:Software|{{}}]]</small>
 
|}<includeonly>[[Category:Software]]</includeonly><noinclude>
 
|}<includeonly>[[Category:Software]]</includeonly><noinclude>
 
{{clear}}
 
{{clear}}
Line 40: Line 40:
 
|imagefile=
 
|imagefile=
 
|imagewidth=
 
|imagewidth=
|Developer=
+
|developer=
|Uses=
+
|uses=
|Operatingsystem=
+
|operatingsystem=
 
}}
 
}}
 
</pre>
 
</pre>
Line 51: Line 51:
 
;imagewidth
 
;imagewidth
 
:Sets the width of the imagefile, specify the unit (for example 200px).
 
:Sets the width of the imagefile, specify the unit (for example 200px).
;Developer
+
;developer
 
:Specify Developer.
 
:Specify Developer.
;Uses
+
;uses
 
:Specify example usage of the software.
 
:Specify example usage of the software.
;Operatingsystem
+
;operatingsystem
 
:Specify the OS that will run the software if known.  
 
:Specify the OS that will run the software if known.  
 
;colorback
 
;colorback

Latest revision as of 20:53, 25 June 2019

Software
LogoOrig-upscale.svg
Developer {{{developer}}}
Uses {{{uses}}}
Operating System {{{operatingsystem}}}
Native format/s {{{native}}}
Other format/s {{{other}}}
License {{{license}}}
{{{official}}}
Software:   all pages         {{}}

Documentation

This template creates a software infobox. All parameters are optional. The title of the infobox is set from the name of the Software page it is placed on.

Usage

Inserting the following text at the top of the software page and it will produce an information box on your page that gives an overview. All of the arguments are optional and can be written in any order.

{{Software
|imagefile=
|imagewidth=
|developer=
|uses=
|operatingsystem=
}}

Arguments

imagefile
An image, in the format <image name>.<ext>. DO NOT include the [[]] square brackets otherwise the image will display full size.
imagewidth
Sets the width of the imagefile, specify the unit (for example 200px).
developer
Specify Developer.
uses
Specify example usage of the software.
operatingsystem
Specify the OS that will run the software if known.
colorback
Customise background colour of title bar, format #RRGGBB or colour name.
colortext
Customise text colour of title bar, format #RRGGBB or colour name.

Notes

Parameter wikiname is deprecated - as it can be obtained from page infobox is placed on.

Note Note: Automatically includes page in Category:Software