Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
m (+subproperty for GNU packages)
 
(105 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=
 
|Component programs=
 
|Homepage URL=
 
|VCS checkout command=
 
|Computer languages=
 
|Documentation note=
 
|Paid Support= 
 
|IRC help=
 
|IRC general=
 
|IRC development=
 
|Related projects=
 
|Software categories=
 
|Keywords=
 
|Is GNU=
 
|Last review by=
 
|Last review date=
 
|Submitted by=
 
|Submitted date=
 
|Version identifier=
 
|Version date=
 
|Version status=
 
|Version download=
 
|Version comment=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
 
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude><includeonly>__NOTOC__
+
</noinclude>
{{#if:{{{Keywords}}}
+
<includeonly>{{Show}}
|{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
+
__NOTITLE__
|<nowiki/>
+
__NOTOC__
}}
+
__NOEDITSECTION__
{{#if:{{{Related projects}}}
+
<!-- Everything below this line should not appear to the user. It
|{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
+
exists solely for the purpose of setting semantic annotations for this
|<nowiki/>
+
software programs entry in the Directory. -->
}}
 
{{#if:{{{Name|}}}|{{#set:Name={{{Name}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Short description|}}}|{{#set:Short description={{{Short description}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Full description|}}}|{{#set:Full description={{{Full description}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{User level|}}}|{{#set:User level={{{User level}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Component programs|}}}|{{#set:Component programs={{{Component programs}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Homepage URL|}}}|{{#set:Homepage URL={{{Homepage URL}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{VCS checkout command|}}}|{{#set:VCS checkout command={{{VCS checkout command}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Computer languages|}}}|{{#set:Computer languages={{{Computer languages}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Documentation note|}}}|{{#set:Documentation note={{{Documentation note}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Paid support|}}}|{{#set:Paid support={{{Paid support}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Is GNU|}}}|{{#set:Is GNU={{{Is GNU}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{IRC help|}}}|{{#set:IRC help={{{IRC help}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{IRC general|}}}|{{#set:IRC general={{{IRC general}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{IRC development|}}}|{{#set:IRC development={{{IRC development}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Last review by|}}}|{{#set:Last review by={{{Last review by}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Last review date|}}}|{{#set:Last review date={{{Last review date}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Version identifier|}}}|{{#set:Version identifier={{{Version identifier}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Version date|}}}|{{#set:Version date={{{Version date}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Version status|}}}|{{#set:Version status={{{Version status}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Version download|}}}|{{#set:Version download={{{Version download}}}|<nowiki/>}} }}<nowiki/>
 
{{#if:{{{Version comment|}}}|{{#set:Version comment={{{Version comment}}}|<nowiki/>}} }}<nowiki/>{{Revision info}}
 
  
<div style="float:left;width:470px;margin-left:10px;">
+
<div style="display:none">
== {{{Name|}}} ==
+
[[Page has default form::Entry]]
{{#if:{{{Homepage URL}}}
+
{{#if:{{{Name|}}}
  |{{{Homepage URL}}}
+
  |{{#set:Name={{{Name}}} }}
   |</nowiki>
+
   |<nowiki/>  
 
}}
 
}}
 
+
{{#if:{{{Short description|}}}
{{{Full description|}}}<nowiki />
+
  |{{#set:Short description={{{Short description}}} }}
{{#if:{{{Documentation note}}}
+
   |<nowiki/>  
  |<br/><br/><em>{{{Documentation note}}}</em><br/>
 
   |<nowiki/>
 
 
}}
 
}}
 
+
{{#if:{{{Full description|}}}
{{#if:{{{Related projects}}}
+
   |{{#set:Full description={{{Full description}}} }}
   |<h2 width="100%" style="background:#d4cfcb; padding:4px;">Related Projects</h2>
+
   |<nowiki/>  
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3;margin:0px 0px 10px 10px;">
 
<ul>
 
{{#arraymap:{{{Related projects}}}
 
  |,
 
  |x
 
   |<li>[[x]]</li>
 
  |
 
 
}}
 
}}
</ul>
+
{{#if:{{{Homepage URL|}}}
</div>
+
  |{{#set:Homepage URL={{{Homepage URL}}} }}
   |<nowiki/>
+
   |<nowiki/>  
 
}}
 
}}
</div>
+
{{#if:{{{Version download|}}}
{{Entry table intro}}
+
   |{{#set:Version download={{{Version download}}} }}
{{Entry table row}}
+
   |<nowiki/>  
{{#ifeq:{{{Is GNU}}}
 
  |y
 
  |{{GNU Head}} '''This is a GNU Project'''<br/>
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version download}}}
 
  |[{{{Version download}}} Download<sup>↷</sup>]
 
   |<nowiki/>
 
}}
 
{{#if:{{{Version identifier}}}
 
  |version {{{Version identifier}}}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version status}}}
 
  | ({{{Version status}}})
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version date}}}
 
  |
 
released on {{{Version date}}}
 
  |<nowiki/>
 
}}
 
{{#if:{{{IRC help}}}{{{IRC general}}}{{{IRC development}}}
 
  |
 
 
 
{{Entry table row}}
 
   |<nowiki/>
 
 
}}
 
}}
{{#if:{{{IRC help}}}
+
{{#switch:{{{Is High Priority Project|}}}
  |IRC help: {{{IRC help}}}
+
|true
  |<nowiki/>
+
|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}}
 
}}
 
}}
{{#if:{{{IRC general}}}
+
{{#switch:{{{Is GNU|}}}
  |IRC general: {{{IRC help}}}
+
|true
  |<nowiki/>
+
|True
 +
|yes
 +
|Yes
 +
|y
 +
|Y={{#set:Is GNU=Yes}}
 +
|false
 +
|False
 +
|no
 +
|No
 +
|n
 +
|N
 +
|0={{#set:Is GNU=No}}
 +
|#default={{#set:Is GNU=No}}
 
}}
 
}}
{{#if:{{{IRC development}}}
+
{{#if:{{{GNU package identifier|}}}
   |IRC development: {{{IRC development}}}
+
   |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
 
   |<nowiki/>
 
   |<nowiki/>
 
}}
 
}}
{{Entry table outro}}
+
{{Revision info}}[[Category:Entry]]</div></includeonly>
</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.