Template:DisplayAllFeaturesTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 10: Line 10:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<table class="wikitable">
<tr><th></th><!-- header row with models-->
{{#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>
Line 19: Line 16:
       |<td>{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]]
       |<td>{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]]
             |mainlabel=-     
             |mainlabel=-     
             |? HasSelectedOption=Selected option
             |? HasSelectedOption=    
             |? HasSpecificOption=Other
             |? HasSpecificOption=
             |? HasText=Text
             |? HasText=
             |? HasList=List
             |? HasList=
             |valuesep=;
             |valuesep=;
             |format=plainlist
             |format=plainlist
      }} </td>     
            |link=none
    |}}</tr>
            }} </td>     
|}}</table>
      |}}</tr>
|}}
</includeonly>
</includeonly>

Latest revision as of 10:35, 7 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.