Difference between revisions of "Template:Semorg-generator"

From SemanticOrganization
Jump to: navigation, search
Line 28: Line 28:
 
   |?field-id=
 
   |?field-id=
 
   |format=list
 
   |format=list
}}",
+
}}"{{#if:{{{rows|}}}
 +
  |,
 +
"semorg-form-{{lc:{{FULLPAGENAME}}}}-rows": "{{{rows}}}"
 +
}},
 
  "semorg-list-{{lc:{{FULLPAGENAME}}}}-headers": "{{#arraymap:{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
 
  "semorg-list-{{lc:{{FULLPAGENAME}}}}-headers": "{{#arraymap:{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
 
   |mainlabel=-
 
   |mainlabel=-
Line 50: Line 53:
 
   |,
 
   |,
 
  "semorg-{{lc:{{FULLPAGENAME}}}}-displaytitle": "{{{display-title-message}}}"
 
  "semorg-{{lc:{{FULLPAGENAME}}}}-displaytitle": "{{{display-title-message}}}"
 +
}}{{#if:{{{list-headers|}}}
 +
  |,
 +
"semorg-list-{{lc:{{FULLPAGENAME}}}}-headers": "{{{list-headers}}}"
 
}}
 
}}
  

Revision as of 11:15, 31 October 2018

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