Difference between revisions of "Template:Entry"

From Free Software Directory
Jump to: navigation, search
m (+subproperty for GNU packages)
 
(62 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=
 
|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 55: 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 69: Line 28:
 
   |<nowiki/>  
 
   |<nowiki/>  
 
}}
 
}}
{{#if:{{{VCS checkout command|}}}  
+
{{#if:{{{Version download|}}}
   |{{#set:VCS checkout command={{{VCS checkout command}}} }}
+
   |{{#set:Version download={{{Version download}}} }}
  |<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/>  
 
   |<nowiki/>  
 
}}
 
}}
{{#switch:{{{Is GNU|}}}
+
{{#switch:{{{Is High Priority Project|}}}
 
|true
 
|true
 
|True
 
|True
Line 91: Line 38:
 
|Yes
 
|Yes
 
|y
 
|y
|Y={{#set:Is GNU=Yes}}
+
|Y={{#set:Is High Priority Project=Yes}}
 
|false
 
|false
 
|False
 
|False
Line 98: 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:{{{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: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/>
 
}}
 
</div>
 
{{Entry table intro}}{{Entry table row}}
 
 
{{#switch:{{{Is GNU|}}}
 
{{#switch:{{{Is GNU|}}}
 
|true
 
|true
Line 182: 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 189: Line 61:
 
|n
 
|n
 
|N
 
|N
|0=<nowiki/>
+
|0={{#set:Is GNU=No}}
|#default=<nowiki/>
+
|#default={{#set:Is GNU=No}}
 
}}
 
}}
{{#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|{{{IRC help}}}}}
 
  |<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{IRC general|}}}
 
  |;IRC (general) : {{IRC|{{{IRC help}}}}}
 
  |<nowiki/>
 
}}<nowiki/>
 
{{#if:{{{IRC development|}}}
 
  |;IRC (development) : {{IRC|{{{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.