You are not logged in.
Pages: 1
I have created two new templates for ArchWiki writers. Those are HintBox and WarningBox templates. The usage is simple.
For hint box:
{{HintBox|Your hint text}}
{{WarningBox|Your warning text}}
HintBox and WarningBox create a grey box around the text with yellow and red borders respectively.
If you have suggestions about the style of these boxes, please post them here.
Offline
I like the boxes, but it seems like the HintBox is somehow wider (on the right side) than the other boxes or the WarningBox.
The yellow border of the HintBox is too agressive, too fat... IMO
Example Page
Haven't been here in a while. Still rocking Arch.
Offline
I have just modifed it. Just now. So, the two boxes should be equal width now. However, one reason for the boxes to be 80% width instead of 100% is to make them stand out.
The underlying markup is as follows:
<div style="border: 1px #F99 solid; background: #EEE; padding: 5px; width: 80%; margin: 15px 0;">{{{1}}}</div>
EDIT:
BTW, I have created the boxes in order to translate the official Instalation Guide. The guide makes extensive (if not excessive) use of such boxes. But I made the boxes look a little bit different and closer to ArchWiki theme.
Last edited by foxbunny (2007-03-15 12:59:50)
Offline
Thats a lot better now! (You also made the grey of the HintBox background brighter, didn't you? Looks good!)
Nice work foxbunny!
edit: I just saw you changed it to the same brightness level of the other boxes, I think they could be as dark as before but I don't mind.
Last edited by Sigi (2007-03-15 13:01:09)
Haven't been here in a while. Still rocking Arch.
Offline
Thanks. But be warned. There is a bug. I don't think it's the template, but probably the wiki software itself.
Look at one of the pages. Instead of the actual content of the box, the variable holder ("{{{1}}}") is displayed. If anyone finds out why this is happening, or better yet, a way around this, please tell us.
Offline
edit: I just saw you changed it to the same brightness level of the other boxes, I think they could be as dark as before but I don't mind.
You are right. I changed it back to what it was.
Offline
Pages: 1