From GamingWiki
Line 5: | Line 5: | ||
If this page is a "character in campaign" page, and if there exists a navigation template, include it here. | If this page is a "character in campaign" page, and if there exists a navigation template, include it here. | ||
− | -->{{#if: {{#vardefineecho:campaign|{{#show: {{PAGENAME}} | ?PC in campaign }}}} |<!-- | + | -->{{#if: {{#vardefineecho:campaign|{{#show: {{PAGENAME}} | ?PC in campaign | link=none }}}} |<!-- |
-->here: "{{#var:campaign}}"<!-- | -->here: "{{#var:campaign}}"<!-- | ||
-->{{SMW campaign characters box | {{#var:campaign}} }}<!-- | -->{{SMW campaign characters box | {{#var:campaign}} }}<!-- |
Revision as of 18:41, 6 May 2014
This template detects whether the current page has an associated navigation template and, if so, renders it. This is done automagically in MediaWiki:Hf-nsfooter-, so the page itself doesn't need to include it.
Todo:
- campaign nav box
- location nav box
- others
- smarter conditional logic