வார்ப்புரு:வலைவாசல்
கட்டற்ற கலைக்களஞ்சியமான விக்கிப்பீடியாவில் இருந்து.
[தொகு]
வார்ப்புரு ஆவணப்படுத்தல்
இந்த ஆவணப்படுத்தல் வார்ப்புரு:வலைவாசல்/doc பக்கத்திலிருந்து நேரடியாக இங்கே இணைக்கப்பட்டுள்ளது. (தொகு | வரலாறு)
வார்ப்புரு:High-risk This template is used to produce a link in a box to a வலைவாசல்.
பொருளடக்கம் |
[தொகு] Parameters
{{வலைவாசல்|Name|image=Image|size=Size|boxsize=Boxsize|break=yes|left=yes|margin=Margin|link=Target|alt=Alt text}}
Name- The name of the வலைவாசல்.
The following additional parameters are available. They are all optional, the default values are chosen to give a good look and feel across the encylopedia and should not be overridden without good reason.
|image=Image- The image to use for the வலைவாசல்'s icon. This defaults to an image that is specified in Template:வலைவாசல்/Images/வலைவாசல்Name for the வலைவாசல், or a generic image, and should not be overridden without good reason. There is a list of all such images.
|size=Size- The width of the icon, as an integer. This is in units of pixels. The default is 32. The icon is also constrained to be at most 28 pixels high.
|boxsize=Boxsize- The width of the box, as an integer. This is in units of pixels. The default is to use a box wide enough to hold the text, if possible.
|break=yes- In the text, put a line break between the வலைவாசல்'s name and the word "வலைவாசல்".
|left=yes- Float the box to the left instead of to the right.
|margin=Margin- The margin around the box. By default, the box is surrounded by a margin of width 0.5em, but this can be customized using
|margin=top right bottom left(e.g.,|margin=0.25em 0 0.25em 0.25em) or removed using|margin=0(zero).
|link=Target- the link target for the image. If the target is empty, the image does not link to anything; if "
File:", the image links to its file page; otherwise, the image links to the specified Wikipeda page or URL. The default is "File:" ifImageis specified, and is empty otherwise.Targetcan be the name of a Wikipedia page, and it can be a URL. Normally the target should not also be a target of the adjacent text, as that would be overlinking. IfImageor nonemptyTargetis specified, nonemptyAlt textshould also be specified. The|link=parameter should not be used if that would conflict with the licensing requirements of the image; see Purely decorative images.
|alt=Alt text- The alt text for the image, for visually impaired readers; see Wikipedia:Alternative text for images. The default is empty. If
|link=File:(orImagewithout any use of the|link=parameter) is specified, the alt text should describe the image's visual appearance; if|link=specifies some other nonempty link target, the alt text should describe the icon's function.
[தொகு] Location
Within articles, this template is meant to be placed at the bottom of the article in the See also section.
[தொகு] Examples
| Code
|
Result
|
|---|---|
{{வலைவாசல்}}
|
|
{{வலைவாசல்|அறிவியல்}}
|
|
{{வலைவாசல்|Spaceflight|RocketSunIcon.svg|alt=Rocket orbiting star}}
|
|
{{வலைவாசல்|Spaceflight|RocketSunIcon.svg|link=}}
|
|
{{வலைவாசல்|Spaceflight|RocketSunIcon.svg |link=Special:Search
|alt=Search spaceflight வலைவாசல்
}}
|
|
{{வலைவாசல்|அறிவியல்|size=15}}
|
|
{{வலைவாசல்|அறிவியல்|boxsize=50}}
|
|
{{வலைவாசல்|அறிவியல்|break=yes}}
|
|
{{வலைவாசல்|அறிவியல்|break=yes|left=yes}}
|
[தொகு] See also
- {{Portal box}}