Template:Easy-border: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
change table to 100% width for consistency with other boxes |
m →top: replace redirected template and or call Module:Autotranslate directly |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:Autotranslate|autotranslate|topic={{#ifeq:{{{1}}}|flag|f|{{{topic|{{{t|{{{1|}}}}}}}}}}}|style={{{style|}}}|pixel={{{pixel|}}} |
|||
{| cellspacing="3" style="border:2px solid #d3d3d3; background-color:white; clear: both; margin: 0.5em auto; width:100%; text-align:center; cellpadding:0px" |
|||
⚫ | |||
|colspan="2" style="padding-top:.5em;"| It is easy to put a border around this {{{1|image}}}: |
|||
{{documentation}} |
|||
|rowspan="2" | [[Image:<includeonly>{{PAGENAME}}</includeonly><noinclude>Example.png</noinclude>|border|100px]] |
|||
|- |
|||
| |
|||
| |
|||
<nowiki>[[</nowiki>{{ns:image}}:<includeonly>{{PAGENAME}}</includeonly><noinclude>Example.png</noinclude>|'''border'''<nowiki>|100px]]</nowiki> |
|||
|- |
|||
|colspan="3" style="border-top:1px solid #d3d3d3;"|{{easy-border/lang}} |
|||
⚫ | |||
This template is used for explaining how to put borders around images. |
|||
==Usage== |
|||
<nowiki>{{easy-border}}</nowiki> |
|||
[[Category:Marker templates|{{PAGENAME}}]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 04:32, 5 February 2024
This documentation is transcluded from Template:Easy-border/doc.
Usage
{{Easy-border}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 topic t | (short code of) the "topic" of the image; not necessary for flags | f | optional | |
style | style options, e.g. "width:70%;float:right" | empty | optional | |
pixel | size(s) to display the image, one or two values | 96x176 | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
See also
To put borders around images with Template:F, use the option
b
, e.g. {{ F | Example.svg | Z | 96 | b | r }}
Also possible with parameter ° by Template:Image generation or Easy border=yes with File generation description,
and with Template:Tbc or ColorString
Localization
العربية ∙ বাংলা ∙ čeština ∙ Deutsch ∙ English ∙ français ∙ magyar ∙ italiano ∙ македонски ∙ മലയാളം ∙ Nederlands ∙ polski ∙ português ∙ português do Brasil ∙ русский ∙ Türkçe ∙ 中文
This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Easy-border/layout.