Project-team-external: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
(Created page with "{{Semorg-generator |template-id=PTE |form-add-button-text=Add external team member |form-unique-number=No |rows=oneliner-external |form-template=project-team }}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Semorg-generator
{{Semorg-generator
|template-id=PTE
|form-add-button-text=Add external team member
|form-add-button-text=Add external team member
|form-unique-number=No
|form-unique-number=No

Latest revision as of 17:06, 27 May 2019


Messages

"semorg-project-team-external-template": "semorg-project-team-external",
"semorg-form-project-team-external-add-button-text": "Add external team member",

"semorg-form-project-team-external-template": "project-team",
"semorg-form-project-team-external-rows": "oneliner-external",
"semorg-list-project-team-external-headers": "",

Form

Form:Semorg-project-team-external

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

{{semorg-form-template|project-team-external}}
 
{{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-team-external|}}

Category

Category:Semorg-project-team-external

{{semorg-category}}

Template

Template:Semorg-project-team-external

<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-project-team-external-category}}]]{{#semorg-set:project-team-external
}}{{#semorg-detail:project-team-external}}{{#semorg-table:project-team-external
}}</includeonly>

Row Template

Template:Semorg-project-team-external-row

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

Overview Page Template

Template:Semorg-project-team-external-overview

<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:project-team-external
  |heading={{int:semorg-project-team-external-page-name}}
  |formlink={{#semorg-forminput:project-team-external}}
  |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-team-external-overview}}

Property Registration

Add the following line to LocalSettings.php:

$wgSemorgAdditionalProperties['project-team-external'] = [ "id" => "","fields" => [ ] ];