Template: Semorg-generator: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
Line 160: | Line 160: | ||
Add the following line to <code>LocalSettings.php</code>: | Add the following line to <code>LocalSettings.php</code>: | ||
$wgSemorgAdditionalFeatureProperties['{{lc:{{FULLPAGENAME}}}}'] = {{#ask:[[{{ | $wgSemorgAdditionalFeatureProperties['{{lc:{{FULLPAGENAME}}}}'] = <nowiki>[</nowiki> "id" => "{{{?template-id|}}}","fields" => <nowiki>[</nowiki>{{#ask:[[Semorg-generator-field-template::{{{?template|}}}]][[Semorg-generator-field-property-id::+]] | ||
|mainlabel=field | |||
|?Semorg-generator-field-id=field-id | |||
|?Semorg-generator-field-property-id=field-property-id | |||
|?Semorg-generator-field-type=field-type | |||
|named args=yes | |||
|template=semorg-generator-register-property-field | |||
|format=template | |||
}} <nowiki>]</nowiki> <nowiki>]</nowiki>; | |||
}}; | |||
</includeonly> | </includeonly> |
Revision as of 10:59, 1 March 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