PageStyle

Differences between revisions 19 and 20
Revision 19 as of 2016-11-16 18:27:07
Size: 1817
Editor: awjinahn
Comment:
Revision 20 as of 2016-11-16 18:28:45
Size: 1862
Editor: awjinahn
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem; line-height: 200%;"><<TableOfContents>>|| ||<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>>||
Line 32: Line 32:
||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem; line-height: 200%;"><<TableOfContents>>|| ||<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>>||
Line 47: Line 47:
||<tablestyle="float: right; width: 40%; margin: 1rem 0 1rem 1rem; background: #FFF;" style="padding: 1rem 1.5rem; line-height: 200%;"><<TableOfContents>>|| ||<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>>||

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, like so:

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



UbuntuGNOME/PageStyle (last edited 2016-11-16 18:32:50 by awjinahn)