Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
(added Donate field)
(81 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=
 +
|Donate=
 
}}
 
}}
 
</pre>
 
</pre>
Line 35: Line 40:
  
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude><includeonly>__SHOWFACTBOX__
+
</noinclude><includeonly>{{Show}}
<nowiki>
+
__NOTITLE__
{{#if:{{{Keywords}}}
+
__NOTOC__
|{{#arraymap:{{{Keywords}}}|,|x|{{#set:Keywords=x}}|}}
+
__NOEDITSECTION__
|<nowiki/>
+
<!-- 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:{{{Short description|}}}
 +
  |{{#set:Short description={{{Short description}}} }}
 +
  |<nowiki/>
 +
}}
 +
{{#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:{{{Donate|}}}
 +
  |{{#set:Donate={{{Donate}}} }}
 +
  |<nowiki/>  
 
}}
 
}}
{{#if:{{{Related projects}}}
+
{{#if:{{{Microblog|}}}
|{{#arraymap:{{{Related projects}}}|,|x|{{#set:Related projects=x}}|}}
+
  |{{#set:Microblog={{{Microblog}}} }}
|<nowiki/>
+
  |<nowiki/>  
 
}}
 
}}
{{#if:{{{Name|}}}|{{#set:Name={{{Name}}}|<nowiki/>}} }}
+
{{#switch:{{{Is GNU|}}}
{{#if:{{{Short description|}}}|{{#set:Short description={{{Short description}}}|<nowiki/>}} }}
+
|true
{{#if:{{{Full description|}}}|{{#set:Full description={{{Full description}}}|<nowiki/>}} }}
+
|True
{{#if:{{{User level|}}}|{{#set:User level={{{User level}}}|<nowiki/>}} }}
+
|yes
{{#if:{{{Component programs|}}}|{{#set:Component programs={{{Component programs}}}|<nowiki/>}} }}
+
|Yes
{{#if:{{{Homepage URL|}}}|{{#set:Homepage URL={{{Homepage URL}}}|<nowiki/>}} }}
+
|y
{{#if:{{{VCS checkout command|}}}|{{#set:VCS checkout command={{{VCS checkout command}}}|<nowiki/>}} }}
+
|Y={{#set:Is GNU=Yes}}
{{#if:{{{Computer languages|}}}|{{#set:Computer languages={{{Computer languages}}}|<nowiki/>}} }}
+
|false
{{#if:{{{Documentation note|}}}|{{#set:Documentation note={{{Documentation note}}}|<nowiki/>}} }}
+
|False
{{#if:{{{Paid support|}}}|{{#set:Paid support={{{Paid support}}}|<nowiki/>}} }}
+
|no
{{#if:{{{Is GNU|}}}|{{#set:Is GNU={{{Is GNU}}}|<nowiki/>}} }}
+
|No
{{#if:{{{IRC help|}}}|{{#set:IRC help={{{IRC help}}}|<nowiki/>}} }}
+
|n
{{#if:{{{IRC general|}}}|{{#set:IRC general={{{IRC general}}}|<nowiki/>}} }}
+
|N
{{#if:{{{IRC development|}}}|{{#set:IRC development={{{IRC development}}}|<nowiki/>}} }}
+
|0={{#set:Is GNU=No}}
{{#if:{{{Last review by|}}}|{{#set:Last review by={{{Last review by}}}|<nowiki/>}} }}
+
|#default={{#set:Is GNU=No}}
{{#if:{{{Last review date|}}}|{{#set:Last review date={{{Last review date}}}|<nowiki/>}} }}
+
}}
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}}|<nowiki/>}} }}
+
{{#if:{{{GNU package identifier|}}}
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}}|<nowiki/>}} }}
+
  |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
{{#if:{{{Version identifier|}}}|{{#set:Version identifier={{{Version identifier}}}|<nowiki/>}} }}
+
  |<nowiki/>
{{#if:{{{Version date|}}}|{{#set:Version date={{{Version date}}}|<nowiki/>}} }}
+
}}
{{#if:{{{Version status|}}}|{{#set:Version status={{{Version status}}}|<nowiki/>}} }}
+
{{#if:{{{IRC help|}}}
{{#if:{{{Version download|}}}|{{#set:Version download={{{Version download}}}|<nowiki/>}} }}
+
  |{{#set:IRC help={{{IRC help}}} }}
{{#if:{{{Version comment|}}}|{{#set:Version comment={{{Version comment}}}|<nowiki/>}} }}
+
  |<nowiki/>  
{{Revision info}}</nowiki>
+
}}
<div style="float:left;width:470px;margin-left:10px;">
+
{{#if:{{{IRC general|}}}
== {{{Name|}}} ==
+
  |{{#set:IRC general={{{IRC general}}} }}
{{#if:{{{Homepage URL}}}|{{{Homepage URL}}}|</nowiki>}}
+
  |<nowiki/>  
 
+
}}
{{{Full description|}}} {{#if:{{{Documentation note}}}|<br/><br/><em>{{{Documentation note}}}</em><br/>|<nowiki/>}}
+
{{#if:{{{IRC development|}}}
{{#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:IRC development={{{IRC development}}} }}
 
+
  |<nowiki/>  
</div>
+
}}
{|style="float:right; width:220px; margin-left:10px; margin-right:2px;margin-top:40px;margin-bottom:0px"
+
{{#if:{{{Last review by|}}}
|-
+
  |{{#set:Last review by={{{Last review by}}} }}
|{{#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:{{{Last review date|}}}
{{#if:{{{Version status}}}| ({{{Version status}}}) |<nowiki/>}}
+
  |{{#set:Last review date={{{Last review date}}} }}
{{#if: {{{Version date}}}| released on {{{Version date}}} |<nowiki/>}}
+
  |<nowiki/>  
|-
+
}}
|{{#if:{{{IRC help}}}|IRC help: {{{IRC help}}}|<nowiki/>}}
+
{{#if:{{REVISIONUSER}}|{{#set:Submitted by={{{Submitted by}}} }}
{{#if:{{{IRC general}}}|IRC general: {{{IRC help}}}|<nowiki/>}}
+
  |<nowiki/>  
{{#if:{{{IRC development}}}|IRC development: {{{IRC development}}}|<nowiki/>}}
+
}}
|}
+
{{#if:{{#time:c}}|{{#set:Submitted date={{{Submitted date}}} }}
{|style="float:right; width:220px; margin-left:10px; margin-right:2px;margin-top:40px;"
+
  |<nowiki/>  
|-
+
}}
</includeonly>
+
{{#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 14:44, 16 May 2014

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.