Changes between Initial Version and Version 1 of User Guide/Wiki Style Guide


Ignore:
Timestamp:
Apr 29, 2020, 8:21:28 PM (5 years ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • User Guide/Wiki Style Guide

    v1 v1  
     1[[TOC(noheading)]]
     2
     3= Wiki Editing Guide
     4
     5For consistent wiki formatting, please following the following style guidelines.
     6
     7== General Guidelines
     8* '''Page Naming'''
     9  * Use a short and descriptive name using CamelCase (eg. `MyPageName`)
     10* '''Headings'''
     11  * Start page titles at depth 1 (ie. `= My Page Title`)
     12    * The number of `=` equals the depth (eg. `===` is depth 3)
     13* '''Links'''
     14  * '''DO NOT''' use full URLs (ie. !http://wiki.cosmos-lab.org/...) when linking to pages within the wiki. Use the [wiki:WikiFormatting#Links WikiPageNames link syntax] instead.
     15  * When linking to pages that are children of the current page, use relative links `[wiki:./page/to/link/to text to display]`
     16
     17== Page Specific Formatting
     18
     19=== Section Pages
     20Pages that are introductory to larger sections that contain many sub pages (eg. the main [wiki:TestbedInformation Testbed Information] page or the [wiki:tutorials Tutorials] page) should use the following as a starting point:
     21
     22{{{
     23[[TOC(SectionPageName/SubsectionPageName/*, depth=2, noheading)]]
     24
     25= Section Title
     26Brief description of the section.
     27}}}
     28
     29'''NOTE:''' Please remember to put the wiki URL corresponding to the page name in the TOC macro. You can see the wiki URL at the top of the page during editing.
     30
     31  ''Example:'' For this page, the top of the page says "''Editing test/ExperimenterInformation/WikiStyleGuide''", so the TOC macro should then be `[[TOC(test/ExperimenterInformation/WikiStyleGuide/*,depth=1)]]`. Don't forget to add the `/*` at the end of the wiki URL.
     32
     33The default TOC depth should be left at 2, unless it makes sense otherwise.
     34
     35=== Individual Pages
     36Individual wiki pages should use the following as a starting point:
     37{{{
     38[[TOC, noheading]]
     39
     40= Page Title
     41Brief description of the page.
     42
     43== Sub Section Title
     44Sub section content.
     45}}}