Template:DisplayAttributeTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
1) model: | 1) model: | ||
2} attribute | 2} attribute | ||
3) format | |||
</pre> | </pre> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]] | -->{{#ifeq:{{{format|}}}|matrix | ||
| mainlabel=- | |{{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]] | ||
|? HasAttributeLabel=title | | mainlabel=- | ||
|? HasDefaultOption=standardoption | |? HasAttributeLabel=title | ||
|? HasSelectedOption=option | |? HasDefaultOption=standardoption | ||
|? HasSpecificOption=other | |? HasSelectedOption=option | ||
|? HasText=text | |? HasSpecificOption=other | ||
|? HasList=list | |? HasText=text | ||
|? HasAttributeComment=comment | |? HasList=list | ||
|format=template | |? HasAttributeComment=comment | ||
|template=DisplayItemTemplate | |format=template | ||
|named args=yes | |template=DisplayItemInMatrixTemplate | ||
|sep=; | |named args=yes | ||
}}</includeonly> | |sep=; | ||
}} | |||
|{{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]] | |||
| mainlabel=- | |||
|? HasAttributeLabel=title | |||
|? HasDefaultOption=standardoption | |||
|? HasSelectedOption=option | |||
|? HasSpecificOption=other | |||
|? HasText=text | |||
|? HasList=list | |||
|? HasAttributeComment=comment | |||
|format=template | |||
|template=DisplayItemTemplate | |||
|named args=yes | |||
|sep=; | |||
}} | |||
}} | |||
</includeonly> |
Revision as of 08:05, 31 August 2016
parameters: 1) model: 2} attribute 3) format