ALL HOW TOs




NOTE:  A lot of this can be done directly through the tool bar in the latest version of Confluence.

How to include link to attachment on another page?



Search for all pages I created
  • In search box: creatorName:elr37



Use of Progress Bars
{HTML}
<!--
{include:~elr37:progress_bar_5pct}
{include:~elr37:progress_bar_30pct}
{include:~elr37:progress_bar_50pct}
{include:~elr37:progress_bar_75pct}
{include:~elr37:progress_bar_85pct}
{include:~elr37:progress_bar_95pct}
{include:~elr37:progress_bar_100pct}
-->
{HTML}



Progress

Description

5% complete

30% complete

50% complete

75% complete

85% complete

95% complete

100% complete



Example Status Page (using status include macros)

Minimal:

{include:~elr37:Status Legend}


Common Legend/TOC usage at top of page:

{section}
{column:width=250px}
{include:~elr37:Status Legend}
{HTML}
<!--
{include:~elr37:Status - Complete}
{include:~elr37:Status - Complete Inactive}
{include:~elr37:Status - In Progress}
{include:~elr37:Status - Has Issue}
{include:~elr37:Status - Not Started}
{include:~elr37:Status - Not Supported}
-->
{HTML}
{column}
{column}
*Table of Contents*

{toc}
{column}



NOTE: Don't include a space between HTML and } AND remove spaces from HTML comment tags <!-- and -->. The includes at this point are to make it easier to access the images for use on the page to mark status.



Example Table with colspan secondary headers

How to...

  • Add this include to the page that will use secondary headers...

    {include:~elr37:CSS Extensions}



  • Set up secondary headers in table with...

    || Status || project.xml Phase || project.xml Step {HTML} </tr>
    <tr><td class='confluenceTd level1Td' colspan='3'>Common Workflow</td>
     {HTML} ||
    | DONE | READ | 1 | 
    | DONE | WRITE | 1 {HTML} </tr>
    <tr><td class='confluenceTd level1Td' colspan='3'>Hand BrowseWorkflow</td>
     {HTML} |
    | DONE | READ | 1 | 
    | DONE | WRITE | 1 |



    NOTE: Don't include a space between HTML and }.



Example Table secondary headers without colspan

How to...

  • Add this include to the page that will use secondary headers...

    {include:~elr37:CSS Extensions}



  • Set up secondary headers in table with...

      </tr>
      <tr>
        <td class='confluenceTd level2Td'>Easy</td>
        <td class='confluenceTd level2Td'>Pulse</td>
        <td class='confluenceTd level2Td'></td>
        <td class='confluenceTd level2Td'>Broad Band Spike</td>
        <td class='confluenceTd level2Td'>Narrow Time Interval</td>
        <td class='confluenceTd level2Td'></td>
        <td class='confluenceTd level2Td'></td>
      </tr>



How to add formatting with HTML tags inside a code block?

You can't with

macro.

But you can by using the following syntax...

{panel:borderColor=#333333|borderStyle=dashed|bgColor=white}{html}<pre>normal code
  <b><font color="red">highlighted code</font></b>
more normal code
</pre>{html}{panel}

Which produces...




How to add a header to all pages in a space?

With space admin privileges, but without site admin privileges...

  • LHS menu -> bottom -> Space tools -> Look and Feel -> Stylesheet

  • #main-content {
        padding-top: 25px;
        background-image: url("http://my.image.com");
        background-repeat: no-repeat;
    }
    





  • No labels