Template:DisplayAttributeTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
  {{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]]|link=none}}
  {{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]]|link=none}}
  |;|subobj
  |;|subobj
  |{{DisplayItemTemplate_var
  |{{DisplayItemTemplate
   |title={{{attribute|}}}:
   |title={{{attribute|}}}:
   |standardoption={{#show:subobj||? HasDefaultOption|sep=;}}
   |standardoption={{#show:subobj||? HasDefaultOption|sep=;}}

Revision as of 15:37, 27 August 2016

parameters:
1) model: 
2} attribute
todo: make 1 query and send all information to DisplayItemTemplate via format=template