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:
<includeonly>
<includeonly>{{#if:{{{UDFName}}}|==={{{UDFName}}}===}}{{#if:{{{AuthorURL}}}|<blockquotestyle="background-color:white;padding:1em;border:2pxsolid#8FBC8F">}}{{#if:{{{AuthorURL}}}|'''Author:[http://www.autoitscript.com/forum/user/{{{AuthorURL}}}/{{{AuthorName}}}]'''}}{{#if:{{{ModifierURL|}}}|<br>'''Modified:[http://www.autoitscript.com/forum/user/{{{ModifierURL}}}{{{ModifierName}}}]'''}}{{#if:{{{ModifierURL2|}}}|'''[http://www.autoitscript.com/forum/user/{{{ModifierURL2}}}{{{ModifierName2}}}]'''}}{{#if:{{{ModifierURL3|}}}|'''[http://www.autoitscript.com/forum/user/{{{ModifierURL3}}}{{{ModifierName3}}}]'''}}{{#if:{{{ModifierURL4|}}}|'''[http://www.autoitscript.com/forum/user/{{{ModifierURL4}}}{{{ModifierName4}}}]'''}}{{#if:{{{ModifierURL5|}}}|'''[http://www.autoitscript.com/forum/user/{{{ModifierURL5}}}{{{ModifierName5}}}]'''}}{{#if:{{{Desc|}}}|<br><br>{{{Desc}}}}}{{#if:{{{AuthorURL}}}|</blockquote>}}{{#if:{{{AutoItCode|}}}|{{#tag:syntaxhighlight|{{{AutoItCode}}}|lang="autoit"}}}}{{#if:{{{ReturnToTop|}}}|<br>[[#top|ReturnToContents]]}}</includeonly>
{{#if: {{{UDFName}}}       | === {{{UDFName}}} ===                                                                             }}
{{#if: {{{AuthorURL}}}     | <blockquote style = "background-color:white; padding:1em; border:2px solid #8FBC8F">               }}
{{#if: {{{AuthorURL}}}     | '''Author: [http://www.autoitscript.com/forum/user/{{{AuthorURL}}}/ {{{AuthorName}}}]'''           }}
{{#if: {{{ModifierURL|}}} | <br> '''Modified: [http://www.autoitscript.com/forum/user/{{{ModifierURL}}} {{{ModifierName}}}]''' }}  
{{#if: {{{ModifierURL2|}}} | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL2}}} {{{ModifierName2}}}]'''             }}
{{#if: {{{ModifierURL3|}}} | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL3}}} {{{ModifierName3}}}]'''             }}  
{{#if: {{{ModifierURL4|}}} | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL4}}} {{{ModifierName4}}}]'''             }}  
{{#if: {{{ModifierURL5|}}} | '''[http://www.autoitscript.com/forum/user/{{{ModifierURL5}}} {{{ModifierName5}}}]'''             }}
{{#if: {{{Desc|}}}         | <br> <br> {{{Desc}}}                                                                               }}  
{{#if: {{{AuthorURL}}}     | </blockquote>                                                                                     }}
{{#if: {{{AutoItCode|}}}   | {{#tag: syntaxhighlight | {{{AutoItCode}}} | lang = "autoit"}}                                     }}
{{#if: {{{ReturnToTop|}}} | <br> [[#top | Return To Contents]]                                                                 }}
</includeonly>
 
<noinclude>{{Snippet Header
|UDFName=my_awesome_function
|AuthorURL=40560-lacastiglione
|AuthorName=Jaberwocky6669
|ModifierURL=40560-lacastiglione
|ModifierName=ViolentJ
|ModifierURL2=40560-lacastiglione
|ModifierName2=Shaggy2Dope
|ModifierURL3=40560-lacastiglione
|ModifierName3=LaCastiglione
|ModifierURL4=40560-lacastiglione
|ModifierName4=SomeUserNotALoser
|ModifierURL5=40560-lacastiglione
|ModifierName5=Who_ThisGuy_ThatsWho
|Desc=This is a description of the snippet.
|AutoItCode=
Global Const $var = 675
Global Const $var2 = 6753
}}</noinclude>

Revision as of 15:50, 12 November 2012