Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(Attempt to make values default to "None".)
Line 56: Line 56:
 
{{#if:{{{Keywords|}}}
 
{{#if:{{{Keywords|}}}
 
   |{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
 
   |{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
   |<nowiki/>
+
   |{{#set:Keywords=None}}
 
}}<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{Related projects|}}}
 
{{#if:{{{Related projects|}}}
 
   |{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
 
   |{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
   |<nowiki/>
+
   |{{#set:Related projects=None}}
 
}}<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{Name|}}}
 
{{#if:{{{Name|}}}
 
   |{{#set:Name={{{Name}}} }}
 
   |{{#set:Name={{{Name}}} }}
   |<nowiki/>
+
   |{{#set:Name=None}}
 
}}
 
}}
 
{{#if:{{{Short description|}}}
 
{{#if:{{{Short description|}}}
 
   |{{#set:Short description={{{Short description}}} }}
 
   |{{#set:Short description={{{Short description}}} }}
   |<nowiki/>
+
   |{{#set:Short description=None}}
 
}}
 
}}
 
{{#if:{{{Full description|}}}
 
{{#if:{{{Full description|}}}
 
   |{{#set:Full description={{{Full description}}} }}
 
   |{{#set:Full description={{{Full description}}} }}
   |<nowiki/>
+
   |{{#set:Full description=None}}
 
}}
 
}}
 
{{#if:{{{User level|}}}
 
{{#if:{{{User level|}}}
 
   |{{#set:User level={{{User level}}} }}
 
   |{{#set:User level={{{User level}}} }}
   |<nowiki/>
+
   |{{#set:User level=None}}
 
}}
 
}}
 
{{#if:{{{Inbuilt extension of|}}}
 
{{#if:{{{Inbuilt extension of|}}}
 
   |{{#arraymap:{{{Inbuilt extension of}}}|,|@|{{#set:Inbuilt extension of=@}}|}}
 
   |{{#arraymap:{{{Inbuilt extension of}}}|,|@|{{#set:Inbuilt extension of=@}}|}}
   |<nowiki/>
+
   |{{#set:Inbuilt extension of=None}}
 
}}
 
}}
 
{{#if:{{{Extension of|}}}
 
{{#if:{{{Extension of|}}}
 
   |{{#arraymap:{{{Extension of}}}|,|@|{{#set:Extension of=@}}|}}
 
   |{{#arraymap:{{{Extension of}}}|,|@|{{#set:Extension of=@}}|}}
   |<nowiki/>
+
   |{{#set:Extension of=None}}
 
}}
 
}}
 
{{#if:{{{Component programs|}}}
 
{{#if:{{{Component programs|}}}
 
   |{{#set:Component programs={{{Component programs}}} }}
 
   |{{#set:Component programs={{{Component programs}}} }}
   |<nowiki/>
+
   |{{#set:Component programs=None}}
 
}}
 
}}
 
{{#if:{{{Homepage URL|}}}
 
{{#if:{{{Homepage URL|}}}
 
   |{{#set:Homepage URL={{{Homepage URL}}} }}
 
   |{{#set:Homepage URL={{{Homepage URL}}} }}
   |<nowiki/>
+
   |{{#set:Homepage URL=None}}
 
}}
 
}}
 
{{#if:{{{VCS checkout command|}}}  
 
{{#if:{{{VCS checkout command|}}}  
 
   |{{#set:VCS checkout command={{{VCS checkout command}}} }}
 
   |{{#set:VCS checkout command={{{VCS checkout command}}} }}
   |<nowiki/>
+
   |{{#set:VCS checkout command=None}}
 
}}
 
}}
 
{{#if:{{{Computer languages|}}}
 
{{#if:{{{Computer languages|}}}
 
   |{{#set:Computer languages={{{Computer languages}}} }}
 
   |{{#set:Computer languages={{{Computer languages}}} }}
   |<nowiki/>
+
   |{{#set:Computer languages=None}}
 
}}
 
}}
 
{{#if:{{{Documentation note|}}}
 
{{#if:{{{Documentation note|}}}
 
   |{{#set:Documentation note={{{Documentation note}}} }}
 
   |{{#set:Documentation note={{{Documentation note}}} }}
   |<nowiki/>
+
   |{{#set:Documentation note=None}}
 
}}
 
}}
 
{{#if:{{{Paid support|}}}
 
{{#if:{{{Paid support|}}}
 
   |{{#set:Paid support={{{Paid support}}} }}
 
   |{{#set:Paid support={{{Paid support}}} }}
   |<nowiki/>
+
   |{{#set:Paid support=None}}
 
}}
 
}}
 
{{#if:{{{Donate|}}}
 
{{#if:{{{Donate|}}}
 
   |{{#set:Donate={{{Donate}}} }}
 
   |{{#set:Donate={{{Donate}}} }}
   |<nowiki/>
+
   |{{#set:Donate=None}}
 
}}
 
}}
 
{{#if:{{{Accepts cryptocurrency donations|}}}
 
{{#if:{{{Accepts cryptocurrency donations|}}}
 
   |{{#set:Accepts cryptocurrency donations={{{Accepts cryptocurrency donations}}} }}
 
   |{{#set:Accepts cryptocurrency donations={{{Accepts cryptocurrency donations}}} }}
   |<nowiki/>
+
   |{{#set:Accepts cryptocurrency donations=None}}
 
}}
 
}}
 
{{#if:{{{Microblog|}}}
 
{{#if:{{{Microblog|}}}
 
   |{{#set:Microblog={{{Microblog}}} }}
 
   |{{#set:Microblog={{{Microblog}}} }}
   |<nowiki/>
+
   |{{#set:Microblog=None}}
 
}}
 
}}
 
{{#switch:{{{Is GNU|}}}
 
{{#switch:{{{Is GNU|}}}
Line 128: Line 128:
 
|Yes
 
|Yes
 
|y
 
|y
|Y={{#set:Is GNU=Yes}}
+
|Y
 +
|1={{#set:Is GNU=Yes}}
 
|false
 
|false
 
|False
 
|False
Line 136: Line 137:
 
|N
 
|N
 
|0={{#set:Is GNU=No}}
 
|0={{#set:Is GNU=No}}
|#default={{#set:Is GNU=No}}
+
|#default={{#set:Is GNU=None}}
 
}}
 
}}
 
{{#if:{{{GNU package identifier|}}}
 
{{#if:{{{GNU package identifier|}}}
 
   |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
 
   |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
   |<nowiki/>
+
   |{{#set:GNU package identifier=None}}
 
}}
 
}}
 
{{#if:{{{IRC help|}}}
 
{{#if:{{{IRC help|}}}
 
   |{{#set:IRC help={{{IRC help}}} }}
 
   |{{#set:IRC help={{{IRC help}}} }}
   |<nowiki/>
+
   |{{#set:IRC help=None}}
 
}}
 
}}
 
{{#if:{{{IRC general|}}}
 
{{#if:{{{IRC general|}}}
 
   |{{#set:IRC general={{{IRC general}}} }}
 
   |{{#set:IRC general={{{IRC general}}} }}
   |<nowiki/>
+
   |{{#set:IRC general=None}}
 
}}
 
}}
 
{{#if:{{{IRC development|}}}
 
{{#if:{{{IRC development|}}}
 
   |{{#set:IRC development={{{IRC development}}} }}
 
   |{{#set:IRC development={{{IRC development}}} }}
   |<nowiki/>
+
   |{{#set:IRC development=None}}
 
}}
 
}}
 
{{#if:{{{Last review by|}}}
 
{{#if:{{{Last review by|}}}
 
   |{{#set:Last review by={{{Last review by}}} }}
 
   |{{#set:Last review by={{{Last review by}}} }}
   |<nowiki/>
+
   |{{#set:Last review by=None}}
 
}}
 
}}
 
{{#if:{{{Last review date|}}}
 
{{#if:{{{Last review date|}}}
 
   |{{#set:Last review date={{{Last review date}}} }}
 
   |{{#set:Last review date={{{Last review date}}} }}
   |<nowiki/>
+
   |{{#set:Last review date=None}}
 
}}
 
}}
 
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}} }}
 
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}} }}
   |<nowiki/>
+
   |{{#set:Submitted by=None}}
 
}}
 
}}
 
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}} }}
 
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}} }}
   |<nowiki/>
+
   |{{#set:Submitted date=None}}
 
}}
 
}}
 
{{#if:{{{Version identifier|}}}
 
{{#if:{{{Version identifier|}}}
 
   |{{#set:Version identifier={{{Version identifier}}} }}
 
   |{{#set:Version identifier={{{Version identifier}}} }}
   |<nowiki/>
+
   |{{#set:Version identifier=None}}
 
}}
 
}}
 
{{#if:{{{Version date|}}}
 
{{#if:{{{Version date|}}}
 
   |{{#set:Version date={{{Version date}}} }}
 
   |{{#set:Version date={{{Version date}}} }}
   |<nowiki/>
+
   |{{#set:Version date=None}}
 
}}
 
}}
 
{{#if:{{{Version status|}}}
 
{{#if:{{{Version status|}}}
 
   |{{#set:Version status={{{Version status}}} }}
 
   |{{#set:Version status={{{Version status}}} }}
   |<nowiki/>
+
   |{{#set:Version status=None}}
 
}}
 
}}
 
{{#if:{{{Version download|}}}
 
{{#if:{{{Version download|}}}
 
   |{{#set:Version download={{{Version download}}} }}
 
   |{{#set:Version download={{{Version download}}} }}
   |<nowiki/>
+
   |{{#set:Version download=None}}
 
}}
 
}}
 
{{#if:{{{Checksum|}}}
 
{{#if:{{{Checksum|}}}
 
   |{{#set:Checksum={{{Checksum}}} }}
 
   |{{#set:Checksum={{{Checksum}}} }}
   |<nowiki/>
+
   |{{#set:Checksum=None}}
 
}}
 
}}
 
{{#if:{{{OpenPGP signature|}}}
 
{{#if:{{{OpenPGP signature|}}}
 
   |{{#set:OpenPGP signature={{{OpenPGP signature}}} }}
 
   |{{#set:OpenPGP signature={{{OpenPGP signature}}} }}
   |<nowiki/>
+
   |{{#set:OpenPGP signature=None}}
 
}}
 
}}
 
{{#if:{{{OpenPGP public key|}}}
 
{{#if:{{{OpenPGP public key|}}}
 
   |{{#set:OpenPGP public key={{{OpenPGP public key}}} }}
 
   |{{#set:OpenPGP public key={{{OpenPGP public key}}} }}
   |<nowiki/>
+
   |{{#set:OpenPGP public key=None}}
 
}}
 
}}
 
{{#if:{{{Version comment|}}}
 
{{#if:{{{Version comment|}}}
 
   |{{#set:Version comment={{{Version comment}}} }}
 
   |{{#set:Version comment={{{Version comment}}} }}
   |<nowiki/>
+
   |{{#set:Version comment=None}}
 
}}
 
}}
 
{{Revision info}}[[Category:Entry]]</div></includeonly>
 
{{Revision info}}[[Category:Entry]]</div></includeonly>

Revision as of 19:47, 6 February 2018

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= 
}}

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.