Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(109 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}}
{{#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}}}|,|zzzz|{{#set:Extension of=zzzz}}|}}
 +
  |<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:{{{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/>
 
}}
 
}}
<div style="float:left;width:470px;margin-left:10px;">
+
{{#if:{{{Last review by|}}}
== {{{Name|}}} ==
+
  |{{#set:Last review by={{{Last review by}}} }}
{{#if:{{{Homepage URL}}}|{{{Homepage URL}}}|</nowiki>}}
+
  |<nowiki/>  
 
+
}}
{{{Full description|}}}
+
{{#if:{{{Last review date|}}}
{{#if:{{{Related projects}}}|===Related Projects=== <ul>{{#arraymap:{{{Related projects}}}|,|x|<li>[[x]]</li>| }}</ul>|<nowiki/>}}
+
  |{{#set:Last review date={{{Last review date}}} }}
 
+
  |<nowiki/>  
 
+
}}
</div>
+
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}} }}
{|style="float:right; width:220px; margin-left:10px; margin-right:2px;margin-top:40px;"
+
  |<nowiki/>  
|-
+
}}
|{{#ifeq:{{{Is GNU}}}|y|{{GNU Head}} '''This is a GNU Project'''<br/>|<br/>}}
+
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}} }}
{{#if:{{{Version identifier}}}|Version {{{Version identifier}}} |<nowiki/>}}
+
  |<nowiki/>  
{{#if:{{{Version status}}}| ({{{Version status}}}) |<nowiki/>}}
+
}}
{{#if: {{{Version date}}}| released on {{{Version date}}} |<nowiki/>}}  
+
{{#if:{{{Version identifier|}}}
{{#if:{{{Version download}}}|{{{Version download}}}|<nowiki/>}}  
+
  |{{#set:Version identifier={{{Version identifier}}} }}
{{#if:{{{Version comment}}}|<br/>''{{{Version comment}}}''|<nowiki/>}}
+
  |<nowiki/>  
{{#if:{{{IRC help}}}|IRC help: {{{IRC help}}}|<nowiki/>}}
+
}}
{{#if:{{{IRC general}}}|IRC general: {{{IRC help}}}|<nowiki/>}}
+
{{#if:{{{Version date|}}}
{{#if:{{{IRC development}}}|IRC development: {{{IRC development}}}|<nowiki/>}}
+
  |{{#set:Version date={{{Version date}}} }}
|}
+
  |<nowiki/>  
 
+
}}
[[Category:Program]]
+
{{#if:{{{Version status|}}}
{{Revision info}}
+
  |{{#set:Version status={{{Version status}}} }}
</includeonly>
+
  |<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.