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}}}]'''
  | '''Author: {{{AuthorName2}}}'''
  | {{ #if: {{{ModifierName2|}}}
    | '''Author: {{{ModifierName2}}}'''
  }}
}}
}}


{{ #if: {{{ModifierURL|}}}
{{ #if: {{{ModifierURL|}}}
  | <br><br> '''Modified: [http://www.autoitscript.com/forum/user/{{{ModifierURL}}} {{{ModifierName}}}]'''
  | <br> '''Modified: [http://www.autoitscript.com/forum/user/{{{ModifierURL}}} {{{ModifierName}}}]'''
  | {{ #if: {{{ModifierName|}}}  
  | {{ #if: {{{ModifierName|}}}  
     | <br><br> '''Modified: {{{ModifierName}}}'''
     | <br> '''Modified: {{{ModifierName}}}'''
   }}
   }}
}}
}}

Revision as of 15:54, 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