NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand/Collapse Image

Expand Confluence Macro

 

Expand
titleClick here to show/hide image.

 

...

Thumbnail Image

Trial Data Verification page in CTRPImage Added

Site Generator Features

Thumbnail in DocDock Markdown

The following code block demonstrates implementation of the Expand shortcode a thumbnail for Hugo DockDock, as described in Resizing image:

Code Block
languagexml
1. Click the **Search Clinical Trials** tab. Or, on the toolbar, click **Search** > **Clinical Trials**. The Search Clinical Trials page appears.
{{%expand "Click for Screen Shot" %}}
![Search Clinical Trials page](https://wiki.nci.nih.gov/download/attachments/333338131/trial-search.png)
{{% /expand%}}?height=80px)
1. In the various fields, specify one or more search criteria.

The above code produces the following results:

  • By default, the image is hidden:
    With Expand shortcode, by default, screen shot is hidden.Image Removed
  • After the initial click, the image is visible:
    With Expand shortcode, after initial click, the screenshot is visible.Image Removed

Thumbnail Image

Thumbnail in Confluence

Trial Data Verification page in CTRPImage Removed

...

  • appears as indicated in the HTTP parameter: 
    The image appears as indicated in the HTTP parameter.Image Added
  • After click, the image expands to fill the window.

Presentation / Slideshow

Office Powerpoint macro

Office Powerpoint
name2017-12-21 SEER VTR meeting.pptx

Expand as DocDock Shortcode Markdown

The following code block demonstrates implementation of a thumbnail the Expand shortcode for Hugo DockDock, as described in Resizing image:

Code Block
languagexml
1. Click the **Search Clinical Trials** tab. Or, on the toolbar, click **Search** > **Clinical Trials**. The Search Clinical Trials page appears.
{{%expand "Click for Screen Shot" %}}
![Search Clinical Trials page](https://wiki.nci.nih.gov/download/attachments/333338131/trial-search.png?height=80px)
{{% /expand%}}
1. In the various fields, specify one or more search criteria.

The above code produces the following results:

  • By default, the image appears as indicated in the HTTP parameter:
    The image appears as indicated in the HTTP parameter.Image Removed
  • After click, the image expands to fill the window.

Presentation / Slideshow

Office Powerpoint macro

Office Powerpoint
name2017-12-21 SEER VTR meeting.pptx

Site Generator Features

  • is hidden: 
    With Expand shortcode, by default, screen shot is hidden.Image Added
  • After the initial click, the image is visible:
    With Expand shortcode, after initial click, the screenshot is visible.Image Added

Markdown via Slide Show (S9)

Markdown to Presentation / Slideshow lists some tools for using markdown to create presentations or slideshows. The following files demonstrate one of them, Slide Show (S9):

Markdown Flowchart via DocDock Mermaid Shortcode

...

Code Block
languagexml
graph TD;
    A(Start) --> B
    B[Submitter submits trial.] --> |Trial has Submitted status.| C{Submission complete?}
    C -->|No| D[CTRO asks submitter for information.]
    D -->|Trial is on hold.| E[Submitter provides requested information.]
    E -->|Trial is off hold.| C
    C -->|Yes| F(End)

Markdown via Slide Show (S9)

Markdown to Presentation / Slideshow lists some tools for using markdown to create presentations or slideshows. The following files demonstrate one of them, Slide Show (S9):

...