Difference between revisions of "Template:Entry"

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

Revision as of 18:01, 10 April 2015

This is the Entry template. It should be called in the following format:

{{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= 
}}

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.