Template: Semorg-generator: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 88: Line 88:
'''as embedded:'''
'''as embedded:'''


add this line to a form definition that includes a field with the parameter <code>holds template</code>. The second parameter of the <code>semorg-form-template-embed</code> call should be the target field, specified with <code>''<feature>''[''<field>'']</code> (e.g. <code>meeting[files]</code> or ).
add this line to a form definition that includes a field with the parameter <code>holds template</code>. The second parameter of the <code>semorg-form-template-embed</code> call should be the target field, specified with <code>''<feature>''[''<field>'']</code> (e.g. <code>meeting[files]</code> or <code><nowiki>{{int:semorg-meeting-group-template}}[files]</nowiki></code> to respect template customization).


  <nowiki>{{semorg-form-template-embed|</nowiki>{{lc:{{FULLPAGENAME}}}}|{{{embed-field|}}}<nowiki>}}</nowiki>
  <nowiki>{{semorg-form-template-embed|</nowiki>{{lc:{{FULLPAGENAME}}}}|{{{embed-field|}}}<nowiki>}}</nowiki>

Revision as of 18:12, 28 February 2021

This page is part of the Semantic Organization extension.

If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-generator-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-generator-template