Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(Attempt to make values default to "None".)
(Undo revision 77638 by Adfeno (talk))
(Tag: Undo)
 
(20 intermediate revisions by 4 users not shown)
Line 39: Line 39:
 
|Donate=  
 
|Donate=  
 
|Accepts cryptocurrency donations=  
 
|Accepts cryptocurrency donations=  
 +
|Decommissioned or Obsolete=
 +
|Replaced by=
 +
|Is High Priority Project=
 +
|Decommissioned details=
 +
|Test entry=
 +
|Screenshot 1=
 +
|Screenshot 2=
 +
|Screenshot 3=
 
}}
 
}}
 
</pre>
 
</pre>
Line 56: Line 64:
 
{{#if:{{{Keywords|}}}
 
{{#if:{{{Keywords|}}}
 
   |{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
 
   |{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
   |{{#set:Keywords=None}}
+
   |<nowiki/>
 
}}<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{Related projects|}}}
 
{{#if:{{{Related projects|}}}
 
   |{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
 
   |{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
   |{{#set:Related projects=None}}
+
   |<nowiki/>
 
}}<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{Name|}}}
 
{{#if:{{{Name|}}}
 
   |{{#set:Name={{{Name}}} }}
 
   |{{#set:Name={{{Name}}} }}
   |{{#set:Name=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Short description|}}}
 
{{#if:{{{Short description|}}}
 
   |{{#set:Short description={{{Short description}}} }}
 
   |{{#set:Short description={{{Short description}}} }}
   |{{#set:Short description=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Full description|}}}
 
{{#if:{{{Full description|}}}
 
   |{{#set:Full description={{{Full description}}} }}
 
   |{{#set:Full description={{{Full description}}} }}
   |{{#set:Full description=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{User level|}}}
 
{{#if:{{{User level|}}}
 
   |{{#set:User level={{{User level}}} }}
 
   |{{#set:User level={{{User level}}} }}
   |{{#set:User level=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Inbuilt extension of|}}}
 
{{#if:{{{Inbuilt extension of|}}}
 
   |{{#arraymap:{{{Inbuilt extension of}}}|,|@|{{#set:Inbuilt extension of=@}}|}}
 
   |{{#arraymap:{{{Inbuilt extension of}}}|,|@|{{#set:Inbuilt extension of=@}}|}}
   |{{#set:Inbuilt extension of=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Extension of|}}}
 
{{#if:{{{Extension of|}}}
 
   |{{#arraymap:{{{Extension of}}}|,|@|{{#set:Extension of=@}}|}}
 
   |{{#arraymap:{{{Extension of}}}|,|@|{{#set:Extension of=@}}|}}
   |{{#set:Extension of=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Component programs|}}}
 
{{#if:{{{Component programs|}}}
 
   |{{#set:Component programs={{{Component programs}}} }}
 
   |{{#set:Component programs={{{Component programs}}} }}
   |{{#set:Component programs=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Homepage URL|}}}
 
{{#if:{{{Homepage URL|}}}
 
   |{{#set:Homepage URL={{{Homepage URL}}} }}
 
   |{{#set:Homepage URL={{{Homepage URL}}} }}
   |{{#set:Homepage URL=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{VCS checkout command|}}}  
 
{{#if:{{{VCS checkout command|}}}  
 
   |{{#set:VCS checkout command={{{VCS checkout command}}} }}
 
   |{{#set:VCS checkout command={{{VCS checkout command}}} }}
   |{{#set:VCS checkout command=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Computer languages|}}}
 
{{#if:{{{Computer languages|}}}
 
   |{{#set:Computer languages={{{Computer languages}}} }}
 
   |{{#set:Computer languages={{{Computer languages}}} }}
   |{{#set:Computer languages=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Documentation note|}}}
 
{{#if:{{{Documentation note|}}}
 
   |{{#set:Documentation note={{{Documentation note}}} }}
 
   |{{#set:Documentation note={{{Documentation note}}} }}
   |{{#set:Documentation note=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Paid support|}}}
 
{{#if:{{{Paid support|}}}
 
   |{{#set:Paid support={{{Paid support}}} }}
 
   |{{#set:Paid support={{{Paid support}}} }}
   |{{#set:Paid support=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Donate|}}}
 
{{#if:{{{Donate|}}}
 
   |{{#set:Donate={{{Donate}}} }}
 
   |{{#set:Donate={{{Donate}}} }}
   |{{#set:Donate=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Accepts cryptocurrency donations|}}}
 
{{#if:{{{Accepts cryptocurrency donations|}}}
 
   |{{#set:Accepts cryptocurrency donations={{{Accepts cryptocurrency donations}}} }}
 
   |{{#set:Accepts cryptocurrency donations={{{Accepts cryptocurrency donations}}} }}
   |{{#set:Accepts cryptocurrency donations=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Microblog|}}}
 
{{#if:{{{Microblog|}}}
 
   |{{#set:Microblog={{{Microblog}}} }}
 
   |{{#set:Microblog={{{Microblog}}} }}
   |{{#set:Microblog=None}}
+
   |<nowiki/>
 +
}}
 +
{{#switch:{{{Is High Priority Project|}}}
 +
|true
 +
|True
 +
|yes
 +
|Yes
 +
|y
 +
|Y={{#set:Is High Priority Project=Yes}}
 +
|false
 +
|False
 +
|no
 +
|No
 +
|n
 +
|N
 +
|0={{#set:Is High Priority Project=No}}
 +
|#default={{#set:Is High Priority Project=No}}
 
}}
 
}}
 
{{#switch:{{{Is GNU|}}}
 
{{#switch:{{{Is GNU|}}}
Line 128: Line 152:
 
|Yes
 
|Yes
 
|y
 
|y
|Y
+
|Y={{#set:Is GNU=Yes}}
|1={{#set:Is GNU=Yes}}
 
 
|false
 
|false
 
|False
 
|False
Line 137: Line 160:
 
|N
 
|N
 
|0={{#set:Is GNU=No}}
 
|0={{#set:Is GNU=No}}
|#default={{#set:Is GNU=None}}
+
|#default={{#set:Is GNU=No}}
 
}}
 
}}
 
{{#if:{{{GNU package identifier|}}}
 
{{#if:{{{GNU package identifier|}}}
 
   |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
 
   |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
   |{{#set:GNU package identifier=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{IRC help|}}}
 
{{#if:{{{IRC help|}}}
 
   |{{#set:IRC help={{{IRC help}}} }}
 
   |{{#set:IRC help={{{IRC help}}} }}
   |{{#set:IRC help=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{IRC general|}}}
 
{{#if:{{{IRC general|}}}
 
   |{{#set:IRC general={{{IRC general}}} }}
 
   |{{#set:IRC general={{{IRC general}}} }}
   |{{#set:IRC general=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{IRC development|}}}
 
{{#if:{{{IRC development|}}}
 
   |{{#set:IRC development={{{IRC development}}} }}
 
   |{{#set:IRC development={{{IRC development}}} }}
   |{{#set:IRC development=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Last review by|}}}
 
{{#if:{{{Last review by|}}}
 
   |{{#set:Last review by={{{Last review by}}} }}
 
   |{{#set:Last review by={{{Last review by}}} }}
   |{{#set:Last review by=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Last review date|}}}
 
{{#if:{{{Last review date|}}}
 
   |{{#set:Last review date={{{Last review date}}} }}
 
   |{{#set:Last review date={{{Last review date}}} }}
   |{{#set:Last review date=None}}
+
   |<nowiki/>
 
}}
 
}}
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}} }}
+
{{#if:{{Submitted by|}}|{{#set:Submitted by={{{Submitted by}}} }}
   |{{#set:Submitted by=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}} }}
 
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}} }}
   |{{#set:Submitted date=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Version identifier|}}}
 
{{#if:{{{Version identifier|}}}
 
   |{{#set:Version identifier={{{Version identifier}}} }}
 
   |{{#set:Version identifier={{{Version identifier}}} }}
   |{{#set:Version identifier=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Version date|}}}
 
{{#if:{{{Version date|}}}
 
   |{{#set:Version date={{{Version date}}} }}
 
   |{{#set:Version date={{{Version date}}} }}
   |{{#set:Version date=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Version status|}}}
 
{{#if:{{{Version status|}}}
 
   |{{#set:Version status={{{Version status}}} }}
 
   |{{#set:Version status={{{Version status}}} }}
   |{{#set:Version status=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Version download|}}}
 
{{#if:{{{Version download|}}}
 
   |{{#set:Version download={{{Version download}}} }}
 
   |{{#set:Version download={{{Version download}}} }}
   |{{#set:Version download=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Checksum|}}}
 
{{#if:{{{Checksum|}}}
 
   |{{#set:Checksum={{{Checksum}}} }}
 
   |{{#set:Checksum={{{Checksum}}} }}
   |{{#set:Checksum=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{OpenPGP signature|}}}
 
{{#if:{{{OpenPGP signature|}}}
 
   |{{#set:OpenPGP signature={{{OpenPGP signature}}} }}
 
   |{{#set:OpenPGP signature={{{OpenPGP signature}}} }}
   |{{#set:OpenPGP signature=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{OpenPGP public key|}}}
 
{{#if:{{{OpenPGP public key|}}}
 
   |{{#set:OpenPGP public key={{{OpenPGP public key}}} }}
 
   |{{#set:OpenPGP public key={{{OpenPGP public key}}} }}
   |{{#set:OpenPGP public key=None}}
+
   |<nowiki/>
 
}}
 
}}
 
{{#if:{{{Version comment|}}}
 
{{#if:{{{Version comment|}}}
 
   |{{#set:Version comment={{{Version comment}}} }}
 
   |{{#set:Version comment={{{Version comment}}} }}
   |{{#set:Version comment=None}}
+
   |<nowiki/>
 +
}}
 +
 
 +
{{#switch:{{{Decommissioned or Obsolete|}}}
 +
|true
 +
|True
 +
|yes
 +
|Yes
 +
|y
 +
|Y={{#set:Decommissioned or Obsolete=Yes}}
 +
|false
 +
|False
 +
|no
 +
|No
 +
|n
 +
|N
 +
|0={{#set:Decommissioned or Obsolete=No}}
 +
|#default={{#set:Decommissioned or Obsolete=No}}
 +
}}
 +
 
 +
{{#if:{{{Replaced by|}}}
 +
  |{{#set:Replaced by={{{Replaced by}}} }}
 +
  |<nowiki/>
 +
}}
 +
 
 +
{{#if:{{{Decommissioned details|}}}
 +
  |{{#set:Decommissioned details={{{Decommissioned details}}} }}
 +
  |<nowiki/>
 +
}}
 +
 
 +
{{#switch:{{{Test entry|}}}
 +
|true
 +
|True
 +
|yes
 +
|Yes
 +
|y
 +
|Y={{#set:Test entry=Yes}}
 +
|false
 +
|False
 +
|no
 +
|No
 +
|n
 +
|N
 +
|0={{#set:Test entry=No}}
 +
|#default={{#set:Test entry=No}}
 +
}}
 +
{{#if:{{{Screenshot 1|}}}
 +
  |{{#set:Screenshot 1={{{Screenshot 1}}} }}
 +
  |<nowiki/>
 +
}}
 +
{{#if:{{{Screenshot 2|}}}
 +
  |{{#set:Screenshot 2={{{Screenshot 2}}} }}
 +
  |<nowiki/>
 +
}}
 +
{{#if:{{{Screenshot 3|}}}
 +
  |{{#set:Screenshot 3={{{Screenshot 3}}} }}
 +
  |<nowiki/>
 
}}
 
}}
 
{{Revision info}}[[Category:Entry]]</div></includeonly>
 
{{Revision info}}[[Category:Entry]]</div></includeonly>

Latest revision as of 04:33, 27 March 2019

This is the Entry template. It should be called in the following format:

{{Entry
|Name=
|Short description= 
|Full description= 
|User level= 
|Inbuilt extension of= 
|Extension of=
|Component programs= 
|Homepage URL= 
|VCS checkout command= 
|Computer languages= 
|Documentation note= 
|Paid Support=  
|Microblog=
|IRC help= 
|IRC general= 
|IRC development= 
|Related projects= 
|Software categories= 
|Keywords= 
|Is GNU= 
|GNU package identifier=
|Version identifier= 
|Version date= 
|Version status= 
|Version download= 
|Checksum= 
|OpenPGP signature= 
|OpenPGP public key= 
|Version comment= 
|Status
|Last review by= 
|Last review date= 
|Submitted by= 
|Submitted date=
|Donate= 
|Accepts cryptocurrency donations= 
|Decommissioned or Obsolete=
|Replaced by=
|Is High Priority Project= 
|Decommissioned details=
|Test entry=
|Screenshot 1=
|Screenshot 2=
|Screenshot 3=
}}

Edit the page to see the template text.



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.