Template:DisplayAttributeTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
parameters:
parameters:
1) model:  
1) model:  
2} attribute
</pre>
</pre>
</noinclude><includeonly>
</noinclude><includeonly>
Line 7: Line 8:
''Model documentation: [[Non-climate sustainability dimension - {{{model|}}}]]''
''Model documentation: [[Non-climate sustainability dimension - {{{model|}}}]]''
<div class="toccolours">
<div class="toccolours">
{{DisplayItemTemplate_var
{{#arraymap:
|title={{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::Other resources]]|?HasAttributeLabel=|mainlabel=-}}:
{{#ask:[[IsAttributeOfModel::IMAGE-Test]][[HasAttributeLabel::Other resources]]|link=none}}
|standardoption={{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::Other resources]]|? HasDefaultOption=|mainlabel=-|sep=;|link=none}}
|;|subobj
|option={{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::Other resources]]|? HasSelectedOption=|mainlabel=-|sep=;|link=none}}
|{{DisplayItemTemplate_var
|other={{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::Other resources]]|? HasSpecificOption=|mainlabel=-|sep=;|link=none}}
  |title={({attribute|}}}:
|comment={{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::Other resources]]|? HasAttributeComment=|mainlabel=-|link=none}}
  |standardoption={{#show:subobj||? HasDefaultOption|sep=;}}
}}
  |option={{#show:subobj|? HasSelectedOption|sep=;}}
<div style="clear:both">
  |other={{#show:subobj|? HasSpecificOption=|sep=;}}
  |comment={{#show:subobj|? HasAttributeComment=|sep=;}}
  }}
}}<div style="clear:both">
</div></div></includeonly>
</div></div></includeonly>

Revision as of 17:57, 26 August 2016

parameters:
1) model: 
2} attribute