You are not logged in.

#1 2006-11-28 15:37:10

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

ArchWiki: suggestion for a new page layout

Finally, I have some time to spare for ArchWiki improvement. big_smile

I have modified my article on CMYK support in The GIMP as an example.

Please take a look at it here:

http://wiki.archlinux.org/index.php/CMY … n_The_GIMP

The code to produce the box on the right is here:

{{sn|'''Article summary:'''

This article will show how to enable rudimentary CMYK support in The GIMP using the Separate plug-in, and explain how to use color proof filter to soft-proof your images.

It will also cover more general topics on CMYK colors and DTP.

'''Required software:'''
*[http://www.gimp.org/ The GIMP The GIMP]
*[http://www.littlecms.com/ lcms]
*[http://download.adobe.com/pub/adobe/iccprofiles/win/AdobeICCProfiles_end-user.zip Adobe ICC profiles]
*[http://www.blackfiveservices.co.uk/separate.shtml Separate plugin source]

'''Related article:'''
*[[Using lprof to profile monitors]]
}}

This is the best we can do with current ArchWiki setup. It would be even better if we could list categories in the box, as well as i18n links.

Offline

#2 2006-11-28 17:02:16

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: ArchWiki: suggestion for a new page layout

Looks nice, though I spot one tiny mistake, your link to gimp.org says "The GIMP The GIMP".


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#3 2006-11-28 17:16:19

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: ArchWiki: suggestion for a new page layout

[vEX] wrote:

I spot one tiny mistake, your link to gimp.org says "The GIMP The GIMP"

Heheh... fixed  :oops:

Anyway, I added a heading for translations, because the i18n template cannot be nested inside this layout.

I will try to create a template for this as soon as I find out more about creating templates.

Offline

#4 2006-11-28 17:36:18

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: ArchWiki: suggestion for a new page layout

Doesn't display correctly in IE tongue

Offline

#5 2006-11-28 17:48:38

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: ArchWiki: suggestion for a new page layout

dtw wrote:

Doesn't display correctly in IE tongue

I've been tinkering with the templates. It's fixed now, I think.

Anyway, the templates used for the job can be seen from the code:

{{Article summary start}}
{{Article summary text|This article will show how to enable rudimentary CMYK support in The GIMP using the Separate plug-in, and explain how to use color proof filter to soft-proof your images. It will also cover more general topics on CMYK colors and DTP.}}
{{Article summary heading|Translations}}
{{i18n_entry|Deutsch|CMYK support in The GIMP(Deutsch)}}
{{i18n_entry|English|CMYK support in The GIMP}}
{{i18n_entry|Español|CMYK support in The GIMP(Español)}}
{{i18n_entry|Finnish|CMYK support in The GIMP(Suomi)}}
{{i18n_entry|Français|CMYK support in The GIMP(Français)}}
{{i18n_entry|Nederlands|CMYK support in The GIMP(Nederlands)}}
{{Article summary heading|Required software}}
{{Article summary link|The GIMP (v2.0 and above)|http://www.gimp.org/}}
{{Article summary link|lcms (v1.15 ?)|http://www.littlecms.com/}}
{{Article summary link|Separate plugin (v0.10 and above ?)|http://www.blackfiveservices.co.uk/separate.shtml}}
{{Article summary heading|Related articles}}
{{Article summary wiki|Using lprof to profile monitors}}
{{Article summary end}}

As you can see, it's a bit more typing than before, but it sure looks better. I might shorten the names for the templates. I wanted to make them memorable so they are a bit long.

As you can see, the problem of i18n links integration was fixed, so you can use existing i18n template and combine with the new "Article summary" set.

I will modify the article about writing summaries to include those templates and examples.

EDIT:  :oops:  the i18n links in the article are just examples. Don't use them, since they lead to non-existing pages.

EDIT2: Okay, I've played around with the appearance of the summary box, but I'm at work now, so it's going nowhere. I'll play with it some more when I get home.

Offline

#6 2006-11-28 19:41:11

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: ArchWiki: suggestion for a new page layout

Looks good in Firefox and IE7 smile

Offline

#7 2006-11-28 19:56:43

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: ArchWiki: suggestion for a new page layout

Looks good! I Like it.  Using Opera

Offline

#8 2006-11-28 20:00:23

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: ArchWiki: suggestion for a new page layout

I'd like to see some space betwenn the headings and the text itself.

hightower

Offline

#9 2006-11-28 20:06:10

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: ArchWiki: suggestion for a new page layout

hightower wrote:

I'd like to see some space betwenn the headings and the text itself.

hightower, I'm working on it. But it's been so long since I did any HTML+CSS, so I'll have to do some reading and re-reading first... tongue

Offline

#10 2006-11-28 20:41:54

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: ArchWiki: suggestion for a new page layout

The "padding" for the fields is defined only for the left and right side. For example, you could define a general padding: 5px - only a suggestion.

hightower

Offline

#11 2006-11-28 21:08:21

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: ArchWiki: suggestion for a new page layout

hightower wrote:

The "padding" for the fields is defined only for the left and right side. For example, you could define a general padding: 5px - only a suggestion.

hightower

Yes, but the lists (such as the translation list, or the list of related articles) are made up of individual cells. Increasing the padding for all those cells would increase the distance between items, so they look waaay too separated.

If I could define the distance between top cell and heading (like margin, which unfortunately doesn't work at all) that'd be nice. sad

EDIT: The strange part is that it looks better in Konqueror, even without the extra padding.

EDIT: Okay, I seem to have gotten around it... by separating the cells and not using borders at all. Looks better to me.

BTW, the main style sheet could be edited to give ArchWiki about +4px padding to all headers. That would SIGNIFICANTLY improve readability.

Offline

#12 2006-11-29 10:48:21

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Re: ArchWiki: suggestion for a new page layout

The article on writing article overviews has been updated to include instructions for the summary box:

http://wiki.archlinux.org/index.php/Wri … Formatting

Offline

Board footer

Powered by FluxBB