Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(70 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|Full description=  
 
|Full description=  
 
|User level=  
 
|User level=  
 +
|Extension of=
 
|Component programs=  
 
|Component programs=  
 
|Homepage URL=  
 
|Homepage URL=  
Line 14: Line 15:
 
|Documentation note=  
 
|Documentation note=  
 
|Paid Support=   
 
|Paid Support=   
 +
|Microblog=
 
|IRC help=  
 
|IRC help=  
 
|IRC general=  
 
|IRC general=  
Line 21: Line 23:
 
|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 29:
 
|Version download=  
 
|Version download=  
 
|Version comment=  
 
|Version comment=  
 +
|Status
 +
|Last review by=
 +
|Last review date=
 +
|Submitted by=
 +
|Submitted date=
 
}}
 
}}
 
</pre>
 
</pre>
Line 35: Line 39:
  
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude><includeonly>
+
</noinclude><includeonly>{{Show}}
{{#if:{{{Keywords}}}
+
__NOTITLE__
|{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
+
__NOTOC__
|<nowiki/>
+
__NOEDITSECTION__
 +
<!-- Everything below this line should not appear to the user. It
 +
exists solely for the purpose of setting semantic annotations for this
 +
software programs entry in the directory.  -->
 +
 
 +
<div style="display:none">
 +
[[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|}}}
 +
  |{{#set:Name={{{Name}}} }}
 +
  |<nowiki/>  
 
}}
 
}}
{{#if:{{{Related projects}}}
+
{{#if:{{{Short description|}}}
|{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
+
  |{{#set:Short description={{{Short description}}} }}
|<nowiki/>
+
  |<nowiki/>  
 
}}
 
}}
{{#if:{{{Name|}}}|{{#set:Name={{{Name}}}|<nowiki/>}} }}<nowiki/>
+
{{#if:{{{Full description|}}}
{{#if:{{{Short description|}}}|{{#set:Short description={{{Short description}}}|<nowiki/>}} }}<nowiki/>
+
  |{{#set:Full description={{{Full description}}} }}
{{#if:{{{Full description|}}}|{{#set:Full description={{{Full description}}}|<nowiki/>}} }}<nowiki/>
+
  |<nowiki/>  
{{#if:{{{User level|}}}|{{#set:User level={{{User level}}}|<nowiki/>}} }}<nowiki/>
+
}}
{{#if:{{{Component programs|}}}|{{#set:Component programs={{{Component programs}}}|<nowiki/>}} }}<nowiki/>
+
{{#if:{{{User level|}}}
{{#if:{{{Homepage URL|}}}|{{#set:Homepage URL={{{Homepage URL}}}|<nowiki/>}} }}<nowiki/>
+
  |{{#set:User level={{{User level}}} }}
{{#if:{{{VCS checkout command|}}}|{{#set:VCS checkout command={{{VCS checkout command}}}|<nowiki/>}} }}<nowiki/>
+
  |<nowiki/>  
{{#if:{{{Computer languages|}}}|{{#set:Computer languages={{{Computer languages}}}|<nowiki/>}} }}<nowiki/>
+
}}
{{#if:{{{Documentation note|}}}|{{#set:Documentation note={{{Documentation note}}}|<nowiki/>}} }}<nowiki/>
+
{{#if:{{{Extension of|}}}
{{#if:{{{Paid support|}}}|{{#set:Paid support={{{Paid support}}}|<nowiki/>}} }}<nowiki/>
+
  |{{#arraymap:{{{Extension of}}}|,|zzzz|{{#set:Extension of=zzzz}}|}}
{{#if:{{{Is GNU|}}}|{{#set:Is GNU={{{Is GNU}}}|<nowiki/>}} }}<nowiki/>
+
  |<nowiki/>  
{{#if:{{{IRC help|}}}|{{#set:IRC help={{{IRC help}}}|<nowiki/>}} }}<nowiki/>
+
}}
{{#if:{{{IRC general|}}}|{{#set:IRC general={{{IRC general}}}|<nowiki/>}} }}<nowiki/>
+
{{#if:{{{Component programs|}}}
{{#if:{{{IRC development|}}}|{{#set:IRC development={{{IRC development}}}|<nowiki/>}} }}<nowiki/>
+
  |{{#set:Component programs={{{Component programs}}} }}
{{#if:{{{Last review by|}}}|{{#set:Last review by={{{Last review by}}}|<nowiki/>}} }}<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:{{{Homepage URL|}}}
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}}|<nowiki/>}} }}<nowiki/>
+
  |{{#set:Homepage URL={{{Homepage URL}}} }}
{{#if:{{{Version identifier|}}}|{{#set:Version identifier={{{Version identifier}}}|<nowiki/>}} }}<nowiki/>
+
  |<nowiki/>  
{{#if:{{{Version date|}}}|{{#set:Version date={{{Version date}}}|<nowiki/>}} }}<nowiki/>
+
}}
{{#if:{{{Version status|}}}|{{#set:Version status={{{Version status}}}|<nowiki/>}} }}<nowiki/>
+
{{#if:{{{VCS checkout command|}}}  
{{#if:{{{Version download|}}}|{{#set:Version download={{{Version download}}}|<nowiki/>}} }}<nowiki/>
+
  |{{#set:VCS checkout command={{{VCS checkout command}}} }}
{{#if:{{{Version comment|}}}|{{#set:Version comment={{{Version comment}}}|<nowiki/>}} }}<nowiki/>{{Revision info}}
+
  |<nowiki/>  
 
+
}}
<!-- Start Entry float left div --><div style="float:left;width:470px;margin-left:10px;">
+
{{#if:{{{Computer languages|}}}
== {{{Name|}}} ==
+
  |{{#set:Computer languages={{{Computer languages}}} }}
{{#if:{{{Homepage URL}}}|{{{Homepage URL}}}|</nowiki>}}
+
  |<nowiki/>  
 
+
}}
{{{Full description|}}} {{#if:{{{Documentation note}}}|<br/><br/><em>{{{Documentation note}}}</em><br/>|<nowiki/>}}
+
{{#if:{{{Documentation note|}}}
 
+
  |{{#set:Documentation note={{{Documentation note}}} }}
{{#if:{{{Related projects}}}|<h3>Related Projects</h3><!-- Start Entry three column float left div --><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><!-- end entry three column float left div -->|<nowiki/>}}
+
  |<nowiki/>  
 
+
}}
</div><!-- end entry float left div  -->
+
{{#if:{{{Paid support|}}}
{{Entry table intro}}
+
  |{{#set:Paid support={{{Paid support}}} }}
{{Entry table row}}{{#ifeq:{{{Is GNU}}}|y|{{GNU Head}} '''This is a GNU Project'''<br/>|<nowiki/>}}
+
  |<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}}}
+
{{#if:{{{Microblog|}}}
|
+
  |{{#set:Microblog={{{Microblog}}} }}
released on {{{Version date}}}
+
  |<nowiki/>  
|<nowiki/>}}
+
}}
{{#if:{{{IRC help}}}{{{IRC general}}}{{{IRC development}}}
+
{{#switch:{{{Is GNU|}}}
|
+
|true
{{Entry table row}}
+
|True
|<nowiki/>
+
|yes
}}{{#if:{{{IRC help}}}|IRC help: {{{IRC help}}}|<nowiki/>}}
+
|Yes
{{#if:{{{IRC general}}}|IRC general: {{{IRC help}}}|<nowiki/>}}
+
|y
{{#if:{{{IRC development}}}|IRC development: {{{IRC development}}}|<nowiki/>}}<!-- End Entry table remains open --></includeonly>
+
|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/>  
 +
}}
 +
{{#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>

Revision as of 21:09, 18 June 2013

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

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.