This page is semi-protected against editing.

Template:Easy-border: Difference between revisions

From Wikimedia Commons, the free media repository
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"
|base=Easy-border}}<noinclude>
|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}}
|}<noinclude>


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

It is easy to put a border around this flag image
:

[[File:Example2.svg|border|96x176px]]

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Easy-border/doc.

This template is used for explaining how to put borders around images.

Usage

{{Easy-border}}

Template parameters

ParameterDescriptionDefaultStatus
1
topic
t
(short code of) the "topic" of the image;
not necessary for flags
foptional
stylestyle options, e.g. "width:70%;float:right"emptyoptional
pixelsize(s) to display the image, one or two values96x176optional

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. {{ FExample.svgZ96br }}

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.