[Noisebridge-discuss] media wiki syntax how to manual - recommendation

Leif Ryge leif at synthesize.us
Wed Nov 23 18:49:06 UTC 2011


On 11/23/2011 10:12 AM, Frantisek Apfelbeck wrote:
> Greetings,
> Does anyone knows some nice "how to" edit media wiki pages manual? I'm
> trying to find how to "justify" the text and after half an hour of
> search I feel that the failure is near (it took me just two minutes to
> find the same feature for dokuwiki and even less to find "centered"
> syntax option for media wiki).
>
> Thanks for help,
>
> Sincerely,
>
> Frantisek
>
> PS I'm resurrecting my personal webpages and I wold like to play with
> that a bit.
>

There is some documentation for the MediaWiki syntax at 
http://meta.wikimedia.org/wiki/Help:Editing and 
http://meta.wikimedia.org/wiki/Help:Advanced_editing

... but, as far as I know, MediaWiki markup itself does not let you 
adjust the alignment of text (except in tables). However, MediaWiki does 
let you use (a subset of) HTML and CSS, which can easily do what you want:

<div style="text-align:right;">
This text will be aligned to the right.
</div>

<div style="text-align:justify;">
This text will be justified.
</div>

~leif



More information about the Noisebridge-discuss mailing list