Template: Semorg-generator: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 32: Line 32:
   |format=list
   |format=list
}}"
}}"
}},
}}{{#if:{{{list-headers|}}}
  |,
"semorg-list-{{lc:{{FULLPAGENAME}}}}-headers": "{{{list-headers}}}"
  |
  "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=-
   |?Semorg-generator-field-id=
   |?Semorg-generator-field-id=
   |format=list
   |format=list
}}|,|xxx|{{lc:{{FULLPAGENAME}}}}-xxx}}",{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
}}|,|xxx|{{lc:{{FULLPAGENAME}}}}-xxx}}"
}},{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
   |?Semorg-generator-field-id=field-id
   |?Semorg-generator-field-id=field-id
   |?Semorg-generator-field-property-id=field-property-id
   |?Semorg-generator-field-property-id=field-property-id
Line 52: Line 56:
   |template=Semorg-generator-messages
   |template=Semorg-generator-messages
}}{{#if:{{{display-title-message|}}}
}}{{#if:{{{display-title-message|}}}
   | 
   |,
  "semorg-{{lc:{{FULLPAGENAME}}}}-displaytitle": "{{{display-title-message}}}",
  "semorg-{{lc:{{FULLPAGENAME}}}}-displaytitle": "{{{display-title-message}}}"
}}{{#if:{{{list-headers|}}}
  | 
"semorg-list-{{lc:{{FULLPAGENAME}}}}-headers": "{{{list-headers}}}",
}}
}}


=== Category ===
=== Category ===


[[:Category:Semorg-{{lc:{{FULLPAGENAME}}}}]]
<code>Category:Semorg-{{lc:{{FULLPAGENAME}}}}</code>


  <nowiki>{{semorg-category}}</nowiki>
  <nowiki>{{semorg-category}}</nowiki>
Line 67: Line 68:
=== Form ===
=== Form ===


[[Form:Semorg-{{lc:{{FULLPAGENAME}}}}]]
<code>Form:Semorg-{{lc:{{FULLPAGENAME}}}}</code>


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
Line 92: Line 93:
=== Template ===
=== Template ===


[[Template:Semorg-{{lc:{{FULLPAGENAME}}}}]]
<code>Template:Semorg-{{lc:{{FULLPAGENAME}}}}</code>


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>-category}}]]</nowiki>{{#if:{{{display-title|}}}|<nowiki>{{DISPLAYTITLE:</nowiki>{{{display-title}}}<nowiki>}}</nowiki>}}<nowiki>{{#semorg-set:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>-category}}]]</nowiki>{{#if:{{{display-title|}}}|<nowiki>{{DISPLAYTITLE:</nowiki>{{{display-title}}}<nowiki>}}</nowiki>}}<nowiki>{{#semorg-set:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[field-template::{{FULLPAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?semorg-generator-field-id
   |?field-id
   |template=Semorg-generator-setter
   |template=Semorg-generator-setter
   |format=template
   |format=template
Line 104: Line 105:
  <nowiki>{{#semorg-table:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
  <nowiki>{{#semorg-table:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?semorg-generator-field-id
   |?field-id
   |template=Semorg-generator-setter
   |template=Semorg-generator-setter
   |format=template
   |format=template
Line 113: Line 114:
=== Row Template ===
=== Row Template ===


[[Template:Semorg-{{lc:{{FULLPAGENAME}}}}-row]]
<code>Template:Semorg-{{lc:{{FULLPAGENAME}}}}-row</code>


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>

Revision as of 13:22, 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