Template:Snippet Header: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
mNo edit summary
m (fix: Category:Templates (wrong location))
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<blockquote style="background-color:#FAEBD7; padding:15px; border:1px; solid; #8FBC8F;">
<blockquote style="width: 60%; background-color:#FAEBD7; padding: 5px; padding-bottom: 3px; border-bottom: 2px solid #aaa; margin-bottom: 1ex;">
''' Title:
{{#if: {{{UDFName|}}}
| {{{UDFName}}}
| (missing)}}
'''


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


{{ #if: {{{ModifierURL|}}}
{{ #if: {{{ModifierURL|}}}
  | <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> '''{{{ModifierName}}}'''
     | <br> '''Modified: {{{ModifierName}}}'''
   }}
   }}
}}
}}
Line 23: Line 30:
  | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL2}}} {{{ModifierName2}}}]'''
  | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL2}}} {{{ModifierName2}}}]'''
  | {{ #if: {{{ModifierName2|}}}  
  | {{ #if: {{{ModifierName2|}}}  
     | <br> '''{{{ModifierName2}}}'''
     | '''{{{ModifierName2}}}'''
   }}
   }}
}}
}}
Line 30: Line 37:
  | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL3}}} {{{ModifierName3}}}]'''
  | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL3}}} {{{ModifierName3}}}]'''
  | {{ #if: {{{ModifierName3|}}}  
  | {{ #if: {{{ModifierName3|}}}  
     | <br> '''{{{ModifierName3}}}'''
     | '''{{{ModifierName3}}}'''
   }}
   }}
}}
}}


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


{{ #if: {{{ModifierURL5|}}}
</blockquote>
| '''[http://www.autoitscript.com/forum/user/{{{ModifierURL5}}} {{{ModifierName5}}}]'''
 
| {{ #if: {{{ModifierName5|}}}
<noinclude>
    | <br> '''{{{ModifierName5}}}'''
 
  }}
<div style="background-color:#FAEBD7; padding: 15px; padding-bottom: 3px; border-bottom: 2px; solid #aaa; margin-bottom: 1ex;">
}}


{{ #if: {{{Desc|}}}
Note that the entire Author URL is not needed.
| <br> {{{Desc}}}
}}
</blockquote><noinclude>


<div style="background-color:#FAEBD7; padding: 15px; padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;">
Unlimited authors and modifiers.  If more are needed then edit this template accordingly.


<pre>
<pre>
Note that the entire URL is not needed.
Up to five modifiers.  If more are needed then edit this template accordingly.


{{Snippet Header
{{Snippet Header
Line 67: Line 64:
| ModifiedURL2 = Optional.
| ModifiedURL2 = Optional.
| ModifiedName2 = Optional.
| ModifiedName2 = Optional.
| ModifiedURL3 = Optional.
| ModifiedName3 = 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.
}}
}}
</pre>
</pre>


Line 80: Line 73:


</div>
</div>
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:16, 9 November 2013

{{{AuthorName}}}








Note that the entire Author 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.
| ModifiedName3 = Optional.
| Desc = This is a short description of the snippet. Optional.
}}

Please see this link for more information: Posting Code