Project-research
From SemanticOrganization
Messages
"semorg-project-research-template": "semorg-project-research", "semorg-project-research-category": "semorg-project-research", "semorg-project-research-form": "semorg-project-research", "semorg-project-research-page-name": "Research Projects", "semorg-project-research-entity-name": "Research Project", "semorg-form-project-research-create-title": "Create Research Project", "semorg-form-project-research-edit-title": "Edit Research Project", "semorg-form-project-research-page-name": "Research Projects", "semorg-form-project-research-template": "project-research", "semorg-form-project-research-rows": "title,homepage,description,run-time,partners,team", "semorg-list-project-research-headers": "project-title,project-run-time,project-partners",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-project-research-create-title}} |edit title={{int:semorg-form-project-research-edit-title}}<span class="d-none">: <page name></span> |page name={{int:semorg-form-project-research-page-name}}/<unique number;start=1> }}} {{semorg-form-template|project-research}} {{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|project-research|}}
Category
Category:Semorg-project-research
{{semorg-category}}
Template
Template:Semorg-project-research
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-project-research-category}}]]{{#semorg-set:project-research }}{{#semorg-detail:project-research}}{{#semorg-table:project-research }}</includeonly>
Row Template
Template:Semorg-project-research-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-project-research-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:project-research |heading={{int:semorg-project-research-page-name}} |formlink={{#semorg-formlink:project-research}} |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-project-research-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['project-research'] = [ "id" => "PR","fields" => [ ] ];