Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
m (+subproperty for GNU packages)
 
(136 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Entry' template.
+
[[Category:Template]]
It should be called in the following format:
+
</noinclude>
<pre>
+
<includeonly>{{Show}}
{{Entry
+
__NOTITLE__
|Name=
+
__NOTOC__
|Short description=
+
__NOEDITSECTION__
|Full description=
+
<!-- Everything below this line should not appear to the user. It
|User level=
+
exists solely for the purpose of setting semantic annotations for this
|Component programs=
+
software programs entry in the Directory. -->
|Homepage URL=
+
 
|VCS checkout command=  
+
<div style="display:none">
|Computer languages=
+
[[Page has default form::Entry]]
|Documentation note=
+
{{#if:{{{Name|}}}
|Paid Support=
+
  |{{#set:Name={{{Name}}} }}
|IRC help=
+
  |<nowiki/>
|IRC general=
+
}}
|IRC development=
+
{{#if:{{{Short description|}}}
|Related projects=  
+
  |{{#set:Short description={{{Short description}}} }}
|Software categories=
+
  |<nowiki/>
|Keywords=
 
|Is GNU=
 
|Last review by=
 
|Last review date=
 
|Submitted by=
 
|Submitted date=
 
|Version identifier=
 
|Version date=
 
|Version status=
 
|Version download=
 
|Version comment=
 
 
}}
 
}}
</pre>
+
{{#if:{{{Full description|}}}
Edit the page to see the template text.
+
  |{{#set:Full description={{{Full description}}} }}
 
+
  |<nowiki/>
[[Category:Template]]
+
}}
</noinclude><includeonly>
+
{{#if:{{{Homepage URL|}}}
{{#set: Name={{{Name|}}}
+
  |{{#set:Homepage URL={{{Homepage URL}}} }}
|Short description={{{Short description|}}}
+
  |<nowiki/>
|Full description={{{Full description|}}}
+
}}
|User level={{{User level|}}}
+
{{#if:{{{Version download|}}}
|Component programs={{{Component programs|}}}
+
  |{{#set:Version download={{{Version download}}} }}
|Homepage URL={{{Homepage URL|}}}
+
  |<nowiki/>
|VCS checkout command={{{VCS checkout command|}}}
+
}}
|Computer languages={{{Computer languages|}}}
+
{{#switch:{{{Is High Priority Project|}}}
|Documentation note={{{Documentation note|}}}
+
|true
|Paid support={{{Paid support|}}}
+
|True
|Related projects={{{Related projects|}}}
+
|yes
|Keywords={{{Keywords|}}}
+
|Yes
|Is GNU={{{Is GNU|}}}
+
|y
|IRC help={{{IRC help|}}}
+
|Y={{#set:Is High Priority Project=Yes}}
|IRC general={{{IRC general|}}}
+
|false
|IRC development={{{IRC development|}}}
+
|False
|Last review by={{{Last review by|}}}
+
|no
|Last review date={{{Last review date|}}}
+
|No
|Submitted by={{REVISIONUSER}}
+
|n
|Submitted date={{#time:c}}
+
|N
|Version identifier={{{Version identifier|}}}
+
|0={{#set:Is High Priority Project=No}}
|Version date={{{Version date|}}}
+
|#default={{#set:Is High Priority Project=No}}
|Version status={{{Version status|}}}
+
}}
|Version download={{{Version download|}}}
+
{{#switch:{{{Is GNU|}}}
|Version comment={{{Version comment|}}}
+
|true
 +
|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:{{{GNU package identifier|}}}
 +
  |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
 +
  |<nowiki/>
 
}}
 
}}
<div style="float:left;width:470px;margin-left:10px;">
+
{{Revision info}}[[Category:Entry]]</div></includeonly>
== {{{Name|}}} ==
 
{{#if:{{{Homepage URL}}}|{{{Homepage URL}}}|</nowiki>}}
 
 
 
{{{Full description|}}} {{#if:{{{Documentation note}}}|<br/><br/><em>{{{Documentation note}}}</em><br/>|<nowiki/>}}
 
{{#if:{{{Related projects}}}|<h3>Related Projects</h3><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></div>|<nowiki/>}}
 
 
 
</div>
 
{|style="float:right; width:220px; margin-left:10px; margin-right:2px;margin-top:40px;"
 
|-
 
|{{#ifeq:{{{Is GNU}}}|y|{{GNU Head}} '''This is a GNU Project'''<br/>|<br/>}}
 
{{#if:{{{Version identifier}}}|Version {{{Version identifier}}} |<nowiki/>}}
 
{{#if:{{{Version status}}}| ({{{Version status}}}) |<nowiki/>}}
 
{{#if: {{{Version date}}}| released on {{{Version date}}} |<nowiki/>}}
 
{{#if:{{{Version download}}}|[{{{Version download}}}{{!}} download<sup>↗</sup> ]|<nowiki/>}}
 
{{#if:{{{Version comment}}}|<div style="margin: 0px 0px 0px 8px !important">''{{{Version comment}}}''</div>|<nowiki/>}}
 
{{#if:{{{IRC help}}}|IRC help: {{{IRC help}}}|<nowiki/>}}
 
{{#if:{{{IRC general}}}|IRC general: {{{IRC help}}}|<nowiki/>}}
 
{{#if:{{{IRC development}}}|IRC development: {{{IRC development}}}|<nowiki/>}}
 
|}
 
 
 
[[Category:Program]]
 
{{Revision info}}
 
</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.