BMC-customer-segment

From SemanticOrganization
Revision as of 10:37, 25 August 2021 by Admin (talk | contribs) (Created page with "{{Semorg-generator |template-id=BCS |entity-name=Customer Segment |form-add-button-text=Add Customer Segment |form-unique-number=No |list-headers=bmc-customer-segment-name,bmc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Messages

"semorg-bmc-customer-segment-template": "semorg-bmc-customer-segment",
"semorg-form-bmc-customer-segment-add-button-text": "Add Customer Segment",

"semorg-form-bmc-customer-segment-template": "bmc-customer-segment",
"semorg-form-bmc-customer-segment-rows": "",
"semorg-list-bmc-customer-segment-headers": "bmc-customer-segment-name,bmc-customer-segment-target-group",

Form

Form:Semorg-bmc-customer-segment

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
   |create title={{int:semorg-form-bmc-customer-segment-create-title}}
   |edit title={{int:semorg-form-bmc-customer-segment-edit-title}}<span class="d-none">: <page name></span>
   |page name=
}}}

{{semorg-form-template|bmc-customer-segment}}
 
{{semorg-form-standard-inputs}}
</includeonly>

as embedded:

Use this code, if this is not meant to be a standalone feature but rather a supplement that should be embedded in other forms. Add this line to a form definition that includes a field with the parameter holds template. The second parameter of the semorg-form-template-embed call should be the target field, specified with <feature>[<field>] (e.g. meeting-group[files] or {{int:semorg-meeting-group-template}}[files] to respect template customization).

{{semorg-form-template-embed|bmc-customer-segment|}}

Category

Category:Semorg-bmc-customer-segment

{{semorg-category}}

Template

Template:Semorg-bmc-customer-segment

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-bmc-customer-segment-category}}]]{{#semorg-set:bmc-customer-segment
}}{{#semorg-detail:bmc-customer-segment}}{{#semorg-table:bmc-customer-segment
}}</includeonly>

Row Template

Template:Semorg-bmc-customer-segment-row

<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr>
<td>[[{{{target|}}}]]</td>
{{semorg-showedit
  |target={{{target|}}}
}}
</tr></includeonly>

Overview Page Template

Template:Semorg-bmc-customer-segment-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:bmc-customer-segment
  |heading={{int:semorg-bmc-customer-segment-page-name}}
  |formlink={{#semorg-forminput:bmc-customer-segment}}
  |links={{{links|}}}
  |query={{{query|}}}
  |sort={{{sort|}}}
  |order={{{order|}}}
  |limit={{{limit|}}}
  |filter links={{{filter links|}}}
  |filters={{{filters|}}}
  |category={{{category|}}}
  |headers={{{headers|}}}
  |row template={{{row template|}}}
  |tableclass={{{tableclass|}}}
  |title={{{title|}}}
  |sums={{{sums|}}}
  |csv={{{csv|}}}
  |default={{{default|}}}
  |returnto={{{returnto|}}}
  |help={{{help|}}}
}}</includeonly>

Overview Page

[[]]

{{semorg-bmc-customer-segment-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['bmc-customer-segment'] = [ "id" => "BCS","fields" => ["description" => [ "id" => "DE","type" => "txt" ],"bmc" => [ "id" => "BMC","type" => "wpg" ],"name" => [ "id" => "NA","type" => "txt" ],"target-group" => [ "id" => "TG","type" => "wpg" ],"institutions" => [ "id" => "IN","type" => "wpg" ],"people" => [ "id" => "PE","type" => "wpg" ], ] ];