Difference between revisions of "Template:Function"
m (Fixed bug.) |
m (Tweak) |
||
Line 12: | Line 12: | ||
<includeonly><div class="funcbox" style="margin-left:3.8%; margin-right:25%; margin-top:1%; border-style:none; border-radius:10px; box-shadow:2px 2px 11px #888; background:antiqueWhite; padding:21px; padding-right:32px;"> | <includeonly><div class="funcbox" style="margin-left:3.8%; margin-right:25%; margin-top:1%; border-style:none; border-radius:10px; box-shadow:2px 2px 11px #888; background:antiqueWhite; padding:21px; padding-right:32px;"> | ||
− | <span class="funcbox_header"><code>'''{{#ifeq:{{{name|}}}|{{{name|-}}}|{{{name}}}|function}}()'''</code></span><br /><br /><span class="funcbox_content"><code>{{{1}}}</code></span></div> | + | <span class="funcbox_header" style="text-align:center;"><code>'''{{#ifeq:{{{name|}}}|{{{name|-}}}|{{{name}}}|function}}()'''</code></span><br /><br /><span class="funcbox_content"><code>{{{1}}}</code></span></div> |
</includeonly> | </includeonly> |
Revision as of 17:09, 17 November 2015
Use this template like this:
{{Function | name=probe_it | My cool function for probing stuff}}
to produce:
probe_it()
My cool function for probing stuff