Template:Snippet Header: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
mNo edit summary
m (fix: Category:Templates (wrong location))
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="background-color:#FAEBD7; padding: 15px; padding-bottom: 3px; border-bottom: 2px; solid #aaa; margin-bottom: 1ex;">
<blockquote style="width: 60%; background-color:#FAEBD7; padding: 5px; 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}}}]'''
  | '''Author: {{{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><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}}}'''
   }}
   }}
}}
}}
Line 17: Line 31:
  | {{ #if: {{{ModifierName2|}}}  
  | {{ #if: {{{ModifierName2|}}}  
     | '''{{{ModifierName2}}}'''
     | '''{{{ModifierName2}}}'''
  }}
}}
{{ #if: {{{ModifierURL3|}}}
| '''[http://www.autoitscript.com/forum/user/{{{ModifierURL3}}} {{{ModifierName3}}}]'''
| {{ #if: {{{ModifierName3|}}}
    | '''{{{ModifierName3}}}'''
   }}
   }}
}}
}}


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


</div></includeonly>
</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 Author URL is not needed.


Unlimited authors and modifiers.  If more are needed then edit this template accordingly.
Unlimited authors and modifiers.  If more are needed then edit this template accordingly.
Line 47: Line 64:
| ModifiedURL2 = Optional.
| ModifiedURL2 = Optional.
| ModifiedName2 = Optional.
| ModifiedName2 = Optional.
| ModifiedName3 = Optional.
| Desc = This is a short description of the snippet. Optional.
| Desc = This is a short description of the snippet. Optional.
}}
}}
Line 55: Line 73:


</div>
</div>
[[Category:Templates]]
</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