Template: Semorg-generator: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#set:
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:Semorg-generator-category}}]]{{#semorg-set:generator
   |template-name={{lc:{{FULLPAGENAME}}}}
   |template-name={{lc:{{FULLPAGENAME}}}}
   |template-id={{{template-id|}}}
   |template-id={{{template-id|}}}
   |form-page-name={{{form-page-name|}}}
   |form-page-name={{{form-page-name|}}}
}}[[Category:Generator]]
}}
{{{template-fields|}}}
{{{template-fields|}}}
=== Property Registration ===
{{#ask:[[field-template::{{FULLPAGENAME}}]]
  |?field-id=field-id
  |?field-property-id=field-property-id
  |?field-type=field-type
  |?field-template.template-id=template-id
  |?field-template.template-name=template-name
  |format=template
  |link=none
  |named args=yes
  |template=Generator-property-registration
}}


=== Messages ===
=== Messages ===
Line 43: Line 29:
   |format=list
   |format=list
}}",
}}",
  "semorg-list-{{lc:{{FULLPAGENAME}}}}-headers": "{{#arraymap:{{#ask:[[field-template::{{FULLPAGENAME}}]]
  "semorg-list-{{lc:{{FULLPAGENAME}}}}-headers": "{{#arraymap:{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?field-id=
   |?Semorg-generator-field-id=
   |format=list
   |format=list
}}|,|xxx|{{lc:{{FULLPAGENAME}}}}-xxx}}",{{#ask:[[field-template::{{FULLPAGENAME}}]]
}}|,|xxx|{{lc:{{FULLPAGENAME}}}}-xxx}}",{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
   |?field-id=field-id
   |?Semorg-generator-field-id=field-id
   |?field-property-id=field-property-id
   |?Semorg-generator-field-property-id=field-property-id
   |?field-name=field-name
   |?Semorg-generator-field-name=field-name
   |?field-fields=field-fields
   |?Semorg-generator-field-fields=field-fields
   |?field-parameters=field-parameters
   |?Semorg-generator-field-parameters=field-parameters
   |?field-prefix=field-prefix
   |?Semorg-generator-field-prefix=field-prefix
   |?field-suffix=field-suffix
   |?Semorg-generator-field-suffix=field-suffix
   |?field-template.template-id=template-id
   |?Semorg-generator-field-template.Semorg-generator-template-id=template-id
   |?field-template.template-name=template-name
   |?Semorg-generator-field-template.Semorg-generator-template-name=template-name
   |format=template
   |format=template
   |link=none
   |link=none
   |named args=yes
   |named args=yes
   |template=Generator-messages
   |template=Semorg-generator-messages
}}
}}


Line 101: Line 87:
   |mainlabel=-
   |mainlabel=-
   |?field-id
   |?field-id
   |template=Generator-setter
   |template=Semorg-generator-setter
   |format=template
   |format=template
}}
}}
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
   
   
  <nowiki>{{#semorg-table:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[field-template::{{FULLPAGENAME}}]]
  <nowiki>{{#semorg-table:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?field-id
   |?field-id
   |template=Generator-setter
   |template=Semorg-generator-setter
   |format=template
   |format=template
}}
}}
Line 120: Line 106:


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>
  <nowiki><td>{{{?target|}}}</td></nowiki>{{#ask:[[field-template::{{FULLPAGENAME}}]]
  <nowiki><td>{{{?target|}}}</td></nowiki>{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
     |?field-template=field-template
     |?Semorg-generator-field-template=field-template
     |?field-id=field-id
     |?Semorg-generator-field-id=field-id
     |template=Generator-row-field
     |template=Semorg-generator-row-field
     |named args=yes
     |named args=yes
     |format=template
     |format=template

Revision as of 09:37, 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