Template:ExpertpageTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 8: Line 8:
|label
|label
|description
|description
|publication
}}
}}
</pre>
</pre>
Line 13: Line 14:
</noinclude><includeonly>__TOC__ __NOEDITSECTION__<!--
</noinclude><includeonly>__TOC__ __NOEDITSECTION__<!--
Parent content --><!--
Parent content --><!--
-->{{#ifeq:
-->{{#ifeq:{{#ask:[[-ExpertPageBelongsTo::{{FULLPAGENAME}}]]|format=list}}||
      {{#ask:[[-ExpertPageBelongsTo::{{FULLPAGENAME}}]]|format=list}}||
       |{{ExpertpageAggregateTemplate}}<!--
       |<div class="clearboth"></div>Extension of main page: <!--
-->}}<!--
      -->{{#ask:[[-ExpertPageBelongsTo::{{FULLPAGENAME}}]] |?HasLabel= |?HasDescription= |format=ul}}
Child content --><!--
  }}<!--
-->{{#ifeq:{{#ask:[[-HasParent::{{FULLPAGENAME}}]]|format=list}}||
-->{{#ifeq:
       |{{ExpertpageChildTemplate}}<!--
      {{#ask:[[HasParent::{{FULLPAGENAME}}]]|format=list}}||
-->}}<!--
      |Subpages: {{#ask:[[HasParent::{{FULLPAGENAME}}]]|?HasLabel=|?HasDescription=|format=ul}}
Properties--><!--
  }}<!--
child content --><!--
-->{{#ifeq:
      {{#ask:[[-HasParent::{{FULLPAGENAME}}]]|format=list}}||
       |<div class="parentbox">'''Is part of:'''{{#ask:[[-HasParent::{{FULLPAGENAME}}]]|format=ul}}
      Siblings: <ul>
      {{#arraymap:
          {{#ask:[[-HasParent::{{FULLPAGENAME}}]]|?-HasParent=|mainlabel=-|link=none}}
          |,|sibling
          |<li>[[sibling]]</li>
      |}}
      <div class="clearboth"></div>
  }}<!--
Properties--> <!--
-->{{#set:ExpertPageBelongsTo={{{BelongsTo|}}}
-->{{#set:ExpertPageBelongsTo={{{BelongsTo|}}}
       |HasParent={{#ifeq:{{{parent|}}}|||Expert:{{{parent|}}} }}
       |HasParent={{#ifeq:{{{parent|}}}|||Expert:{{{parent|}}} }}
       |HasLabel={{{label|}}}
       |HasLabel={{{label|}}}
       |HasDescription={{{description|}}}
       |HasDescription={{{description|}}}
      |HasKeyReference={{{publication|}}}|+sep=;
   }}<!--
   }}<!--
--></includeonly>
--></includeonly>

Latest revision as of 15:11, 6 March 2019

This is the "ExpertpageTemplate" template. It should be called in the following format:

{{ExpertpageTemplate
|parent=
|belongsTo
|label
|description
|publication
}}

Edit the page to see the template text.