Difference between revisions of "Template:Easy border"
Jump to navigation
Jump to search
imported>Stefan2 |
imported>OgreBot m (Replacing File:Example.png with Commons version File:Bad Title Example.png (report errors here)) |
||
| Line 1: | Line 1: | ||
{| cellspacing="3" style="border:2px solid #d3d3d3; background-color:white; clear: both; margin: 0.5em auto; width:100%; text-align:center; cellpadding:0px" | {| 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}}}: | |colspan="2" style="padding-top:.5em;"| It is easy to put a border around this {{{1|image}}}: | ||
| − | |rowspan="2" | [[Image:<includeonly>{{PAGENAME}}</includeonly><noinclude>Example.png</noinclude>|border|100px]] | + | |rowspan="2" | [[Image:<includeonly>{{PAGENAME}}</includeonly><noinclude>Bad Title Example.png</noinclude>|border|100px]] |
|- | |- | ||
| | | | ||
| | | | ||
| − | <nowiki>[[</nowiki>{{ns:image}}:<includeonly>{{PAGENAME}}</includeonly><noinclude>Example.png</noinclude>|'''border'''<nowiki>|100px]]</nowiki> | + | <nowiki>[[</nowiki>{{ns:image}}:<includeonly>{{PAGENAME}}</includeonly><noinclude>Bad Title Example.png</noinclude>|'''border'''<nowiki>|100px]]</nowiki> |
|- | |- | ||
|}<noinclude> | |}<noinclude> | ||
Latest revision as of 00:37, 22 March 2017
| It is easy to put a border around this image: | ||
[[File:Bad Title Example.png|border|100px]] | ||
This template is used for explaining how to put borders around images.
Usage
{{Easy-border}}
To specify the type of image, e.g., a flag, add it as a parameter:
{{Easy-border|flag}}
Note that this template causes the image itself to display on the file information page. Per WP:NFCC#9, it is not permitted to display non-free files outside the article namespace, so this template can't be used for non-free files.