Template:Snippet Header: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
{{ #if: {{{AuthorURL|}}}
{{ #if: {{{AuthorURL|}}}
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL}}} {{{AuthorName}}}]'''
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL}}} {{{AuthorName}}}]'''
  | '''Author: {{{AuthorName}}}'''
  | '''{{{AuthorName}}}'''
}}
}}


Line 9: Line 9:
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL2}}} {{{AuthorName2}}}]'''
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL2}}} {{{AuthorName2}}}]'''
  | {{ #if: {{{AuthorName2|}}}  
  | {{ #if: {{{AuthorName2|}}}  
     | '''Author: {{{AuthorName2}}}'''
     | '''{{{AuthorName2}}}'''
   }}
   }}
}}
}}
Line 16: Line 16:
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL2}}} {{{AuthorName3}}}]'''
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL2}}} {{{AuthorName3}}}]'''
  | {{ #if: {{{AuthorName3|}}}  
  | {{ #if: {{{AuthorName3|}}}  
     | '''Author: {{{AuthorName3}}}'''
     | '''{{{AuthorName3}}}'''
   }}
   }}
}}
}}
Line 35: Line 35:


{{ #if: {{{Desc|}}}
{{ #if: {{{Desc|}}}
  | <br> <br> {{{Desc}}}  
  | <br> {{{Desc}}}  
}}
}}



Revision as of 17:46, 18 November 2012

{{{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