Difference between revisions of "Template:Contribution"

From WHMCS Documentation

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}}}]]}}{{#if:{{{author|}}}|[[Category:Contributions/{{{author}}}|{{{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/{{{author}}}|{{{name}}}]]}}
 
== User contribution: {{{name}}} by {{#ifexist: User:{{{author}}} | [[User:{{{author}}}|{{{author}}}]] | {{{author}}} }} <small>([http://wiki.whmcs.com/Category:Contributions/{{{author}}} See all by this user])</small> ==
 
== User contribution: {{{name}}} by {{#ifexist: User:{{{author}}} | [[User:{{{author}}}|{{{author}}}]] | {{{author}}} }} <small>([http://wiki.whmcs.com/Category:Contributions/{{{author}}} See all by this user])</small> ==
 
{{{desc}}}
 
{{{desc}}}

Revision as of 18:44, 19 March 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.