Template:Logo
(Redirected from Template:Imageaslogo)
Jump to navigation
Jump to search
[edit] [ ] Template documentation
This documentation is transcluded from Template:Logo/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and test cases (edit) pages.
Subpages of this template.
Editors can experiment in this template's sandbox (edit | diff) and test cases (edit) pages.
Subpages of this template.
Usage
Use this to set an image as a the logo on a page or add an image to the logo so it will work cross-skin.
Replace logo:
{{logo|[[File:Wiki.png]]}} {{logo|[[File:Wiki.png|150px]]}}
Alternately (old method, or to add an image without removing the potato[1]):
{{logo |image=Wiki.png |size=150px |top=-5px |left=0 |link=Wikipedia |layer=50 }}
Parameters
- 1 or src - image with which to replace logo; usage of src supersedes other parameters
- image or logo - image with which to replace the logo
- size - image size; specify as necessary
- link - page to link to; defaults to the mainpage
- top - offset from the top of the page
- left - offset from the left side of the page; these default to about where the potato is, though not exactly)
- layer - z-index of the new logo, if you care
- visible - set a value, e.g. 'true', to keep the existing logo from being removed; use this to add images such as the feature stamp
- overflow - set a value to allow overflow (if it is not set, the outer div has the attribute
overflow: hidden
)