Template: Semorg-generator: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 9: Line 9:
  {{#if:{{{form-add-button-text|}}}
  {{#if:{{{form-add-button-text|}}}
   |
   |
"semorg-{{lc:{{FULLPAGENAME}}}}-template": "semorg-{{lc:{{FULLPAGENAME}}}}",
  "semorg-form-{{lc:{{FULLPAGENAME}}}}-add-button-text": "{{{form-add-button-text}}}",
  "semorg-form-{{lc:{{FULLPAGENAME}}}}-add-button-text": "{{{form-add-button-text}}}",
   |
   |
Line 35: Line 36:
   |?Semorg-generator-field-id=
   |?Semorg-generator-field-id=
   |format=list
   |format=list
  |limit=1000
}}"
}}"
}}{{#if:{{{list-headers|}}}
}}{{#if:{{{list-headers|}}}
Line 44: Line 46:
   |?Semorg-generator-field-id=
   |?Semorg-generator-field-id=
   |format=list
   |format=list
  |limit=1000
}}|,|xxx|{{lc:{{FULLPAGENAME}}}}-xxx}}"
}}|,|xxx|{{lc:{{FULLPAGENAME}}}}-xxx}}"
}},{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
}},{{#ask:[[semorg-generator-field-template::{{FULLPAGENAME}}]]
Line 54: Line 57:
   |?Semorg-generator-field-suffix=field-suffix
   |?Semorg-generator-field-suffix=field-suffix
   |?Semorg-generator-field-help=field-help
   |?Semorg-generator-field-help=field-help
  |?Semorg-generator-field-input-type=field-input-type
  |?Semorg-generator-field-label=field-label
  |?Semorg-generator-field-values=field-values
  |?Semorg-generator-field-size=field-size
  |?Semorg-generator-field-placeholder=field-placeholder
  |?Semorg-generator-field-intro=field-intro
  |?Semorg-generator-field-rights=field-rights
   |?Semorg-generator-field-template.Semorg-generator-template-id=template-id
   |?Semorg-generator-field-template.Semorg-generator-template-id=template-id
   |?Semorg-generator-field-template.Semorg-generator-template-name=template-name
   |?Semorg-generator-field-template.Semorg-generator-template-name=template-name
  |sort=Semorg-generator-field-id
   |format=template
   |format=template
   |link=none
   |link=none
   |named args=yes
   |named args=yes
   |template=Semorg-generator-messages
   |template=Semorg-generator-messages
  |limit=1000
}}{{#if:{{{display-title-message|}}}
}}{{#if:{{{display-title-message|}}}
   |,
   |,
Line 99: Line 111:
[[Template:Semorg-{{lc:{{FULLPAGENAME}}}}]]
[[Template:Semorg-{{lc:{{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:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>-category}}]]{{#semorg-set:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?semorg-generator-field-id
   |?semorg-generator-field-id
   |template=Semorg-generator-setter
   |template=Semorg-generator-setter
   |format=template
   |format=template
  |limit=1000
}}
}}
  <nowiki>}}{{#semorg-detail:</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>}}{{#semorg-table:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
  <nowiki>}}{{#semorg-detail:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#if:{{{display-title|}}}|<nowiki>
  |</nowiki>heading={{{display-title}}}<nowiki>
</nowiki>}}<nowiki>}}{{#semorg-table:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?semorg-generator-field-id
   |?semorg-generator-field-id
   |template=Semorg-generator-setter
   |template=Semorg-generator-setter
   |format=template
   |format=template
  |limit=1000
}}
}}
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki></include<nowiki></nowiki>only>
</include<nowiki></nowiki>only>


=== Row Template ===
=== Row Template ===
Line 119: Line 134:


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>
  <nowiki><td>[[{{{?target|}}}]]</td></nowiki>{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
  <nowiki><td>[[{{{target|}}}]]</td></nowiki>{{#ask:[[Semorg-generator-field-template::{{FULLPAGENAME}}]]
     |?Semorg-generator-field-template=field-template
     |?Semorg-generator-field-template=field-template
     |?Semorg-generator-field-id=field-id
     |?Semorg-generator-field-id=field-id
Line 126: Line 141:
     |format=template
     |format=template
     |link=none
     |link=none
    |limit=1000
   }}
   }}
  <nowiki>{{semorg-showedit</nowiki>
  <nowiki>{{semorg-showedit</nowiki>
   |target=<nowiki>{{{?target|}}}</nowiki>
   |target=<nowiki>{{{target|}}}</nowiki>
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
  <nowiki></tr></nowiki></include<nowiki></nowiki>only>
  <nowiki></tr></nowiki></include<nowiki></nowiki>only>
Line 137: Line 153:


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly></nowiki>{{#if:{{{custom-overview-list|}}}
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly></nowiki>{{#if:{{{custom-overview-list|}}}
  |{{{custom-overview-list}}}
|{{{custom-overview-list}}}
  |<nowiki>{{</nowiki>#semorg-list:{{lc:{{FULLPAGENAME}}}}<nowiki>
|<nowiki>{{</nowiki>#semorg-list:{{lc:{{FULLPAGENAME}}}}<nowiki>
    |heading={{int:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>-page-name}}
  |heading={{int:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>-page-name}}
    |</nowiki>formlink={{#if:{{{form-page-name|}}}
  |</nowiki>formlink={{#if:{{{form-page-name|}}}
  |<nowiki>{{#semorg-formlink:</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>}}</nowiki>
  |<nowiki>{{#semorg-formlink:</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>}}</nowiki>
  |<nowiki>{{#semorg-forminput:</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>}}</nowiki>
  |<nowiki>{{#semorg-forminput:</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>}}</nowiki>
}}
  }}
  <nowiki>}}</nowiki>
  <nowiki> |links={{{links|}}}
  |query={{{query|}}}
  |sort={{{sort|}}}
  |order={{{order|}}}
  |limit={{{limit|}}}
  |filter links={{{filter links|}}}
  |filters={{{filters|}}}
  |category={{{category|}}}
  |headers={{{headers|}}}
  |row template={{{row template|}}}
  |tableclass={{{tableclass|}}}
  |title={{{title|}}}
  |sums={{{sums|}}}
  |csv={{{csv|}}}
  |default={{{default|}}}
  |returnto={{{returnto|}}}
  |help={{{help|}}}
}}</nowiki>
}}</include<nowiki></nowiki>only>
}}</include<nowiki></nowiki>only>


Line 165: Line 198:
       |template=semorg-generator-register-property-field
       |template=semorg-generator-register-property-field
       |format=template
       |format=template
      |limit=1000
       }} <nowiki>]</nowiki> <nowiki>]</nowiki>;
       }} <nowiki>]</nowiki> <nowiki>]</nowiki>;


</includeonly>
</includeonly>

Latest revision as of 15:34, 14 March 2023

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