Difference between revisions of "Template:Block"
From FileZilla Wiki
Jump to navigationJump to searchm (Reverted edits by 146.251.167.77 (talk) to last revision by CodeSquid) |
|||
Line 1: | Line 1: | ||
− | + | <!-- Copied from the wonderful ipodlinux wiki @ http://www.ipodlinux.org --> | |
− | + | <!-- Portal Block Template - use in conjunction with Portal template | |
+ | or just a plain old table | ||
− | '' | + | Arguments: |
+ | 1 - the real name of the linked page | ||
+ | 2 - the text for the link | ||
+ | 3 - the 48x48 image name (excluding the 'Image:' namespace prefix) | ||
+ | 4 - the text caption for the button | ||
− | + | Example (use as a row of a table): | |
− | + | {{Block|Project Status|Status Page|Status.png|View current iPodLinux features}} | |
+ | --> | ||
− | + | |width=48|<div style="position: relative; width:48px; height:48px; overflow: hidden"> | |
− | + | <div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[{{{1}}}| ]]</div> | |
− | + | <div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{3}}}|48px|{{{1}}}]]</div> | |
− | ''' | + | </div> |
+ | |width=50%|'''[[{{{1}}}|{{{2}}}]]'''<br><small>{{{4}}}</small> |
Revision as of 19:23, 28 March 2012
|width=48|
|width=50%|[[{{{1}}}|{{{2}}}]]
{{{4}}}