From GamingWiki
Line 1: | Line 1: | ||
− | + | <!-- | |
+ | |||
+ | Initial queries | ||
+ | -->{{#vardefine: campaign | {{{campaign|{{{1<noinclude>|Steel Town</noinclude>}}} }}} }}<!-- | ||
+ | -->{{#vardefine: campaignimage | <!--{{#ask: [[{{#var:campaign}}]] | mainlabel=- | ?image= | link=none }}--> }}<!-- | ||
+ | |||
+ | -->{{#hashdefine:paramHash}}<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | title = [[{{#var:campaign}}]] Navigation | ||
+ | | template name = {{{template name|Campaign box}}} | ||
+ | | collapse_state = <includeonly>{{{1|autocollapse}}}</includeonly><noinclude>expanded</noinclude> | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{#if: {{#var: campaignimage}} | {{#hashinclude: paramHash | image = {{#var: campaignimage}} }} }}<!-- | ||
+ | |||
+ | -->{{#arraydefine: pclist |<!-- | ||
+ | -->{{#ask: [[is PC in campaign :: {{#var:campaign}}]] | format=list | order=asc | sep=:: | link=none | limit=20 | searchlabel= }}<!-- | ||
+ | -->|::}}<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group1 = PCs | ||
+ | | list1 = {{#arrayprint:pclist| :: | $pc$ | [[$pc$]] }} | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{#if: <!-- | ||
+ | -->{{#arraydefine: facelist|<!-- | ||
+ | -->{{#ask: [[face in campaign :: {{#var:campaign}}]] |format=list|order=asc|sep=::|link=none|limit=20|searchlabel=}}<!-- | ||
+ | -->|::|print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group2 = Faces | ||
+ | | list2 = {{#arrayprint: facelist| :: | $face$ | [[$face]] }} | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | -->{{#if: <!-- | ||
+ | -->{{#arraydefine: npclist |<!-- | ||
+ | -->{{#ask: [[NPC in campaign :: {{#var:campaign}}]] |format=list|order=asc|sep=::|link=none|limit=20|searchlabel=}}<!-- | ||
+ | -->| :: | print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group3 = NPCs | ||
+ | | list3 = {{#arrayprint: npclist | :: | $npc$ | [[$npc$]] }} | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
− | <!-- | + | -->{{#if: <!-- |
+ | -->{{#arraydefine: Mnpclist |<!-- | ||
+ | -->{{#ask: [[major NPC in campaign :: {{#var:campaign}}]] |format=list|order=asc|sep=::|link=none|limit=20|searchlabel=}}<!-- | ||
+ | -->| :: | print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group3 = Major NPCs | ||
+ | | list3 = {{#arrayprint: Mnpclist | :: | $npc$ | [[$npc$]] }} | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: <!-- | ||
+ | -->{{#arraydefine: mnpclist |<!-- | ||
+ | -->{{#ask: [[minor NPC in campaign :: {{#var:campaign}}]] |format=list|order=asc|sep=::|link=none|limit=20|searchlabel=}}<!-- | ||
+ | -->|::|print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group4 = Minor NPCs | ||
+ | | list4 = {{#arrayprint: mnpclist | :: | $npc$ | [[$npc$]] }} | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | -->{{#if: <!-- | ||
+ | -->{{#arraydefine: orglist|<!-- | ||
+ | -->{{#ask: [[organization in campaign :: {{#var:campaign}}]] |format=list|order=asc|sep=::|link=none|limit=20|searchlabel=}}<!-- | ||
+ | -->|::|print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group5 = Groups and organizations | ||
+ | | list5 = {{#arrayprint: orglist | :: | $org$ | [[$org$]] }} | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
− | --> | + | -->{{#if: <!-- |
− | -->{{# | + | -->{{#arraydefine: locationlist|<!-- |
− | + | -->{{#ask: [[location in campaign :: {{#var:campaign}}]] |format=list|order=asc|sep=::|link=none|limit=20|searchlabel=}}<!-- | |
− | + | -->|::|print=list}}<!-- | |
− | + | -->|<!-- | |
− | + | -->{{#hashinclude: paramHash | |
+ | | group6 = Locations | ||
+ | | list6 = {{#arrayprint: locationlist | :: | $loc$ | [[$loc$]] }} | ||
+ | }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | |||
− | --> | + | --><!-- {{#hashprint: paramHash}} --><!-- |
+ | -->{{#hashtotemplate:Campaign navigation box | paramHash }} <!-- --> |
Revision as of 15:37, 15 January 2016
|