Template:DisplayAllFeaturesTemplate: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
Line 15: | Line 15: | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr><th></th><!-- header row with models--> | <tr><th></th><!-- header row with models--> | ||
{{#arraymap: | {{#arraymap:{{#ask:[[Category:Model]]|format=plainlist|link=none|sep=;}}|;|mdl|<th>mdl</th>|}}</tr> | ||
{{#arraymap:{{{feature|}}} | {{#arraymap:{{{feature|}}}|;|attr<!-- header of a feature row--> | ||
|<tr><th>attr</th> | |||
|<tr><th> | {{#arraymap:{{#ask:[[Category:Model]]|format=plainlist|link=none|sep=;}} | ||
{{#arraymap: | |||
|;|mdl | |;|mdl | ||
|{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]] | |<td>{{#ask:[[-Has subobject::mdl]][[BelongsToGroup::{{{group|}}}]][[HasAttributeLabel::attr]] | ||
|mainlabel=- | |mainlabel=- | ||
|? HasSelectedOption=option | |? HasSelectedOption=option | ||
|? HasSpecificOption=other | |? HasSpecificOption=other | ||
|? HasText=text | |? HasText=text | ||
|? HasList=list | |? HasList=list | ||
|valuesep=; | |valuesep=; | ||
|format=plainlist | |format=plainlist | ||
}} </td> | |||
}} | |||
|}}</tr> | |}}</tr> | ||
|}}</table> | |}}</table> | ||
</includeonly> | </includeonly> |
Revision as of 15:36, 5 November 2021
This is the "DisplayAllFeaturesTemplate" template. It should be called in the following format:
{{DisplayAllFeaturesTemplate |group |feature |ftrPage |userparam=model }}
Edit the page to see the template text.