Template:Snippet Header: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<blockquote style="background-color:#FAEBD7; padding:15px; border:1px; solid; #8FBC8F;">
<includeonly><div style="background-color:#FAEBD7; padding: 15px; padding-bottom: 3px; border-bottom: 2px; solid #aaa; margin-bottom: 1ex;">


'''
{{ #if: {{{AuthorURL|}}}
{{ #if: {{{AuthorURL|}}}
  | Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL}}} {{{AuthorName}}}]
  | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL}}} {{{AuthorName}}}]'''
  | {{{AuthorName}}}
  | '''Author: {{{AuthorName}}}'''
}}
}}
'''


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


{{ #if: {{{ModifierURL3|}}}
{{ #if: {{{Desc|}}}
  | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL3}}} {{{ModifierName3}}}]'''
  | <br> <br> {{{Desc}}}  
| {{ #if: {{{ModifierName3|}}}
    | <br> '''{{{ModifierName3}}}'''
  }}
}}
}}


{{ #if: {{{ModifierURL4|}}}
</div></includeonly>
| '''[http://www.autoitscript.com/forum/user/{{{ModifierURL4}}} {{{ModifierName4}}}]'''
 
| {{ #if: {{{ModifierName4|}}}
 
    | <br> '''{{{ModifierName4}}}'''
 
  }}
}}


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


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


</blockquote><noinclude>


<div style="background-color:#FAEBD7; padding: 15px; padding-bottom: 3px; border-bottom: 2px solid #aaa; margin-bottom: 1ex;">
<div style="background-color:#FAEBD7; padding: 15px; padding-bottom: 3px; border-bottom: 2px; solid #aaa; margin-bottom: 1ex;">


Note that the entire URL is not needed.
Note that the entire URL is not needed.


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


<pre>
<pre>
Line 64: Line 47:
| ModifiedURL2 = Optional.
| ModifiedURL2 = Optional.
| ModifiedName2 = Optional.
| ModifiedName2 = Optional.
| ModifiedURL3 = Optional.
| ModifiedName3 = Optional.
| ModifiedURL4 = Optional.
| ModifiedName4 = Optional.
| ModifiedURL5 = Optional.
| ModifiedName5 = Optional.
| Desc = This is a short description of the snippet. Optional.
| Desc = This is a short description of the snippet. Optional.
}}
}}
Line 78: Line 55:


</div>
</div>
</noinclude>

Revision as of 19:39, 15 November 2012





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