Project

General

Profile

Actions

2019 09 September » History » Revision 8

« Previous | Revision 8/12 (diff) | Next »
Thomas Hedberg, 09/03/2019 01:19 PM


{{>toc}}

hello_world
Sample macro.
macro_list
Displays a list of all available macros, including description if available.
child_pages
Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

{{child_pages}} -- can be used from a wiki page only
{{child_pages(depth=2)}} -- display 2 levels nesting only
{{child_pages(Foo)}} -- lists all children of page Foo
{{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo
include
Includes a wiki page. Examples:

{{include(Foo)}}
{{include(projectname:Foo)}} -- to include a page of a specific project wiki
collapse
Inserts of collapsed block of text. Examples:

{{collapse
This is a block of text that is collapsed by default.
It can be expanded by clicking a link.
}}

{{collapse(View details...)
With custom link text.
}}
thumbnail
Displays a clickable thumbnail of an attached image.
Default size is 200 pixels. Examples:

{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Thumbnail)}} -- with custom title and size
issue
  Create a link to issue with the subject of this issue.

  Syntax:

     {{issue(URL [, format=USER_FORMAT, id=ID, note_id=NOTE_ID)}}
     URL is URL to issue
     USER_FORMATS
     - text
     - short
     - link (default)
     - full
     ID is issue
     NOTE_ID is note id, if you want to display it

  Examples:

     {{issue(1)}}
     ...Link to issue with id and subject
     {{issue(http://myredmine.url/issues/1)}}
     ...Link to issue with id and subject
     {{issue(http://myredmine.url/issues/1#note-3)}}
     ...Link to issue with id and subject and display comment 3
     {{issue(1, format=short)}}
     ...Link to issue with subject (without id)
     {{issue(1, format=text)}}
     ...Display subject name
     {{issue(1, format=full)}}
     ...Link to issue with track, issue id and subject
include_page
Includes a wiki page for a version. Examples:

{{include_page(Foo[,version])}}
{{include_page(projectname:Foo[,version])}} -- to include a page of a specific project wiki at a version
cryptocompare
  Create CryptoCompare information.
    {{cryptocompare(options)}}
  see https://additionals.readthedocs.io/en/latest/macros/#cryptocompare
date
  Show date.

  Syntax:

     {{date([TYPE])}}
     TYPE
     - current_date           current date (default)
     - current_date_with_time current date with time
     - current_year           current year
     - current_month          current month
     - current_day            current day
     - current_hour           current hour
     - current_minute         current minute
     - current_weekday        current weekday
     - current_weeknumber     current week number (1 - 52) The week starts with Monday
     - YYYY-MM-DD             e.g. 2018-12-24, which will formated with Redmine date format

   Examples:

      {{date}}
      ...show current date
      {{date(current_year)}}
      ...show current year
      {{date(current_month)}}
      ...show current month
      {{date(current_weeknumber)}}
      ...show current week number
fa
  Show Font Awesome icon.

  Syntax:

     {{fa(ICON [, class=CLASS, title=TITLE, text=TEXT size=SIZE, color=COLOR)}}
     ICON of fontawesome icon, eg. fa-adjust
     CLASS = additional css classes
     TITLE = mouseover title
     TEXT = Text to show
     LINK = Link icon and text (if specified) to this URL
     COLOR = css color code

  Examples:

     {{fa(adjust)}}
     ...show fontawesome icon "fas fa-adjust"
     {{fa(adjust, class=fa-inverse)}}
      ...show fontawesome icon "fas fa-stack" and inverse
     {{fa(adjust, size=4x)}}
       ...show fontawesome icon "fas fa-adjust" with size 4x
     {{fa(fas_adjust, title=Show icon)}}
     ...show fontawesome icon "fas fa-adjust" with title "Show icon"
     {{fa(fab_angellist)}}
     ...Show fontawesome icon "fab fa-angellist"
     {{fa(adjust, link=https=//www.redmine.org))}}
     ...Show fontawesome icon "fas fa-adjust" and link it to https://www.redmine.org
     {{fa(adjust, link=https=//www.redmine.de, name=Go to Redmine.org))}}
     ...Show fontawesome icon "fas fa-adjust" with name "Go to Redmine.org" and link it to https://www.redmine.org
gist
gist embed
gmap
  Display a google map.  Examples:

  Syntax:

  {{gmap([q=QUERY, mode=MODE, width=216, height=368])}}

  Examples:

    {{gmap(Munich)}} Google maps with Munich

    {{gmap(mode=directions, origin=Munich+Rosenheimerstr, destination=Arco)}} Direction from Munich to Arco
google_docs
  Google docs macro to include Google documents.

  Syntax:

    {{google_docs(<link> [, width=100%, height=485, edit_link=LINK)}}

  Examples:

    {{google_docs(https://docs.google.com/spreadsheets/d/e/2PACX-1vQL__Vgu0Y0f-P__GJ9kpUmQ0S-HG56ni_b-x4WpWxzGIGXh3X6A587SeqvJDpH42rDmWVZoUN07VGE/pubhtml)}
    {{google_docs(https://docs.google.com/spreadsheets/d/e/2PACX-1vQL__Vgu0Y0f-P__GJ9kpUmQ0S-HG56ni_b-x4WpWxzGIGXh3X6A587SeqvJDpH42rDmWVZoUN07VGE/pubhtml, width=514, height=422)}
group_users
  Display users of group.

  Syntax:

    {{group_users(GROUP_NAME}}

  Examples:

    {{group_users(Team)}}
    ...List all users in user group "Team" (with the current user permission)
iframe
  Include iframe

  Syntax:

    {{iframe(<url> [, width=100%, height=485)}}

  Examples:

    show iframe of URL https://www.google.com/
    {{iframe(https://www.google.com/)}}

    show iframe of URL https://www.google.com/ and show link to it
    {{iframe(https://www.google.com/, with_link: true)}}
redmine_issue
  Creates link to redmine.org issue.
    {{redmine_issue(1448)}}
redmine_wiki
  Creates link to redmine.org wiki page.
    {{redmine_wiki(Installing Redmine)}}
last_updated_at
  Displays a date that updated the page.
    {{last_updated_at}}
    {{last_updated_at(project_name, wiki_page)}}
    {{last_updated_at(project_identifier, wiki_page)}}
last_updated_by
  Displays a user who updated the page.
    {{last_updated_by}}
meteoblue
  Display current weather from meteoblue service.  Examples:

  Syntax:

  {{meteoblue(<location> [, days=INT, width=216, height=368, color=BOOL])}}

  Examples:

    {{meteoblue(münchen_deutschland_2867714)}}       weather for Munich

    {{meteoblue(münchen_deutschland_2867714, days=6, color=false)}} weather for Munich of the next 6 days without color
members
  Display members.

  Syntax:

    {{members([PROJECT_NAME, title=My members list, role=ROLE, with_sum=BOOL)]}}

    PROJECT_NAME can be project identifier, project name or project id

  Examples:

    {{members}}
    ...List all members for all projects (with the current user permission)

    {{members(with_sum=true)}}
    ...List all members for all projects and show title with amount of members

    {{members(the-identifier)}}
    ...A box showing all members for the project with the identifier of 'the-identifier'

    {{members(the-identifier, role=Manager)}}
    ...A box showing all members for the project with the identifier of 'the-identifier', which
    have the role "Manager"

    {{members(the-identifier, title=My user list)}}
    ...A box showing all members for the project with the identifier of 'the-identifier' and with
    box title "My user list"
new_issue
  Create a link for "New issue" for the current user.

  Syntax:

     {{new_issue([PROJECT_NAME, name=Custom name]}}

     PROJECT_NAME can be project identifier, project name or project id.

     If no PROJECT_NAME is specified, first project is used, which the current user
     has permission to create an issue.

  Examples:

     {{new_issue}}
     ...Link to create new issue in first available project
     {{new_issue(the-identifier)}}
     ...Link to create new issue in project with the identifier of 'the-identifier'
     {{new_issue(the-identifier, title=New issue for broken displays)}}
     ...Link to create new issue in project with the identifier of 'the-identifier'
        and the name 'New issue for broken displays'
projects
  Display projects.

  Syntax:

    {{projects([title=My project list, with_create_issue=BOOL])}}

  Examples:

    {{projects}}
    ...List all project, which I am member of

    {{projects(title=My project list)}}
    ...List all project with title "My project list", which I am member of

    {{projects(with_create_issue=true)}}
    ...List all project with link to create new issue, which I am member of
recently_updated
  Displays a list of pages that were updated recently.
    {{recently_updated}}
    {{recently_updated([days])}}

  Examples:

    {{recently_updated}}
    ...List last updated pages (of the last 5 days)

    {{recently_updated(15)}}
    ...List last updated pages of the last 15 days
reddit
  Creates link to reddit.
    {{reddit(name)}}
slideshare
  Slideshare macro to include Slideshare slide.

  Syntax:

    {{slideshare(<key> [, width=595, height=485, slide=SLIDE])}}

  Examples:

    {{slideshare(57941706)}} show slideshare slide with default size 595x485
    {{slideshare(57941706, width=514, height=422)}} show slide with user defined size
    {{slideshare(57941706, slide=5)}} start with slide (page) 5
tradingview
  Creates Tradingview chart
    {{tradingview(options)}}
  see https://additionals.readthedocs.io/en/latest/macros/#tradingview
twitter
  Creates link to twitter account page or topic.
    {{twitter(name)}}
user
Display link to user profile

Syntax:

{{user(USER_NAME [, format=USER_FORMAT, avatar=BOOL])}}

USER_NAME can be user id or user name (login name)
USER_FORMATS
- system (use system settings) (default)
- firstname_lastname
- firstname_lastinitial
- firstinitial_lastname
- firstname
- lastname_firstname
- lastnamefirstname
- lastname_comma_firstname
- lastname
- username

Examples:

{{user(1)}}
...Link to user with user id 1

{{user(1, avatar=true)}}
...Link to user with user id 1 with avatar

{{user(admin)}}
...Link to user with username 'admin'

{{user(admin, format=firstname)}}
...Link to user with username 'admin' and show firstname as link text
vimeo
  Vimeo macro to include vimeo video.

  Syntax:

    {{vimeo(<video key> [, width=640, height=360, autoplay=BOOL])}}

  Examples:

    {{vimeo(142849533)}} show video with default size 640x360
    {{vimeo(142849533, width=853, height=480)}} show video with user defined size
    {{vimeo(142849533, autoplay=true)}} autoplay video
youtube
  Youtube macro to include youtube video.

  Syntax:

    {{youtube(<video key> [, width=640, height=360, autoplay=BOOL])}}

  Examples:

    {{youtube(KMU0tzLwhbE)}} show video with default size 640x360
    {{youtube(KMU0tzLwhbE, width=853, height=480)}} show video with user defined size
    {{youtube(KMU0tzLwhbE, autoplay=true)}} autoplay video
asciinema
asciinema embed

ASME MODEL-BASED ENTERPRISE

STANDARDS COMMITTEE NEWSLETTER

1 September 2019

Hello,

Happy Labor Day!

Welcome to the first issue of the ASME Model-Based Enterprise Standards Committee (MBE SC) newsletter. I’m excited to be writing to you today because over the past few months the MBE SC has been hard at work setting a foundation for all the MBE standards activities that are to come. Since our first meeting in April 2019 at the MBE Summit in Gaithersburg MD, the MBE SC launched two chartered working groups (Terms and Model-Based Standards Development) and set up a near-term strategy team. The working groups will gather for the first time at our in-person meeting in San Antonio in November. The MBE SC is also in the process of approving a third working group.

In addition, the MBE SC agreed to keep the MBE community informed as best as we can on the activities of the committee. That starts today with this newsletter. Going forward, there will be a monthly newsletter to inform the MBE community of our progress and our future plans. In this month’s issue you will learn about the details of the upcoming Fall meeting, the objectives of the two new working groups, and how to possibly be appointed to the MBE Subject-Matter Experts Support Group. Please take a few moments to learn about all the great things happening in MBE.

We hope to see you in San Antonio in November!

Thank you,

Thomas Hedberg, Jr.

Chair, ASME MBE SC

Fall 2019 MBE meeting announced for San Antonio in November

Fall 2019 MBE meeting announced for San Antonio in November

ASME asks interested attendees to complete survey to help with planning.

READ MORE

Subject matter experts support group for MBE established

Alt tag goes here

Interested parties with completed PAF and PF-1 forms may join.

READ MORE

ASME MBE SC launches two working groups

Alt tag goes here

Activities to focus initially on standardizing MBE terms and model-based standards development.

READ MORE

Fb | Tw

Problems or questions?

constantinof@asme.org

ASME • Two Park Avenue • New York, NY 10016

© ASME 2019

Updated by Thomas Hedberg about 5 years ago · 8 revisions

Go to top