Thread:Project:Support desk/How to add a header to each page assuming that header should depend on current page name?

Dear colleagues! I have a mediawiki instance at office. It has different adresses if one access to it from office network and from Internet. It is quite boring to send links to the news to my colleagues because I have to manually create one address from another. I thought I created a template which shows those two adresses like this: http://%inner_address%/index.php/ - to access from office http://%outer_address%/index.php/ - to access from outside and then I can just copy this information to clipboard. Template works fine, but I want to place this template at each page of my wiki. I can do it manually but this is not a good way. I tried to put this template into mediawiki:Sitenotice page, but it shows links to mediawiki:Sitenotice page, not to the current... Please answer, is it possible to automatically add this link to all pages and how can one do it?