Template:Snippet Header: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
{{ #if: {{{AuthorURL2|}}}
{{ #if: {{{AuthorURL2|}}}
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL2}}} {{{AuthorName2}}}]'''
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL2}}} {{{AuthorName2}}}]'''
  | {{ #if: {{{ModifierName2|}}}  
  | {{ #if: {{{AuthorName2|}}}  
     | '''Author: {{{ModifierName2}}}'''
     | '''Author: {{{AuthorName2}}}'''
  }}
}}
 
{{ #if: {{{AuthorURL3|}}}
| '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL2}}} {{{AuthorName3}}}]'''
| {{ #if: {{{AuthorName3|}}}
    | '''Author: {{{AuthorName3}}}'''
   }}
   }}
}}
}}

Revision as of 16:36, 18 November 2012

Author: {{{AuthorName}}}









Note that the entire URL is not needed.

Unlimited authors and modifiers. If more are needed then edit this template accordingly.


{{Snippet Header
| AuthorURL = 35302-guinness Optional.
| AuthorName = guinness
| ModifiedURL =  Optional.
| ModifiedName = Optional.
| ModifiedURL2 = Optional.
| ModifiedName2 = Optional.
| Desc = This is a short description of the snippet. Optional.
}}

Please see this link for more information: Posting Code