From GamingWiki
Line 6: | Line 6: | ||
--><!-- {{#if: {{#vardefineecho:campaign|{{#show: {{PAGENAME}} | ?is in campaign | link=none }}}} | --><!-- | --><!-- {{#if: {{#vardefineecho:campaign|{{#show: {{PAGENAME}} | ?is in campaign | link=none }}}} | --><!-- | ||
− | -->{{SMW campaign box | {{#show: {{PAGENAME}} | ?is in campaign | link=none }} }}<!-- | + | -->{{SMW campaign box | {{#show: {{PAGENAME}} | ?is in campaign | link=none | limit=1 }} }}<!-- |
--><!--}}--><!-- | --><!--}}--><!-- | ||
Latest revision as of 18:33, 25 January 2016
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