Template talk:Border
From Wikipedia, the free encyclopedia
This template can be used to put a frame around a picture (or anything else). The frame is the same as in [[Image:Foo|thumb]] or [[Image:Foo|frame]], but without displaying a caption.
Demo
- Now there is another problem, in some pages with flags, they don't display the frame, such as the 2006 FIFA World Cup - Group A with Poland, and others of Groups of FIFA 2006 World Cup. Rbb l181 18:44, 17 July 2006 (UTC)
-
- I don't know what the problem is, but someone created Template:Border-notinline, maybe you could try it.
[edit] Interwiki
Could an admin add an interwiki link to no:mal:Border? Mathias-S 13:38, 14 August 2006 (UTC)
ja:Template:Border--saburny 15:12, 14 October 2006 (UTC)
- Please add is:Snið:Rammi to the interwikilist. --Jóna Þórunn 17:29, 4 November 2006 (UTC)
[edit] Proposed Modification
Perhaps the {{border}} template could be modified to allow an alignment attribute to be included. Thus the code would be:
{{#if:{{{2|}}}|<div class="t{{{2}}}">}}<span style="display: inline;"><span style="display: table-cell; border-collapse: collapse; border: solid 1px {{{color|#ddd;}}}">{{{1}}}</span></span>{{#if:{{{2|}}}|</div>}}
So {{border|[[Image:Flag of Washington, D.C..svg|100px]]}}|right}} would align the image to the right. -- tariqabjotu 15:57, 23 August 2006 (UTC)
-
- It wouldn't hurt. I was just thinking it would be useful for the ITN news section when right-aligning a bordered flag would be needed. -- tariqabjotu 17:07, 24 August 2006 (UTC)
-
-
- But the main page uses Template:Border-notinline? / Fred-Chess 18:18, 24 August 2006 (UTC)
-
-
-
-
- I tried to apply this, but it generated an error; I think there's some mis-matched curly-brace. Also, I think there is a typo in the example(the curly braces after 100px?). Please correct this(or clarify where I misunderstood (more likely)), and re-add the Editprotected notice. Thanks! —The preceding unsigned comment was added by JesseW (talk • contribs).
-
-
-
-
-
-
- This modification is the best imo. At least it gives a choice to have images surrounded or not by text. Can't someone modify the script? Parutakupiu talk || contribs 04:52, 19 November 2006 (UTC)
-
-
-