Pass string into "include page"

Christopher Grahams
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2016

I have a template page that has something like this:

Position : Supervisor

Company : <company-name>

....Other fields

Now, I will include this page inside multiple pages, but each page will pass different company name and I want it reflected in the included page. How do I do this?

Thanks

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 14, 2016

The "include" macro does not have functions like that, it simply includes the whole source page.

You'll need to find/write a new macro (I think a user macro might be able to do this) which can display something that varies according to the parent page, bearing in mind that when you use it on the source page, it's not going to have that data.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events