From GamingWiki
Line 5: | Line 5: | ||
-->{{#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: [[PC in campaign :: {{#var:campaign}}]] |format=list|sep=::|link=none}}<!-- | |
− | -->{{#ask: [[ | + | -->{{#if: {{{extra PCs|}}} | :: {{{extra PCs}}} }}<!-- |
− | -->{{#if: {{{extra | + | -->|::}}<!-- |
+ | -->{{#hashinclude: paramHash | ||
+ | | group1 = PCs | ||
+ | | list1 = {{#arrayprint:pclist| :: | $pc$ | [[$pc$]] }} | ||
+ | }}<!-- | ||
− | | | + | -->{{#if: <!-- |
− | | | + | -->{{#arraydefine: facelist|<!-- |
+ | -->{{#ask: [[face in campaign :: {{#var:campaign}}]] |format=list|sep=::|link=none}}<!-- | ||
+ | -->{{#if: {{{extra faces|}}} | :: {{{extra faces}}} }}<!-- | ||
+ | -->|::|print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group2 = Faces | ||
+ | | list2 = {{#arrayprint: facelist| :: | $face$ | [[$face]] }}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
− | + | -->{{#if: <!-- | |
− | | | + | -->{{#arraydefine: Mnpclist |<!-- |
− | -->{{#ask: [[ | + | -->{{#ask: [[major NPC in campaign :: {{#var:campaign}}]] |format=list|sep=::|link=none}}<!-- |
− | -->{{#if: {{{extra | + | -->{{#if: {{{extra major NPCs|}}} | :: {{{extra major NPCs}}} }}<!-- |
+ | -->| :: | print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group3 = Major NPCs | ||
+ | | list3 = {{#arrayprint: Mnpclist | :: | $npc$ | [[$npc$]] }}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
− | }} | + | -->{{#if: <!-- |
− | < | + | -->{{#arraydefine: mnpclist |<!-- |
− | -->{{#if:<!-- | + | -->{{#ask: [[minor NPC in campaign :: {{#var:campaign}}]] |?=|format=list|sep=::|link=none}}<!-- |
− | -->{{# | + | -->{{#if: {{{extra minor NPCs|}}} | :: {{{extra minor NPCs}}} }}<!-- |
− | + | -->|::|print=list;}}<!-- | |
− | -->|| | + | -->|<!-- |
+ | -->{{#hashinclude: paramHash | ||
+ | | group4 = Minor NPCs | ||
+ | | list4 = {{#arrayprint: mnpclist | :: | $npc$ | [[$npc$]] }} | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | -->{{#if: <!-- | ||
+ | -->{{#arraydefine: orglist|<!-- | ||
+ | -->{{#ask: [[organization in campaign :: {{#var:campaign}}]] |format=list|sep=::|link=none}}<!-- | ||
+ | -->{{#if: {{{extra organizations|}}} | :: {{{extra organizations}}} }}<!-- | ||
+ | -->|::|print=list}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#hashinclude: paramHash | ||
+ | | group5 = Groups and organizations | ||
+ | | list5 = {{#arrayprint: orglist | :: | $org$ | [[$org$]] }} | ||
+ | }}<!-- | ||
+ | -->}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->}} | + | -->{{#hashtotemplate:Campaign navigation box | paramHash }} |
− |
Revision as of 04:32, 16 April 2011
|