Template:Infobox Other stakeholder: Difference between revisions

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 12: Line 12:


  | label2 = Stakeholder Type
  | label2 = Stakeholder Type
  | data2 = {{#if:{{{stakeholder_type|}}}|{{{stakeholder_type}}}}}
  | data2 = {{#if:{{{stakeholder_type|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{stakeholder_type|}}}}}}}


  | label3 = Website
  | label3 = Website
Line 23: Line 23:
  | data5 = {{#if:{{{other_offices|}}}|{{{other_offices}}}}}
  | data5 = {{#if:{{{other_offices|}}}|{{{other_offices}}}}}
   
   
  | label6 = Associated Vertical(s)
  | label6 = Vertical(s)
  | data6 = {{#if:{{{verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{verticals|}}}}}}}  
  | data6 = {{#if:{{{verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{verticals|}}}}}}}  


}}<includeonly>[[Category:Other_stakeholders]]</includeonly>{{#if:{{{stakeholder_type|}}}|
  {{#invoke:ListUtils|propsOnly
    | list = {{{stakeholder_type}}}
    | property = HasStakeholder Type
  }}
}}{{#if:{{{headquarters|}}}|
  {{#set: HasHeadquarters={{{headquarters}}} }}
}}{{#if:{{{verticals|}}}|
  {{#invoke:ListUtils|catsAndProps
    | list = {{{verticals}}}
    | property = HasVertical
  }}
}}{{#if:{{{status|}}}|
  {{#set: HasStatus={{{status}}} }}
}}
}}


Line 86: Line 100:
"type": "string"
"type": "string"
},
},
"associated_verticals": {
"verticals": {
"label": "Associated verticals",
"label": "Associated verticals",
"description": "The verticals that the stakeholder is involved in. Refer to page:List of Verticals.",
"description": "The verticals that the stakeholder is involved in. Refer to page:List of Verticals.",
Line 94: Line 108:
   },
   },


   "paramOrder": ["status", "logo", "stakeholder_type", "website", "headquarters", "other_offices", "associated_verticals"]
   "paramOrder": ["status", "logo", "stakeholder_type", "website", "headquarters", "other_offices", "verticals"]
}
}


</templatedata>
</templatedata>
</noinclude>
</noinclude>