Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(Attempt to make values default to "None".)
(Undo revision 49972 by Adfeno (talk))
Line 56: Line 56:
 
{{#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 GNU|}}}
 
{{#switch:{{{Is GNU|}}}
Line 128: Line 128:
 
|Yes
 
|Yes
 
|y
 
|y
|Y
+
|Y={{#set:Is GNU=Yes}}
|1={{#set:Is GNU=Yes}}
 
 
|false
 
|false
 
|False
 
|False
Line 137: Line 136:
 
|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:{{REVISIONUSER}}|{{#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/>
 
}}
 
}}
 
{{Revision info}}[[Category:Entry]]</div></includeonly>
 
{{Revision info}}[[Category:Entry]]</div></includeonly>

Revision as of 20:14, 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.