Difference between revisions of "Template:Contribution"

From WHMCS Documentation

m (Protected "Template:Contribution" [edit=sysop:move=sysop])
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:Contributions|{{{name}}}]]{{#if:{{{admin|}}}|[[Category:Admin-side Contributions|{{{name}}}]]}}{{#if:{{{theme|}}}|[[Category:Theme Contributions|{{{name}}}]]}}{{#if:{{{user|}}}|[[Category:User-side Contributions|{{{name}}}]]}}
+
<includeonly>[[Category:Contributions|{{{name}}}]]{{#ifeq:{{{admin|no}}}|yes|[[Category:Admin-side Contributions|{{{name}}}]]}}{{#ifeq:{{{theme|no}}}|yes|[[Category:Theme Contributions|{{{name}}}]]}}{{#ifeq:{{{user|no}}}|yes|[[Category:User-side Contributions|{{{name}}}]]}}{{#if:{{{author|}}}|[[Category:Contributions_by_{{{author}}}|{{{name}}}]]}}
== User contribution: {{{name}}} by {{#ifexist: User:{{{author}}} | [[User:{{{author}}}|{{{author}}}]] | {{{author}}} }} ==
+
== User contribution: {{{name}}} by {{#ifexist: User:{{{author}}} | [[User:{{{author}}}|{{{author}}}]] | {{{author}}} }} <small>([http://wiki.whmcs.com/Category:Contributions_by_{{{author}}} See all by this user])</small> ==
 
{{{desc}}}
 
{{{desc}}}
 
__NOTOC__
 
__NOTOC__
{{#ifeq:{{{code|no}}}|yes|== Code changes / installation ==
+
{{#ifeq:{{{code|no}}}|yes|
 +
== Code changes / installation ==
 
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/Code |
 
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/Code |
 
{{{{NAMESPACE}}:{{PAGENAME}}/Code}} |
 
{{{{NAMESPACE}}:{{PAGENAME}}/Code}} |
: ''Create the [[{{NAMESPACE}}:{{PAGENAME}}/Code|Code sub-page to display here.''
+
: ''Create the [[{{NAMESPACE}}:{{PAGENAME}}/Code|Code]] sub-page to display here.''
|== Download latest version {{#if:{{{version|}}}|('''{{{version}}}''')}} ==
+
}}
 +
|
 +
== Download latest version {{#if:{{{version|}}}|('''{{{version}}}''')}} ==
 
{{#if:{{{zip|}}}|* As a winzip [{{{zip}}} .zip file]}}
 
{{#if:{{{zip|}}}|* As a winzip [{{{zip}}} .zip file]}}
 
{{#if:{{{targz|}}}|* As a Gzipped tarball [{{{targz}}} .tar.gz file]}}
 
{{#if:{{{targz|}}}|* As a Gzipped tarball [{{{targz}}} .tar.gz file]}}
 
{{#if:{{{link|}}}|* {{#if:{{{linkname|}}}|{{{linkname}}}:}} {{{link}}}}}
 
{{#if:{{{link|}}}|* {{#if:{{{linkname|}}}|{{{linkname}}}:}} {{{link}}}}}
 
}}
 
}}
{{#if:{{{nofeatures|}}}||
+
{{#ifeq:{{{nofeatures|no}}}|yes||
 
== Features / Modifications ==
 
== Features / Modifications ==
 
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/Features |
 
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/Features |
 
{{{{NAMESPACE}}:{{PAGENAME}}/Features}} |
 
{{{{NAMESPACE}}:{{PAGENAME}}/Features}} |
: ''Create the [[{{NAMESPACE}}:{{PAGENAME}}/Features|Features/Modifications]] sub-page to display here.''
+
: ''Create the [[{{NAMESPACE}}:{{PAGENAME}}/Features|Features/Modifications]] sub-page to display here, or specify '''nofeatures = yes''' when calling the [[Contribution convention|contribution template]].''
 
}}
 
}}
 
}}
 
}}
{{#if:{{{nochangelog|}}}||
+
{{#ifeq:{{{nochangelog|no}}}|yes||
 
== Changelog ==
 
== Changelog ==
 
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/Changelog |
 
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/Changelog |
 
{{{{NAMESPACE}}:{{PAGENAME}}/Changelog}} |
 
{{{{NAMESPACE}}:{{PAGENAME}}/Changelog}} |
: ''Create the: [[{{NAMESPACE}}:{{PAGENAME}}/Changelog|Changelog]] sub-page to display here.''
+
: ''Create the: [[{{NAMESPACE}}:{{PAGENAME}}/Changelog|Changelog]] sub-page to display here, or specify '''nochangelog = yes''' when calling the [[Contribution convention|contribution template]].''
 
}}
 
}}
 
}}
 
}}
 
{{contribs}}
 
{{contribs}}
</includeonly><noinclude>Contributions template. See [[Contribution convention]] for useage information.</noinclude>
+
</includeonly><noinclude>'''Please do not edit this template directly.''' Propose changes on the [[Template talk:Contribution|talk page]].
 +
 
 +
This is the [[Contribution convention|contribution]] template. To see an example of a page using this template check some of the pages in [[:Category:Contributions|this category]].
 +
</noinclude>

Latest revision as of 12:44, 21 April 2008

Please do not edit this template directly. Propose changes on the talk page.

This is the contribution template. To see an example of a page using this template check some of the pages in this category.