Template:ExpertpageTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
-->{{#ifeq:
-->{{#ifeq:
       {{#ask:[[-ExpertPageBelongsTo::{{FULLPAGENAME}}]]|format=list}}||
       {{#ask:[[-ExpertPageBelongsTo::{{FULLPAGENAME}}]]|format=list}}||
       |<div class="clearboth"></div>Extension of main page: <!--
       |<div class="clearboth"></div>Extension of module: <!--
       -->{{#ask:[[-ExpertPageBelongsTo::{{FULLPAGENAME}}]] |?HasLabel= |?HasDescription= |format=ul}}
       -->{{#ask:[[-ExpertPageBelongsTo::{{FULLPAGENAME}}]] |?HasLabel= |?HasDescription= |format=ul}}
   }}<!--
   }}<!--
Line 23: Line 23:
       |Subpages: {{#ask:[[HasParent::{{FULLPAGENAME}}]]|?HasLabel=|?HasDescription=|format=ul}}
       |Subpages: {{#ask:[[HasParent::{{FULLPAGENAME}}]]|?HasLabel=|?HasDescription=|format=ul}}
   }}<!--
   }}<!--
child content --><!--
Child content --><!--
-->{{#ifeq:
-->{{#ifeq:
       {{#ask:[[-HasParent::{{FULLPAGENAME}}]]|format=list}}||
       {{#ask:[[-HasParent::{{FULLPAGENAME}}]]|format=list}}||
       |<div class="parentbox">'''Is part of subpages of:'''{{#ask:[[-HasParent::{{FULLPAGENAME}}]]|format=ul}}
       |<div class="parentbox">'''Is part of subpages of:'''{{#ask:[[-HasParent::{{FULLPAGENAME}}]]|format=ul}}
       '''Siblings:''' <ul>
       '''Siblings:'''  
      {{#arraymap:
           {{#ask:[[-HasParent::{{FULLPAGENAME}}]]
           {{#ask:[[-HasParent::{{FULLPAGENAME}}]]|?-HasParent=|mainlabel=-|link=none}}
            |?-HasParent=
          |,|sibling
            |mainlabel=-
           |<li>[[sibling]]</li>
            |link=none
      |}}
            |format=ul
            |template=DisplayExpertSiblingTemplate
           }}
       <div class="clearboth"></div>
       <div class="clearboth"></div>
   }}<!--
   }}<!--

Revision as of 11:00, 5 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.