Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(*move excess fields to Template:EntryDetails)
(103 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;">
 
== {{{Name|}}} ==
 
{{#if:{{{Homepage URL}}}
 
  |{{{Homepage URL}}}
 
  |</nowiki>
 
}}
 
  
{{{Full description|}}}<nowiki />
+
<div style="display:none">
{{#if:{{{Documentation note}}}
+
[[Page has default form::Entry]]
   |<br/><br/><em>{{{Documentation note}}}</em><br/>
+
{{#if:{{{Name|}}}
   |<nowiki/>
+
   |{{#set:Name={{{Name}}} }}
 +
   |<nowiki/>  
 
}}
 
}}
 
+
{{#if:{{{Short description|}}}
{{#if:{{{Related projects}}}
+
   |{{#set:Short description={{{Short 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>
 
</div>
 
  |<nowiki/>
 
}}
 
</div>
 
{{Entry table intro}}
 
{{Entry table row}}
 
{{#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}}}
+
{{#if:{{{Full description|}}}
   |IRC help: {{{IRC help}}}
+
   |{{#set:Full description={{{Full description}}} }}
   |<nowiki/>
+
   |<nowiki/>  
 
}}
 
}}
{{#if:{{{IRC general}}}
+
{{#if:{{{Homepage URL|}}}
   |IRC general: {{{IRC help}}}
+
   |{{#set:Homepage URL={{{Homepage URL}}} }}
   |<nowiki/>
+
   |<nowiki/>  
 
}}
 
}}
{{#if:{{{IRC development}}}
+
{{#if:{{{Version download|}}}
   |IRC development: {{{IRC development}}}
+
   |{{#set:Version download={{{Version download}}} }}
   |<nowiki/>
+
   |<nowiki/>  
 
}}
 
}}
{{Entry table outro}}
+
{{Revision info}}[[Category:Entry]]</div></includeonly>
</includeonly>
 

Revision as of 07:08, 24 February 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.