Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(added Donate field)
m (+subproperty for GNU packages)
 
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Entry' template.
 
It should be called in the following format:
 
<pre>
 
{{Entry
 
|Name=
 
|Short description=
 
|Full description=
 
|User level=
 
|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=
 
|Version comment=
 
|Status
 
|Last review by=
 
|Last review date=
 
|Submitted by=
 
|Submitted date=
 
|Donate=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
 
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude><includeonly>{{Show}}
+
</noinclude>
 +
<includeonly>{{Show}}
 
__NOTITLE__
 
__NOTITLE__
 
__NOTOC__
 
__NOTOC__
Line 46: Line 8:
 
<!-- Everything below this line should not appear to the user. It
 
<!-- Everything below this line should not appear to the user. It
 
exists solely for the purpose of setting semantic annotations for this
 
exists solely for the purpose of setting semantic annotations for this
software programs entry in the directory. -->
+
software programs entry in the Directory. -->
  
 
<div style="display:none">
 
<div style="display:none">
 
[[Page has default form::Entry]]
 
[[Page has default form::Entry]]
{{#if:{{{Keywords|}}}
 
  |{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
 
  |<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{Related projects|}}}
 
  |{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
 
  |<nowiki/>
 
}}<nowiki/>
 
 
{{#if:{{{Name|}}}
 
{{#if:{{{Name|}}}
 
   |{{#set:Name={{{Name}}} }}
 
   |{{#set:Name={{{Name}}} }}
Line 68: Line 22:
 
{{#if:{{{Full description|}}}
 
{{#if:{{{Full description|}}}
 
   |{{#set:Full description={{{Full description}}} }}
 
   |{{#set:Full description={{{Full description}}} }}
  |<nowiki/>
 
}}
 
{{#if:{{{User level|}}}
 
  |{{#set:User level={{{User level}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Extension of|}}}
 
  |{{#arraymap:{{{Extension of}}}|,|zzzz|{{#set:Extension of=zzzz}}|}}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Component programs|}}}
 
  |{{#set:Component programs={{{Component programs}}} }}
 
 
   |<nowiki/>  
 
   |<nowiki/>  
 
}}
 
}}
Line 86: Line 28:
 
   |<nowiki/>  
 
   |<nowiki/>  
 
}}
 
}}
{{#if:{{{VCS checkout command|}}}  
+
{{#if:{{{Version download|}}}
   |{{#set:VCS checkout command={{{VCS checkout command}}} }}
+
   |{{#set:Version download={{{Version download}}} }}
 
   |<nowiki/>  
 
   |<nowiki/>  
 
}}
 
}}
{{#if:{{{Computer languages|}}}
+
{{#switch:{{{Is High Priority Project|}}}
  |{{#set:Computer languages={{{Computer languages}}} }}
+
|true
  |<nowiki/>
+
|True
}}
+
|yes
{{#if:{{{Documentation note|}}}
+
|Yes
  |{{#set:Documentation note={{{Documentation note}}} }}
+
|y
  |<nowiki/>
+
|Y={{#set:Is High Priority Project=Yes}}
}}
+
|false
{{#if:{{{Paid support|}}}
+
|False
  |{{#set:Paid support={{{Paid support}}} }}
+
|no
  |<nowiki/>
+
|No
}}
+
|n
{{#if:{{{Donate|}}}
+
|N
  |{{#set:Donate={{{Donate}}} }}
+
|0={{#set:Is High Priority Project=No}}
  |<nowiki/>
+
|#default={{#set:Is High Priority Project=No}}
}}
 
{{#if:{{{Microblog|}}}
 
  |{{#set:Microblog={{{Microblog}}} }}
 
  |<nowiki/>
 
 
}}
 
}}
 
{{#switch:{{{Is GNU|}}}
 
{{#switch:{{{Is GNU|}}}
Line 130: Line 68:
 
   |<nowiki/>
 
   |<nowiki/>
 
}}
 
}}
{{#if:{{{IRC help|}}}
+
{{Revision info}}[[Category:Entry]]</div></includeonly>
  |{{#set:IRC help={{{IRC help}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{IRC general|}}}
 
  |{{#set:IRC general={{{IRC general}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{IRC development|}}}
 
  |{{#set:IRC development={{{IRC development}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Last review by|}}}
 
  |{{#set:Last review by={{{Last review by}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Last review date|}}}
 
  |{{#set:Last review date={{{Last review date}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version identifier|}}}
 
  |{{#set:Version identifier={{{Version identifier}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version date|}}}
 
  |{{#set:Version date={{{Version date}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version status|}}}
 
  |{{#set:Version status={{{Version status}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version download|}}}
 
  |{{#set:Version download={{{Version download}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version comment|}}}
 
  |{{#set:Version comment={{{Version comment}}} }}
 
  |<nowiki/>
 
}}
 
{{Revision info}}</div></includeonly>
 

Latest revision as of 15:39, 12 March 2021




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.