> For the complete documentation index, see [llms.txt](https://olab4.gitbook.io/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://olab4.gitbook.io/help/advanced-topics/shortcodes.md).

# Shortcodes

Shortcodes, also known as wikirefs, are those funny little entries that you will see when working with the OLab4 Designer. For example, \[\[MR:234]] or \[\[QU:2345]].&#x20;

## List of shortcodes

{% embed url="<https://docs.google.com/spreadsheets/d/1mIpsytCl1dwzmBeK-Ferge2gFUfNPEpkVTedkFka26Q/edit?usp=sharing>" %}
Example shortcodes or wikirefs in OLab4
{% endembed %}

## What's new in OLab4?

### Scope

Many shortcodes refer to [Scoped Objects](/help/basic-topics/objects.md#scope_for_objects). The idea of Scope is that you can share such objects, and their shortcodes, across many different Maps. Scope can be

* Global-level: shared across all instances of OLab. Part of the distro.&#x20;
* Server-level: shared across this OLab server with all maps, nodes etc.
* Course-level:TBD
* Map-level: shared within this map but not beyond. (OLab3 objects were usually map-level.)
* Node-level: local to this Node; if another of same name is in map, the values are not retained

### Friendly names

In OLab3, you had to use the ID number of the object, which was not very user-friendly. Scoped Objects now have friendly names and you can use these (or the ID number) to refer to an Object.&#x20;

The naming of Objects is quite flexible but there are some things to be aware. Check out the Objects section of the Help guide for more information about this.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://olab4.gitbook.io/help/advanced-topics/shortcodes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
