Difference between revisions of "Template:Contribution"

From WHMCS Documentation

m (Protected "Template:Contribution" [edit=sysop:move=sysop])
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''''Under construction - waiting for a mediawiki extension to be installed. This will not work properly until it has been installed.'''''
+
<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}}}]]}}
<includeonly>
+
== 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> ==
[[Category:Contributions|{{{name}}}]]
 
{{#if:{{{admin|}}}|[[Category:Admin-side Contributions|{{{name}}}]]}}
 
{{#if:{{{theme|}}}|[[Category:Theme Contributions|{{{name}}}]]}}
 
{{#if:{{{user|}}}|[[Category:User-side Contributions|{{{name}}}]]}}
 
== User contribution: {{{name}}} by {{#ifexist: User:{{{author}}} | [[User:{{{author}}}|{{{author}}}]] | {{{author}}} }} ==
 
 
{{{desc}}}
 
{{{desc}}}
 
+
__NOTOC__
 +
{{#ifeq:{{{code|no}}}|yes|
 +
== Code changes / installation ==
 +
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/Code |
 +
{{{{NAMESPACE}}:{{PAGENAME}}/Code}} |
 +
: ''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|}}}|* [{{{link}}}{{#if:{{{linkname|}}}|: {{{linkname}}}}}]}}
+
{{#if:{{{link|}}}|* {{#if:{{{linkname|}}}|{{{linkname}}}:}} {{{link}}}}}
 
+
}}
 +
{{#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]].''
 
}}
 
}}
 
+
}}
 +
{{#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}}
 +
</includeonly><noinclude>'''Please do not edit this template directly.''' Propose changes on the [[Template talk:Contribution|talk page]].
  
{{contribs}}
+
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]].
</includeonly><noinclude>Contributions template. See [[Contribution convention]] for useage information.</noinclude>
+
</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.