PageStyle

Revision 21 as of 2016-11-16 18:32:50

Clear message

Page Style


UI Elements


To ensure consistent style across this wiki, every page should share the same UI elements.

Do this manually, if you want to be sad. Sad :(

Or, put the following code at the top your page, and be happy! Smile :)


<<Include(UbuntuGNOME/Header)>>


Table of Translations

Add to the table of translations:

<tablestyle="margin: 0 0 2.5rem 0 !important;">


Table of Contents

||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem 1.25rem 1.5rem; line-height: 200%;"><<TableOfContents>>||


Ordering of Elements

  1. Header
  2. Table of Translations (if applicable)
  3. Table of Contents

Like so:

<<Include(UbuntuGNOME/Header)>>

||<tablestyle="margin: 0 0 2.5rem 0 !important;">[[URL | LANGUAGE 1]]||[[URL | LANGUAGE 2]]||...||

||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem 1.25rem 1.5rem; line-height: 200%;"><<TableOfContents>>||


Section Headings


In lieu of editing the CSS, use <<BR>>s (line-breaks) to create proper vertical whitespace around headings:

= Heading 1 =
<<BR>>
# text

<<BR>>
== Heading 2 ==
<<BR>>
# text

<<BR>>
=== Heading 3 ===
# text



Always put two line-breaks at the end of the page:

# text text text
# the end
<<BR>><<BR>>