Template: Semorg-generator: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
Line 97: Line 97:
<code>Template:Semorg-{{lc:{{FULLPAGENAME}}}}</code>
<code>Template:Semorg-{{lc:{{FULLPAGENAME}}}}</code>


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>]]{{#semorg-set:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[field-template::{{FULLPAGENAME}}]]
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>-category}}]]{{#semorg-set:</nowiki>{{lc:{{FULLPAGENAME}}}}{{#ask:[[field-template::{{FULLPAGENAME}}]]
   |mainlabel=-
   |mainlabel=-
   |?field-id
   |?field-id
Line 113: Line 113:
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
  </include<nowiki></nowiki>only>
  </include<nowiki></nowiki>only>
=== List Template ===
<code>Template:Semorg-{{lc:{{FULLPAGENAME}}}}-list</code>
<nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#ask:[[Category:semorg-</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>]]</nowiki>
  |mainlabel={{lc:{{FULLPAGENAME}}}}{{#ask:[[field-template::{{FULLPAGENAME}}]]
    |?field-template=field-template
    |?field-id=field-id
    |template=Generator-list-field
    |named args=yes
    |format=template
    |link=none
  }}
  |link=none
  |named args=yes
  |format=template
  |template=semorg-{{lc:{{FULLPAGENAME}}}}-row
  |intro=<nowiki>{{semorg-list-intro</nowiki>|columns={{#ask:[[field-template::{{FULLPAGENAME}}]]
  |mainlabel=-
  |?field-id=field-id
  |?field-template.template-name=template-name
  |named args=true
  |link=none
  |template=Generator-list-columns
  |format=list
}}<nowiki>}}</nowiki>
  |outro=<nowiki>{{semorg-list-outro}}</nowiki>
<nowiki>}}</nowiki></include<nowiki></nowiki>only>


=== Row Template ===
=== Row Template ===
Line 149: Line 119:


  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>
  <nowiki><noinclude>{{semorg-bundle}}</noinclude><includeonly><tr></nowiki>
  <nowiki><td>{{{?</nowiki>{{lc:{{FULLPAGENAME}}}}<nowiki>|}}}</td></nowiki>{{#ask:[[field-template::{{FULLPAGENAME}}]]
  <nowiki><td>{{{?target|}}}</td></nowiki>{{#ask:[[field-template::{{FULLPAGENAME}}]]
     |?field-template=field-template
     |?field-template=field-template
     |?field-id=field-id
     |?field-id=field-id

Revision as of 13:46, 13 September 2018

This is the "Generator" template.