Template:DisplayAllFeaturesTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
en>Rineke Oostenrijk
No edit summary
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:
|group
|group
|feature
|feature
|ftrPage
|userparam=model
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<h2>{{{group|}}}</h2>
{{#arraymap:{{{feature|}}}|;|attr<!-- header of a feature row-->
<table class="wikitable">
   |<tr><th>{{{group|}}}-attr</th>
<tr><th></th><!-- header row with models-->
     {{#arraymap:{{#ask:[[Category:Model]]|format=plainlist|link=none|sep=;}}
{{#arraymap:{{{#userparam|}}}|;|mdl|<th>mdl</th>|}}</tr>
{{#arraymap:{{{feature|}}}
  |;|attr<!-- header of a feature row-->
   |<tr><th>{{GetFeatureLabelTemplate|featurePage={{{ftrPage|}}}|feature=attr}}</th>
     {{#arraymap:{{{#userparam|}}} <!-- for each model de feature content -->
       |;|mdl
       |;|mdl
       |{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]]
       |<td>{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]]
             |mainlabel=-     
             |mainlabel=-     
            |? HasAttributeLabel=title
             |? HasSelectedOption=    
            |? HasDefaultOption=standardoption
             |? HasSpecificOption=
             |? HasSelectedOption=option
             |? HasText=
             |? HasSpecificOption=other
             |? HasList=
             |? HasText=text
             |? HasList=list
            |? HasAttributeComment=comment
            |? HasSequence-
            |sort=HasSequence
             |valuesep=;
             |valuesep=;
            |named args=yes
             |format=plainlist
             |format=plainlist
             |template=DisplayItemInMatrixTemplate
             |link=none
      }}    
            }} </td>   
    |}}</tr>
      |}}</tr>
|}}</table>
|}}
</includeonly>
</includeonly>

Latest revision as of 11: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.