BMC: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 64: | Line 64: | ||
|name=Revenue Streams | |name=Revenue Streams | ||
|type=txt | |type=txt | ||
}}{{semorg-generator-field | |||
|id=current | |||
|property-id=CU | |||
|type=boo | |||
}} | }} | ||
}} | }} |
Latest revision as of 11:50, 25 August 2021
Messages
"semorg-bmc-template": "semorg-bmc", "semorg-bmc-category": "semorg-bmc", "semorg-bmc-form": "semorg-bmc", "semorg-bmc-page-name": "Business Model Canvases", "semorg-bmc-entity-name": "Business Model Canvas", "semorg-form-bmc-create-title": "Create Business Model Canvas", "semorg-form-bmc-edit-title": "Edit Business Model Canvas", "semorg-form-bmc-page-name": "BMC", "semorg-form-bmc-template": "bmc", "semorg-form-bmc-rows": "", "semorg-list-bmc-headers": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-bmc-create-title}} |edit title={{int:semorg-form-bmc-edit-title}}<span class="d-none">: <page name></span> |page name={{int:semorg-form-bmc-page-name}}/<unique number;start=1> }}} {{semorg-form-template|bmc}} {{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|}}
Category
{{semorg-category}}
Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-bmc-category}}]]{{#semorg-set:bmc }}{{#semorg-detail:bmc |heading={{{title}}} }}{{#semorg-table:bmc }}</includeonly>
Row Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:bmc |heading={{int:semorg-bmc-page-name}} |formlink={{#semorg-formlink:bmc}} |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-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['bmc'] = [ "id" => "BMC","fields" => ["key-partners" => [ "id" => "KP","type" => "txt" ],"project" => [ "id" => "PR","type" => "wpg" ],"cost-structure" => [ "id" => "CO","type" => "txt" ],"revenue-streams" => [ "id" => "RS","type" => "txt" ],"description" => [ "id" => "DE","type" => "txt" ],"value-propositions" => [ "id" => "VP","type" => "txt" ],"key-activities" => [ "id" => "KA","type" => "txt" ],"key-resources" => [ "id" => "KR","type" => "txt" ],"channels" => [ "id" => "CH","type" => "txt" ],"customer-relationships" => [ "id" => "CR","type" => "txt" ],"current" => [ "id" => "CU","type" => "boo" ],"title" => [ "id" => "TI","type" => "txt" ], ] ];