From GamingWiki
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
− | -->{{#vardefine: campaign | {{{campaign | | + | -->{{#vardefine: campaign | {{{campaign | }}} }}<!-- |
− | -->{{#vardefine: name | {{{name | | + | -->{{#vardefine: name | {{{name | }}} }}<!-- |
-->{{#vardefine: cols | {{{columns | 2 }}} }}<!-- | -->{{#vardefine: cols | {{{columns | 2 }}} }}<!-- | ||
Line 13: | Line 13: | ||
If the campaign is specified we put it in the header | If the campaign is specified we put it in the header | ||
-->{{Character sheet/section | columns = {{#var:cols}} | -->{{Character sheet/section | columns = {{#var:cols}} | ||
− | | header = {{#var:name}} <div class="campaign">[[{{#var:campaign}}]]</div><!-- | + | | header = <!-- |
+ | -->{{#var:name | [[Property: Name]]}} <!-- | ||
+ | --><div class="campaign">[[{{#var:campaign | Property: Campaign}}]]</div><!-- | ||
-->}}<!-- end section --><!-- | -->}}<!-- end section --><!-- | ||
ASPECTS | ASPECTS | ||
− | -->{{#if: {{#arraydefine: aspectsarray | {{{aspects | + | -->{{#if: {{#arraydefine: aspectsarray | {{{aspects|}}} | ;; | print=list}}|<!-- |
-->{{Character sheet/section | columns = {{#var:cols}} | -->{{Character sheet/section | columns = {{#var:cols}} | ||
| subhead = Aspects | | subhead = Aspects | ||
Line 41: | Line 43: | ||
LEADERS | LEADERS | ||
-->{{#arrayreset:dataarray}}<!-- | -->{{#arrayreset:dataarray}}<!-- | ||
− | -->{{#if: {{#arraydefine: dataarray | {{{leaders|}}} | | + | -->{{#if: {{#arraydefine: dataarray | {{{leaders|}}} | ; | print=list}}|<!-- |
-->{{Character sheet/section | columns = {{#var:cols}} | -->{{Character sheet/section | columns = {{#var:cols}} | ||
| label1 = Leaders | | label1 = Leaders | ||
Line 58: | Line 60: | ||
MEMBERS | MEMBERS | ||
-->{{#arrayreset:dataarray}}<!-- | -->{{#arrayreset:dataarray}}<!-- | ||
− | -->{{#if: {{#arraydefine: dataarray | {{{members|}}} | | + | -->{{#if: {{#arraydefine: dataarray | {{{members|}}} | ; |print=list}}|<!-- |
-->{{Character sheet/section | columns = {{#var:cols}} | -->{{Character sheet/section | columns = {{#var:cols}} | ||
| label1 = Members | | label1 = Members | ||
Line 76: | Line 78: | ||
ALLIES | ALLIES | ||
-->{{#arrayreset:dataarray}}<!-- | -->{{#arrayreset:dataarray}}<!-- | ||
− | -->{{#if: {{#arraydefine: dataarray | {{{allies|}}} | | + | -->{{#if: {{#arraydefine: dataarray | {{{allies|}}} | ; |print=list}}|<!-- |
-->{{Character sheet/section | columns = {{#var:cols}} | -->{{Character sheet/section | columns = {{#var:cols}} | ||
| label1 = Allies | | label1 = Allies | ||
Line 85: | Line 87: | ||
RIVALS | RIVALS | ||
-->{{#arrayreset:dataarray}}<!-- | -->{{#arrayreset:dataarray}}<!-- | ||
− | -->{{#if: {{#arraydefine: dataarray | {{{rivals|}}} | | + | -->{{#if: {{#arraydefine: dataarray | {{{rivals|}}} | ; |print=list}}|<!-- |
+ | -->{{#arrayunique: dataarray}}<!-- | ||
-->{{Character sheet/section | columns = {{#var:cols}} | -->{{Character sheet/section | columns = {{#var:cols}} | ||
| label1 = Rivals | | label1 = Rivals | ||
Line 95: | Line 98: | ||
RELATIONSHIPS | RELATIONSHIPS | ||
-->{{#arrayreset:dataarray}}<!-- | -->{{#arrayreset:dataarray}}<!-- | ||
− | -->{{#if: {{#arraydefine: dataarray | {{{relationships|}}} | | + | -->{{#if: {{#arraydefine: dataarray | {{{relationships|}}} | ; | print=list}}|<!-- |
-->{{Character sheet/section | columns = {{#var:cols}} | -->{{Character sheet/section | columns = {{#var:cols}} | ||
| label1 = Relationships | | label1 = Relationships | ||
Line 125: | Line 128: | ||
| name = {{#var: name }} | | name = {{#var: name }} | ||
| is a = Organization | | is a = Organization | ||
− | |||
}}<!-- | }}<!-- | ||
-->{{#if: {{{description|}}} | {{#set: description = {{{description}}} }} }}<!-- | -->{{#if: {{{description|}}} | {{#set: description = {{{description}}} }} }}<!-- | ||
Line 137: | Line 139: | ||
-->{{#if: {{{motivation|}}} | {{#set: motivation = {{{motivation}}} }} }}<!-- | -->{{#if: {{{motivation|}}} | {{#set: motivation = {{{motivation}}} }} }}<!-- | ||
− | -->[[Category: Organizations in {{#var:campaign}}]]<!-- | + | -->{{#if: {{#var: campaign}} | <!-- |
+ | -->{{#set: | ||
+ | | campaign = {{#var: campaign}} | ||
+ | | organization in campaign = {{#var: campaign}} | ||
+ | }}<!-- | ||
+ | -->[[Category: Organizations in {{#var:campaign}}]] }}<!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
Latest revision as of 01:13, 15 December 2012
[create]
Error creating thumbnail: File missing
Template documentation Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
Property: Name | |
---|---|