From GamingWiki
(14 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Initial queries | Initial queries | ||
− | -->{{#vardefine: campaign | {{{campaign<noinclude>| | + | -->{{#vardefine: campaign | {{{campaign|{{{1<noinclude>|Steel Town</noinclude>}}} }}} }}<!-- |
− | -->{{#vardefine: campaignimage | {{#ask: [[{{#var:campaign}}]] | mainlabel= | ?image= | link=none }} }}<!-- | + | -->{{#vardefine: campaignimage | <!--{{#ask: [[{{#var:campaign}}]] | mainlabel=- | ?image= | link=none }}--> }}<!-- |
− | -->{{ | + | -->{{#hashdefine:paramHash}}<!-- |
+ | -->{{#hashinclude: paramHash | ||
| title = Characters in [[{{#var:campaign}}]] | | title = Characters in [[{{#var:campaign}}]] | ||
| template name = {{{template name|Campaign characters box}}} | | template name = {{{template name|Campaign characters box}}} | ||
− | | | + | | collapse_state = <includeonly>{{{1|autocollapse}}}</includeonly><noinclude>expanded</noinclude> |
− | <includeonly> | + | }}<!-- |
− | + | -->{{#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= }}<!-- | |
− | {{#arraydefine: | + | -->|::}}<!-- |
− | + | -->{{#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 |<!-- | |
− | {{#arraydefine: | + | -->{{#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$]] }} | |
− | -->{{# | + | }}<!-- |
− | + | -->}}<!-- | |
− | |||
− | |||
− | -->}}<!-- | + | |
− | -->< | + | --><!-- {{#hashprint: paramHash}} --><!-- |
+ | -->{{#hashtotemplate:Campaign navigation box | paramHash }} <!-- --> |
Latest revision as of 18:22, 13 January 2016
|