Skip to content

Confluence

E. Lynette Rayle edited this page Mar 2, 2022 · 2 revisions

How to include link to attachment on another page?

Linking to Attachments (Confluence Documentation)

Search for all pages I created

In search box: creatorName:elr37

Use of Progress Bars

This requires the pages that have the progress bar to be defined first. There are better ways to do this now with GitHub tools.

{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
image 5% complete
image 30% complete
image 50% complete
image 75% complete
image 85% complete
image 95% complete
image 100% complete
Progress Description
image Complete
image Complete Inactive
image In Progress
image Has Issue
image Not Started
image Not Supported

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 . 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}

Common Workflow {HTML} || | DONE | READ | 1 | | DONE | WRITE | 1 {HTML} Hand BrowseWorkflow {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

{code}

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...

image

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;
}