Template talk:Software Infobox: Difference between revisions
No edit summary |
(→Trick to give space at left side: More spacing?) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
==Template discussion== | ==Template discussion== | ||
I finally got a working template. Future changes should be discussed here. --[[User:Beto|Beto]] 20:35, 23 August 2006 (CDT) | I finally got a working template. Future changes should be discussed here. --[[User:Beto|Beto]] 20:35, 23 August 2006 (CDT) | ||
Is there anyway to move the software infobox using CSS positioning so that it doesn't take up the entire page? is there anyway to resize images from other websites or do you need to upload them to the wiki first? thanks --[[User:HotshotGG|HotshotGG]] 18:38, 24 August 2006 (CDT) | |||
: I don't follow.... It's not taking the entire page when rendering in Firefox here. See the [[Foobar2000]] page, but I suppose CSS positioning works since style tags work. As for the automatic resizing of external images I don't think it works (at least I was not able to make it work).... I believe you have to upload the image to the wiki. Not a big issue IMO.--[[User:Beto|Beto]] 08:52, 25 August 2006 (CDT) | |||
==Trick to give space at left side== | |||
I found out how to give space to the left side of the infobox. Basically, make a wikitable, but '''do not''' include the align right. Then make another wikitable enclosing the prior wikitable. This one has the padding-left and align attributes, i.e.: | |||
<pre> | |||
{| align="right" style="padding-left: 15px;" | |||
| | |||
<< put enclosed table here >> | |||
|} | |||
</pre> | |||
Hope this helps. --[[User:Pepoluan|pepoluan]] 17:24, 25 August 2006 (CDT) | |||
:Thank you :) I didn't think about this possibility. It looks better now.--[[User:Beto|Beto]] 07:21, 26 August 2006 (CDT) | |||
Maybe an example would be helpful? I am not following you quite well. These parenthesis used in formatting tables in the wiki are quite annoying. I understand what you are saying. How does the Infobox software fit inside that table though? --[[User:HotshotGG|HotshotGG]] 13:46, 27 August 2006 (CDT) | |||
<pre> | |||
{| style="padding-left: 15px;" | |||
| | |||
{{Infobox Software | |||
| name = Ardour | |||
| screenshot = | |||
| caption = | |||
| maintainer = Paul Davis | |||
| stable_release = 0.99 | |||
| preview_release = 2.00 | |||
| operating_system = Linux, OS/X | |||
| use = Digital Audio Workstation | |||
| license = GPL | |||
| website = http://www.ardour.org/ | |||
}} | |||
|} | |||
</pre> | |||
:Uh, HotshotGG, that trick above is to be applied in the template definition page instead of the template-using page. In the template-using page, just use the <nowiki>{{ ... }}</nowiki> construct as usual. The space on the left is handled by the template definition page. --[[User:Pepoluan|pepoluan]] 12:54, 26 August 2006 (CDT) | |||
aha! now I understand. I thought you could pad it with CSS and style tags my bad. It does need more space though --[[User:HotshotGG|HotshotGG]] 16:32, 27 August 2006 (CDT) | |||
:Well, you're free to add more space. IMO 15px is enough, but perhaps not larger than 25px. The infobox seems detached. --[[User:Pepoluan|pepoluan]] 10:28, 28 August 2006 (CDT) |
Latest revision as of 15:28, 28 August 2006
Template discussion
I finally got a working template. Future changes should be discussed here. --Beto 20:35, 23 August 2006 (CDT)
Is there anyway to move the software infobox using CSS positioning so that it doesn't take up the entire page? is there anyway to resize images from other websites or do you need to upload them to the wiki first? thanks --HotshotGG 18:38, 24 August 2006 (CDT)
- I don't follow.... It's not taking the entire page when rendering in Firefox here. See the Foobar2000 page, but I suppose CSS positioning works since style tags work. As for the automatic resizing of external images I don't think it works (at least I was not able to make it work).... I believe you have to upload the image to the wiki. Not a big issue IMO.--Beto 08:52, 25 August 2006 (CDT)
Trick to give space at left side
I found out how to give space to the left side of the infobox. Basically, make a wikitable, but do not include the align right. Then make another wikitable enclosing the prior wikitable. This one has the padding-left and align attributes, i.e.:
{| align="right" style="padding-left: 15px;" | << put enclosed table here >> |}
Hope this helps. --pepoluan 17:24, 25 August 2006 (CDT)
- Thank you :) I didn't think about this possibility. It looks better now.--Beto 07:21, 26 August 2006 (CDT)
Maybe an example would be helpful? I am not following you quite well. These parenthesis used in formatting tables in the wiki are quite annoying. I understand what you are saying. How does the Infobox software fit inside that table though? --HotshotGG 13:46, 27 August 2006 (CDT)
{| style="padding-left: 15px;" | {{Infobox Software | name = Ardour | screenshot = | caption = | maintainer = Paul Davis | stable_release = 0.99 | preview_release = 2.00 | operating_system = Linux, OS/X | use = Digital Audio Workstation | license = GPL | website = http://www.ardour.org/ }} |}
- Uh, HotshotGG, that trick above is to be applied in the template definition page instead of the template-using page. In the template-using page, just use the {{ ... }} construct as usual. The space on the left is handled by the template definition page. --pepoluan 12:54, 26 August 2006 (CDT)
aha! now I understand. I thought you could pad it with CSS and style tags my bad. It does need more space though --HotshotGG 16:32, 27 August 2006 (CDT)
- Well, you're free to add more space. IMO 15px is enough, but perhaps not larger than 25px. The infobox seems detached. --pepoluan 10:28, 28 August 2006 (CDT)