From GamingWiki
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
+ | --><onlyinclude><!-- | ||
-->{{#parameterstohash:paramHash}}<!-- | -->{{#parameterstohash:paramHash}}<!-- | ||
-->{{#hashinclude:paramHash|touch=1}}<!-- | -->{{#hashinclude:paramHash|touch=1}}<!-- | ||
− | -->{{#hashkeyexists: paramHash | name || {{#hashinclude:paramHash|name={{PAGENAME}}}} }}<!-- | + | -->{{#if:{{#hashkeyexists: paramHash|name}}|| {{#hashinclude:paramHash|name={{PAGENAME}}}} }}<!-- |
-->{{#hashtotemplate: Character sheet/Organization |paramHash}}<!-- | -->{{#hashtotemplate: Character sheet/Organization |paramHash}}<!-- | ||
If there is a description page, we include it here. Otherwise | If there is a description page, we include it here. Otherwise | ||
we use the `description' parameter. | we use the `description' parameter. | ||
+ | -->{{#vardefine: descpage | {{#ifexist: {{FULLPAGENAME}}/description|{{FULLPAGENAME}}/description}} }}<!-- | ||
--> | --> | ||
− | {{# | + | {{#if: {{#var: descpage}} | [[{{#var:descpage|:PC}}]]|{{{description|}}} }} |
<!-- | <!-- | ||
+ | --></onlyinclude><!-- | ||
− | |||
--> | --> | ||
− |