Dmitry Teslenko | 7 May 15:56
Picon

Tables

Hello!
What options I'm to set for tables on a page to make them follow
mediawiki's style (e.g. look like contents section)?
Picon
Favicon

Re: Tables

Hi Dmitry,

You can always look at the table you want yours to look like and mimic
that.  For instance, if you wanted this table's style
http://www.mediawiki.org/wiki/Manual:Hooks#Hooks_grouped_by_function
Copy it's first line:
{| border="1" cellpadding="5" cellspacing=0

Good luck,
-Courtney

-----Original Message-----
From: mediawiki-l-bounces@...
[mailto:mediawiki-l-bounces@...] On Behalf Of Dmitry
Teslenko
Sent: Wednesday, May 07, 2008 10:00 AM
To: mediawiki-l@...
Subject: [Mediawiki-l] Tables

Hello!
What options I'm to set for tables on a page to make them follow
mediawiki's style (e.g. look like contents section)?

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Dmitry Teslenko | 9 May 08:04
Picon

Re: Tables

On Thu, May 8, 2008 at 8:26 PM, Christensen, Courtney
<ChristensenC@...> wrote:
> You can always look at the table you want yours to look like and mimic
> that.  For instance, if you wanted this table's style
> http://www.mediawiki.org/wiki/Manual:Hooks#Hooks_grouped_by_function
> Copy it's first line:
> {| border="1" cellpadding="5" cellspacing=0

And how about page "contents" section? I can't see its source text.
It's not a table also, but its look I want to mimic.
Picon
Favicon

Re: Tables

>And how about page "contents" section? I can't see its source text.
>It's not a table also, but its look I want to mimic.

If the style is not in the wikitext of a page it is in either the
main.css file for the skin, or in the common.css file for the skin.  If
you have access to the wiki folder structure the main.css file should be
in /skins/≤skin_name>/main.css
You can find common at [[<wikiName>:Common.css]]
If you view the source of the table of contents you can see that it is
styled by "toc" ids and classes.  I'm pretty sure those are in
monobook/main.css

Hope that helped.
-Courtney

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Gmane