Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
m (+subproperty for GNU packages)
 
(50 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Entry' template.
+
[[Category:Template]]
It should be called in the following format:
+
</noinclude>
<pre>
+
<includeonly>{{Show}}
{{Entry
+
__NOTITLE__
|Name=
+
__NOTOC__
|Short description=
+
__NOEDITSECTION__
|Full description=
+
<!-- Everything below this line should not appear to the user. It
|User level=
+
exists solely for the purpose of setting semantic annotations for this
|Component programs=
+
software programs entry in the Directory. -->
|Homepage URL=
 
|VCS checkout command=
 
|Computer languages=
 
|Documentation note=
 
|Paid Support= 
 
|IRC help=
 
|IRC general=
 
|IRC development=
 
|Related projects=
 
|Software categories=
 
|Keywords=
 
|Is GNU=
 
|GNU package name=
 
|Version identifier=
 
|Version date=
 
|Version status=
 
|Version download=
 
|Version comment=
 
|Status
 
|Last review by=
 
|Last review date=
 
|Submitted by=
 
|Submitted date=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
  
[[Category:Template]]
+
<div style="display:none">
</noinclude><includeonly>__NOTOC__<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|}}}
 
{{#if:{{{Name|}}}
 
   |{{#set:Name={{{Name}}} }}
 
   |{{#set:Name={{{Name}}} }}
Line 56: Line 22:
 
{{#if:{{{Full description|}}}
 
{{#if:{{{Full description|}}}
 
   |{{#set:Full description={{{Full description}}} }}
 
   |{{#set:Full description={{{Full description}}} }}
  |<nowiki/>
 
}}
 
{{#if:{{{User level|}}}
 
  |{{#set:User level={{{User level}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Component programs|}}}
 
  |{{#set:Component programs={{{Component programs}}} }}
 
 
   |<nowiki/>  
 
   |<nowiki/>  
 
}}
 
}}
Line 70: Line 28:
 
   |<nowiki/>  
 
   |<nowiki/>  
 
}}
 
}}
{{#if:{{{VCS checkout command|}}}  
+
{{#if:{{{Version download|}}}
   |{{#set:VCS checkout command={{{VCS checkout command}}} }}
+
   |{{#set:Version download={{{Version download}}} }}
 
   |<nowiki/>  
 
   |<nowiki/>  
 
}}
 
}}
{{#if:{{{Computer languages|}}}
+
{{#switch:{{{Is High Priority Project|}}}
  |{{#set:Computer languages={{{Computer languages}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Documentation note|}}}
 
  |{{#set:Documentation note={{{Documentation note}}} }}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Paid support|}}}
 
  |{{#set:Paid support={{{Paid support}}} }}
 
  |<nowiki/>
 
}}
 
{{#switch:{{{Is GNU|}}}
 
 
|true
 
|true
 
|True
 
|True
Line 92: Line 38:
 
|Yes
 
|Yes
 
|y
 
|y
|Y={{#set:Is GNU=Yes}}
+
|Y={{#set:Is High Priority Project=Yes}}
 
|false
 
|false
 
|False
 
|False
Line 99: Line 45:
 
|n
 
|n
 
|N
 
|N
|0={{#set:Is GNU=No}}
+
|0={{#set:Is High Priority Project=No}}
|#default={{#set:Is GNU=No}}
+
|#default={{#set:Is High Priority Project=No}}
}}
 
{{#if:{{{GNU package name|}}}
 
  |{{#set:GNU package name={{{GNU package name|}}}}}
 
  |<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><div class="fsfEntryLeft">
 
== {{{Name|}}} ==
 
{{#if:{{{Homepage URL|}}}
 
  |[{{{Homepage URL}}} {{{Homepage URL}}}]
 
  |<nowiki/>
 
}}
 
 
 
{{{Full description|}}}
 
{{#if:{{{Documentation note|}}}
 
  |<br/><br/><em>{{{Documentation note}}}</em><br/>
 
  |<nowiki/>
 
 
}}
 
}}
 
{{#if:{{{Related projects|}}}
 
  |<div style="margin-right:10px"><h2 style="background:#d4cfcb; padding:4px;>Related Projects</h2></div>
 
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2;margin:2px 2px 2px 2px;">
 
<ul style="list-style: none !important;">
 
{{#arraymap:{{{Related projects}}}
 
  |,
 
  |x
 
  |<li>[[x]]</li>
 
  |
 
}}
 
</ul>
 
</div>
 
  |<nowiki/>
 
}}
 
</div>
 
{{Entry table intro}}{{Entry table row}}
 
 
{{#switch:{{{Is GNU|}}}
 
{{#switch:{{{Is GNU|}}}
 
|true
 
|true
Line 187: Line 54:
 
|Yes
 
|Yes
 
|y
 
|y
|Y={{GNU Head}} '''This is a GNU Project'''<br/>
+
|Y={{#set:Is GNU=Yes}}
 
|false
 
|false
 
|False
 
|False
Line 194: Line 61:
 
|n
 
|n
 
|N
 
|N
|0
+
|0={{#set:Is GNU=No}}
|#default=<br/><nowiki/>
+
|#default={{#set:Is GNU=No}}
}}
 
{{#if:{{{GNU package name|}}}
 
  |<strong>{{{GNU package name}}}</strong><br/>
 
  |<nowiki/>
 
 
}}
 
}}
{{#if:{{{Version download|}}}
+
{{#if:{{{GNU package identifier|}}}
  |[{{{Version download}}} Download] [[File:External-link-icon.png|link={{{Version download}}}]]
+
   |{{#set:GNU package identifier={{{GNU package identifier|}}}}}
   |<nowiki/>
 
}}
 
{{#if:{{{Version identifier|}}}
 
  |version {{{Version identifier}}}
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version status|}}}
 
  | ({{{Version status}}})
 
  |<nowiki/>
 
}}
 
{{#if:{{{Version date|}}}
 
  |{{Entry table row}}released on {{{Version date}}}
 
  |<nowiki/>
 
}}
 
{{#if:{{{IRC help|}}}
 
  |{{IRC|Help|{{{IRC help}}}}}
 
  |<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{IRC general|}}}
 
  |{{IRC|general|{{{IRC general}}}}}
 
  |<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{IRC development|}}}
 
  |{{IRC|development|{{{IRC development}}}}}
 
 
   |<nowiki/>
 
   |<nowiki/>
 
}}
 
}}
{{Entry table outro}}</includeonly>
+
{{Revision info}}[[Category:Entry]]</div></includeonly>

Latest revision as of 15:39, 12 March 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.