Template:DisplayAllFeaturesTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<h2>{{{group|}}}</h2>
<table class="wikitable">
<table class="wikitable">
<tr><th></th><!-- header row with models-->
<tr><th></th><!-- header row with models-->
{{#arraymap:{{#ask:[[Category:Model]]|format=plainlist|link=none|sep=;}}|;|mdl|<th>mdl</th>|}}</tr>
{{#arraymap:{{#ask:[[Category:Model]]|format=plainlist|link=none|sep=;}}|;|mdl|<th>mdl</th>|}}</tr>
{{#arraymap:{{{feature|}}}|;|attr<!-- header of a feature row-->
{{#arraymap:{{{feature|}}}|;|attr<!-- header of a feature row-->
   |<tr><th>({{{group|}}}-attr</th>
   |<tr><th>{{{group|}}}-attr</th>
     {{#arraymap:{{#ask:[[Category:Model]]|format=plainlist|link=none|sep=;}}
     {{#arraymap:{{#ask:[[Category:Model]]|format=plainlist|link=none|sep=;}}
       |;|mdl
       |;|mdl
       |<td>{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]]
       |<td>{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]]
             |mainlabel=-     
             |mainlabel=-     
             |? HasSelectedOption=option
             |? HasSelectedOption=Selected option
             |? HasSpecificOption=other
             |? HasSpecificOption=Other
             |? HasText=text
             |? HasText=Text
             |? HasList=list
             |? HasList=List
             |valuesep=;
             |valuesep=;
             |format=plainlist
             |format=plainlist

Revision as of 16:52, 5 November 2021

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

{{DisplayAllFeaturesTemplate
|group
|feature
}}

Edit the page to see the template text.